Home
last modified time | relevance | path

Searched refs:addAssertion (Results 1 – 7 of 7) sorted by relevance

/platform_testing/libraries/flicker/src/android/tools/flicker/subject/region/
DRegionTraceSubject.kt51 addAssertion("isHigherOrEqual($other, $componentsAsString)") { it.isHigherOrEqual(other) } in isHigherOrEqual()
59 addAssertion("isLowerOrEqual($other, $componentsAsString)") { it.isLowerOrEqual(other) } in isLowerOrEqual()
64 addAssertion("isToTheRight($other, $componentsAsString)") { it.isToTheRight(other) } in <lambda>()
72 addAssertion("isHigher($other, $componentsAsString)") { it.isHigher(other) } in isHigher()
80 addAssertion("isLower($other, $componentsAsString)") { it.isLower(other) } in isLower()
85 addAssertion("coversAtMost($other, $componentsAsString") { it.coversAtMost(other) } in <lambda>()
93 addAssertion("notBiggerThan($other, $componentsAsString") { it.notBiggerThan(other) } in coversAtMost()
98 addAssertion("isToTheRightBottom($other, $componentsAsString") { in <lambda>()
105 addAssertion("regionsCenterPointInside($other, $componentsAsString") { in <lambda>()
112 addAssertion("coversAtLeast($other, $componentsAsString)") { it.coversAtLeast(other) } in <lambda>()
[all …]
/platform_testing/libraries/flicker/src/android/tools/flicker/subject/wm/
DWindowManagerTraceSubject.kt122 addAssertion("notContains(${componentMatcher.toWindowIdentifier()})", isOptional) { in <lambda>()
137 addAssertion( in <lambda>()
155 addAssertion( in <lambda>()
173 addAssertion( in <lambda>()
191 addAssertion( in <lambda>()
209 addAssertion( in <lambda>()
227 addAssertion( in <lambda>()
244 addAssertion("isAppWindowOnTop(${componentMatcher.toWindowIdentifier()})", isOptional) { in <lambda>()
259 addAssertion("appWindowNotOnTop(${componentMatcher.toWindowIdentifier()})", isOptional) { in <lambda>()
274 addAssertion("isAppWindowVisible(${componentMatcher.toWindowIdentifier()})", isOptional) { in <lambda>()
[all …]
/platform_testing/libraries/flicker/src/android/tools/flicker/subject/layers/
DLayersTraceSubject.kt126 addAssertion("notContains(${componentMatcher.toLayerIdentifier()})", isOptional) { in <lambda>()
138 addAssertion("contains(${componentMatcher.toLayerIdentifier()})", isOptional) { in <lambda>()
150 addAssertion("isVisible(${componentMatcher.toLayerIdentifier()})", isOptional) { in <lambda>()
162 addAssertion("isInvisible(${componentMatcher.toLayerIdentifier()})", isOptional) { in <lambda>()
174 addAssertion("hasColor(${componentMatcher.toLayerIdentifier()})") { in <lambda>()
181 addAssertion("hasNoColor(${componentMatcher.toLayerIdentifier()})") { in <lambda>()
189 addAssertion("hasRoundedCorners(${componentMatcher.toLayerIdentifier()})") { in <lambda>()
199 addAssertion( in <lambda>()
245 addAssertion("containAtLeastOneDisplay", isOptional = false) { in <lambda>()
255 ): LayersTraceSubject = apply { addAssertion(name, isOptional, assertion) } in <lambda>()
/platform_testing/libraries/flicker/src/android/tools/flicker/subject/inputmethod/
DInputMethodManagerServiceTraceSubject.kt66 ): InputMethodManagerServiceTraceSubject = apply { addAssertion(name, isOptional, assertion) } in invoke()
DImeClientTraceSubject.kt61 ): ImeClientTraceSubject = apply { addAssertion(name, isOptional, assertion) } in invoke()
DInputMethodServiceTraceSubject.kt61 ): InputMethodServiceTraceSubject = apply { addAssertion(name, isOptional, assertion) } in invoke()
/platform_testing/libraries/flicker/src/android/tools/flicker/subject/
DFlickerTraceSubject.kt43 protected fun addAssertion( in <lambda>() method