Home
last modified time | relevance | path

Searched refs:TestComponents (Results 1 – 6 of 6) sorted by relevance

/platform_testing/libraries/flicker/test/src/android/tools/flicker/subject/wm/
DWindowManagerTraceSubjectTest.kt22 import android.tools.utils.TestComponents in <lambda>()
54 .isAppWindowOnTop(TestComponents.LAUNCHER) in <lambda>()
55 .isAboveAppWindowVisible(TestComponents.SCREEN_DECOR_OVERLAY) in <lambda>()
59 .isAppWindowOnTop(TestComponents.LAUNCHER) in <lambda>()
60 .isAppWindowInvisible(TestComponents.CHROME_SPLASH_SCREEN) in <lambda>()
61 .isAboveAppWindowVisible(TestComponents.SCREEN_DECOR_OVERLAY) in <lambda>()
63 .isAppWindowOnTop(TestComponents.CHROME_SPLASH_SCREEN) in <lambda>()
64 .isAppWindowInvisible(TestComponents.LAUNCHER) in <lambda>()
65 .isAboveAppWindowVisible(TestComponents.SCREEN_DECOR_OVERLAY) in <lambda>()
67 .isAppWindowOnTop(TestComponents.CHROME_FIRST_RUN) in <lambda>()
[all …]
DWindowManagerStateSubjectTest.kt25 import android.tools.utils.TestComponents
72 .visibleRegion(TestComponents.IMAGINARY) in exceptionContainsDebugInfo()
75 Truth.assertThat(error).hasMessageThat().contains(TestComponents.IMAGINARY.className) in exceptionContainsDebugInfo()
83 .containsAboveAppWindow(TestComponents.SCREEN_DECOR_OVERLAY) in canDetectAboveAppWindowVisibility_isVisible()
94 .containsAboveAppWindow(TestComponents.PIP_OVERLAY) in canDetectAboveAppWindowVisibility_isInvisible()
95 .isNonAppWindowVisible(TestComponents.PIP_OVERLAY) in canDetectAboveAppWindowVisibility_isInvisible()
112 entry.visibleRegion(TestComponents.LAUNCHER).coversAtLeast(displayBounds) in canDetectWindowCoversAtLeastRegion_exactSize()
121 entry.visibleRegion(TestComponents.LAUNCHER).coversAtLeast(Region(0, 0, 100, 100)) in canDetectWindowCoversAtLeastRegion_smallerRegion()
136 subject.visibleRegion(TestComponents.LAUNCHER).coversAtLeast(Region(0, 0, 1440, 2961)) in canDetectWindowCoversAtLeastRegion_largerRegion()
147 entry.visibleRegion(TestComponents.LAUNCHER).coversExactly(displayBounds) in canDetectWindowCoversExactlyRegion_exactSize()
[all …]
DWindowStateSubjectTest.kt21 import android.tools.utils.TestComponents
41 .windowState(TestComponents.IMAGINARY.className) in exceptionContainsDebugInfoImaginary()
/platform_testing/libraries/flicker/test/src/android/tools/flicker/subject/surfaceflinger/
DLayersTraceSubjectTest.kt30 import android.tools.utils.TestComponents in <lambda>()
83 .notContains(TestComponents.DOCKER_STACK_DIVIDER) in <lambda>()
84 .isVisible(TestComponents.LAUNCHER) in <lambda>()
94 .isVisible(TestComponents.DOCKER_STACK_DIVIDER) in <lambda>()
104 .isInvisible(TestComponents.DOCKER_STACK_DIVIDER) in <lambda>()
109 .isVisible(TestComponents.DOCKER_STACK_DIVIDER) in <lambda>()
119 .notContains(TestComponents.DOCKER_STACK_DIVIDER) in <lambda>()
122 .isInvisible(TestComponents.DOCKER_STACK_DIVIDER) in <lambda>()
125 .isVisible(TestComponents.DOCKER_STACK_DIVIDER) in <lambda>()
138 .isVisible(TestComponents.SIMPLE_APP) in <lambda>()
[all …]
DLayerTraceEntrySubjectTest.kt29 import android.tools.utils.TestComponents
58 LayersTraceSubject(trace, reader).first().visibleRegion(TestComponents.IMAGINARY) in exceptionContainsDebugInfo()
61 Truth.assertThat(error).hasMessageThat().contains(TestComponents.IMAGINARY.className) in exceptionContainsDebugInfo()
70 .notContains(TestComponents.DOCKER_STACK_DIVIDER) in testCanInspectBeginning()
71 .isVisible(TestComponents.LAUNCHER) in testCanInspectBeginning()
80 .isVisible(TestComponents.DOCKER_STACK_DIVIDER) in testCanInspectEnd()
103 assertFail(TestComponents.IMAGINARY.toWindowIdentifier()) { in canTestLayerVisibleRegion_layerDoesNotExist()
106 .visibleRegion(TestComponents.IMAGINARY) in canTestLayerVisibleRegion_layerDoesNotExist()
119 .visibleRegion(TestComponents.DOCKER_STACK_DIVIDER) in canTestLayerVisibleRegion_layerDoesNotHaveExpectedVisibleRegion()
132 .visibleRegion(TestComponents.SIMPLE_APP) in canTestLayerVisibleRegion_layerIsHiddenByParent()
[all …]
/platform_testing/libraries/flicker/utils/test/src/android/tools/utils/
DTestComponents.kt23 object TestComponents { object