/platform_testing/libraries/flicker/src/android/tools/flicker/assertors/assertions/ |
D | PipWindowBecomesInvisible.kt | 30 override fun doEvaluate(scenarioInstance: ScenarioInstance, flicker: FlickerTest) { in doEvaluate() 33 it.isPinned(component.build(scenarioInstance)) in doEvaluate() 34 .isAppWindowVisible(component.build(scenarioInstance)) in doEvaluate() 38 it.isNotPinned(component.build(scenarioInstance)) in doEvaluate() 39 .isAppWindowInvisible(component.build(scenarioInstance)) in doEvaluate()
|
D | StatusBarLayerPositionAtStart.kt | 32 override fun doEvaluate(scenarioInstance: ScenarioInstance, flicker: FlickerTest) { in doEvaluate() 35 .coversExactly(getExpectedStatusBarPosition(scenarioInstance)) in doEvaluate() 43 private fun getExpectedStatusBarPosition(scenarioInstance: ScenarioInstance): Region { in getExpectedStatusBarPosition() 45 scenarioInstance.reader.readWmTrace()?.entries?.last() in getExpectedStatusBarPosition()
|
D | StatusBarLayerPositionAtEnd.kt | 32 override fun doEvaluate(scenarioInstance: ScenarioInstance, flicker: FlickerTest) { in doEvaluate() 35 .coversExactly(getExpectedStatusBarPosition(scenarioInstance)) in doEvaluate() 42 private fun getExpectedStatusBarPosition(scenarioInstance: ScenarioInstance): Region { in getExpectedStatusBarPosition() 44 scenarioInstance.reader.readWmTrace()?.entries?.last() in getExpectedStatusBarPosition()
|
D | AppLayerBecomesVisible.kt | 31 override fun doEvaluate(scenarioInstance: ScenarioInstance, flicker: FlickerTest) { in doEvaluate() 35 isInvisible(component.build(scenarioInstance)) in doEvaluate() 41 .isVisible(component.build(scenarioInstance), isOptional = true) in doEvaluate() 47 .or(component.build(scenarioInstance)) in doEvaluate()
|
D | AppWindowBecomesVisible.kt | 31 override fun doEvaluate(scenarioInstance: ScenarioInstance, flicker: FlickerTest) { in doEvaluate() 35 isAppWindowInvisible(component.build(scenarioInstance)) in doEvaluate() 41 .isAppWindowVisible(component.build(scenarioInstance), isOptional = true) in doEvaluate() 47 .or(component.build(scenarioInstance)) in doEvaluate()
|
D | SplitAppLayerBoundsSnapToDivider.kt | 30 override fun doEvaluate(scenarioInstance: ScenarioInstance, flicker: FlickerTest) { in doEvaluate() 31 val wmTrace = scenarioInstance.reader.readWmTrace() ?: return in doEvaluate() 35 it.visibleRegion(component.build(scenarioInstance)) in doEvaluate() 36 .coversAtMost(it.calculateExpectedDisplaySize(scenarioInstance, wmTrace)) in doEvaluate() 43 scenarioInstance: ScenarioInstance, in calculateExpectedDisplaySize() 50 val splitScreenDivider = SPLIT_SCREEN_DIVIDER.build(scenarioInstance) in calculateExpectedDisplaySize()
|
D | LayerBecomesVisible.kt | 29 override fun doEvaluate(scenarioInstance: ScenarioInstance, flicker: FlickerTest) { in doEvaluate() 31 isInvisible(component.build(scenarioInstance)) in doEvaluate() 33 .isVisible(component.build(scenarioInstance)) in doEvaluate()
|
D | LayerBecomesInvisible.kt | 29 override fun doEvaluate(scenarioInstance: ScenarioInstance, flicker: FlickerTest) { in doEvaluate() 31 isVisible(component.build(scenarioInstance)) in doEvaluate() 33 .isInvisible(component.build(scenarioInstance)) in doEvaluate()
|
D | WindowMovesToTop.kt | 27 override fun doEvaluate(scenarioInstance: ScenarioInstance, flicker: FlickerTest) { in doEvaluate() 29 isAppWindowNotOnTop(component.build(scenarioInstance)) in doEvaluate() 31 .isAppWindowOnTop(component.build(scenarioInstance)) in doEvaluate()
|
D | AppLayerBecomesInvisible.kt | 30 override fun doEvaluate(scenarioInstance: ScenarioInstance, flicker: FlickerTest) { in doEvaluate() 32 isVisible(component.build(scenarioInstance)) in doEvaluate() 34 .isInvisible(component.build(scenarioInstance)) in doEvaluate()
|
D | NonAppWindowBecomesVisible.kt | 30 override fun doEvaluate(scenarioInstance: ScenarioInstance, flicker: FlickerTest) { in doEvaluate() 32 isNonAppWindowInvisible(component.build(scenarioInstance)) in doEvaluate() 34 .isAppWindowVisible(component.build(scenarioInstance)) in doEvaluate()
|
D | WindowMovesOutOfTop.kt | 27 override fun doEvaluate(scenarioInstance: ScenarioInstance, flicker: FlickerTest) { in doEvaluate() 29 isAppWindowOnTop(component.build(scenarioInstance)) in doEvaluate() 31 .isAppWindowNotOnTop(component.build(scenarioInstance)) in doEvaluate()
|
D | AppWindowBecomesInvisible.kt | 30 override fun doEvaluate(scenarioInstance: ScenarioInstance, flicker: FlickerTest) { in doEvaluate() 32 isAppWindowVisible(component.build(scenarioInstance)) in doEvaluate() 34 .isAppWindowInvisible(component.build(scenarioInstance)) in doEvaluate()
|
D | NonAppWindowBecomesInvisible.kt | 30 override fun doEvaluate(scenarioInstance: ScenarioInstance, flicker: FlickerTest) { in doEvaluate() 32 isNonAppWindowVisible(component.build(scenarioInstance)) in doEvaluate() 34 .isNonAppWindowInvisible(component.build(scenarioInstance)) in doEvaluate()
|
D | AppWindowBecomesPinned.kt | 27 override fun doEvaluate(scenarioInstance: ScenarioInstance, flicker: FlickerTest) { in doEvaluate() 29 invoke("appWindowIsNotPinned") { it.isNotPinned(component.build(scenarioInstance)) } in doEvaluate() 31 .invoke("appWindowIsPinned") { it.isPinned(component.build(scenarioInstance)) } in doEvaluate()
|
D | RotationLayerAppearsAndVanishes.kt | 31 override fun doEvaluate(scenarioInstance: ScenarioInstance, flicker: FlickerTest) { in doEvaluate() 33 isVisible(component.build(scenarioInstance)) in doEvaluate() 37 .isVisible(component.build(scenarioInstance)) in doEvaluate()
|
D | FocusChanges.kt | 33 override fun doEvaluate(scenarioInstance: ScenarioInstance, flicker: FlickerTest) { in doEvaluate() 34 val layersTrace = scenarioInstance.reader.readLayersTrace() in doEvaluate() 35 val fromComponent = fromComponent.build(scenarioInstance) in doEvaluate() 36 val toComponent = toComponent.build(scenarioInstance) in doEvaluate()
|
D | AppWindowIsInvisibleAtEnd.kt | 27 override fun doEvaluate(scenarioInstance: ScenarioInstance, flicker: FlickerTest) { in doEvaluate() 28 flicker.assertWmEnd { isAppWindowInvisible(component.build(scenarioInstance)) } in doEvaluate()
|
/platform_testing/libraries/flicker/src/android/tools/flicker/config/splitscreen/ |
D | Components.kt | 34 ComponentTemplate("SPLIT_SCREEN_PRIMARY_APP") { scenarioInstance: ScenarioInstance -> in <lambda>() method 36 scenarioInstance.associatedTransition in <lambda>() 41 scenarioInstance.reader.readLayersTrace() ?: error("Missing layers trace") in <lambda>() 43 when (scenarioInstance.type) { in <lambda>() 62 ComponentTemplate("SPLIT_SCREEN_SECONDARY_APP") { scenarioInstance: ScenarioInstance -> in <lambda>() method 64 scenarioInstance.associatedTransition in <lambda>() 69 scenarioInstance.reader.readLayersTrace() ?: error("Missing layers trace") in <lambda>() 71 when (scenarioInstance.type) { in <lambda>()
|
/platform_testing/libraries/flicker/src/android/tools/flicker/assertors/ |
D | AssertionTemplate.kt | 33 fun qualifiedAssertionName(scenarioInstance: ScenarioInstance): String = in qualifiedAssertionName() 37 abstract fun doEvaluate(scenarioInstance: ScenarioInstance, flicker: FlickerTest) in qualifiedAssertionName() 39 fun createAssertions(scenarioInstance: ScenarioInstance): Collection<AssertionData> { in qualifiedAssertionName() 44 doEvaluate(scenarioInstance, flicker) in qualifiedAssertionName()
|
/platform_testing/libraries/flicker/test/src/android/tools/flicker/config/ |
D | FlickerConfigTest.kt | 53 override fun doEvaluate(scenarioInstance: ScenarioInstance, flicker: FlickerTest) { in canRegisterScenarioWithAssertions() 71 val scenarioInstance = in canRegisterScenarioWithAssertions() constant 73 val assertions = scenarioInstance.generateAssertions() in canRegisterScenarioWithAssertions() 104 override fun doEvaluate(scenarioInstance: ScenarioInstance, flicker: FlickerTest) { in canUnregisterAssertion() 123 val scenarioInstance = in canUnregisterAssertion() constant 125 val assertions = scenarioInstance.generateAssertions() in canUnregisterAssertion() 136 override fun doEvaluate(scenarioInstance: ScenarioInstance, flicker: FlickerTest) { in canOverrideStabilityGroup() 159 val scenarioInstance = in canOverrideStabilityGroup() constant 161 val assertions = scenarioInstance.generateAssertions() in canOverrideStabilityGroup() 175 override fun doEvaluate(scenarioInstance: ScenarioInstance, flicker: FlickerTest) { in registerAssertionToScenario() [all …]
|
/platform_testing/libraries/flicker/src/android/tools/flicker/config/appclose/ |
D | Components.kt | 31 ComponentTemplate("CLOSING_APP(S)") { scenarioInstance: ScenarioInstance -> in <lambda>() method 33 scenarioInstance.associatedTransition ?: error("Missing associated transition"), in <lambda>() 34 scenarioInstance.reader.readLayersTrace(), in <lambda>() 35 scenarioInstance.reader.readWmTrace() in <lambda>()
|
/platform_testing/libraries/flicker/src/android/tools/flicker/config/applaunch/ |
D | Components.kt | 31 ComponentTemplate("OPENING_APP(S)") { scenarioInstance: ScenarioInstance -> in <lambda>() method 33 scenarioInstance.associatedTransition ?: error("Missing associated transition"), in <lambda>() 34 scenarioInstance.reader.readLayersTrace(), in <lambda>() 35 scenarioInstance.reader.readWmTrace() in <lambda>()
|
/platform_testing/libraries/flicker/src/android/tools/flicker/config/desktopmode/ |
D | Components.kt | 31 ComponentTemplate("DESKTOP_MODE_APP") { scenarioInstance: ScenarioInstance -> in <lambda>() method 33 scenarioInstance.associatedTransition in <lambda>() 36 if (isSupported(scenarioInstance.type)) { in <lambda>()
|
/platform_testing/libraries/flicker/src/android/tools/flicker/config/pip/ |
D | Components.kt | 32 ComponentTemplate("PIP") { scenarioInstance: ScenarioInstance -> in <lambda>() method 33 if (scenarioInstance.type == ScenarioId("LAUNCHER_APP_CLOSE_TO_PIP")) { in <lambda>() 35 scenarioInstance.associatedTransition ?: error("Missing associated transition") in <lambda>()
|