/platform_testing/libraries/flicker/src/android/tools/flicker/assertions/ |
D | AssertionsChecker.kt | 17 package android.tools.flicker.assertions in <lambda>() 32 private val assertions = mutableListOf<CompoundAssertion<T>>() in <lambda>() constant in android.tools.flicker.assertions.AssertionsChecker 35 internal fun isEmpty() = assertions.isEmpty() in <lambda>() 39 assertions.add(CompoundAssertion(assertion, name, isOptional)) in <lambda>() 44 assertions.last().add(assertion, name, isOptional) in <lambda>() 63 if (assertions.isEmpty() || entries.isEmpty()) { in <lambda>() 71 while (assertionIndex < assertions.size && entryIndex < entries.size) { in <lambda>() 72 val currentAssertion = assertions[assertionIndex] in <lambda>() 99 if (assertionIndex == assertions.size) { in <lambda>() 105 if (lastPassedAssertionIndex == -1 && assertions.isNotEmpty()) { in <lambda>() [all …]
|
D | CompoundAssertion.kt | 17 package android.tools.flicker.assertions in <lambda>() 21 private val assertions = mutableListOf<NamedAssertion<T>>() in <lambda>() constant 28 get() = assertions.all { it.isOptional } in <lambda>() 31 get() = assertions.joinToString(" and ") { it.name } in <lambda>() 41 assertions.mapNotNull { assertion -> in <lambda>() 67 assertions.add(NamedAssertion(assertion, name, optional)) in <lambda>() 79 assertions.forEachIndexed { index, assertion -> in <lambda>() 80 if (assertion != other.assertions[index]) { in <lambda>() 88 return assertions.hashCode() in <lambda>()
|
D | ServiceFlickerTest.kt | 17 package android.tools.flicker.assertions 20 internal val assertions = mutableListOf<AssertionData>() constant in android.tools.flicker.assertions.ServiceFlickerTest 23 assertions.add(assertion) in doProcess()
|
/platform_testing/libraries/flicker/src/android/tools/flicker/config/ |
D | AssertionTemplates.kt | 20 import android.tools.flicker.assertors.assertions.AppLayerBecomesInvisible 21 import android.tools.flicker.assertors.assertions.AppLayerBecomesVisible 22 import android.tools.flicker.assertors.assertions.AppLayerCoversFullScreenAtEnd 23 import android.tools.flicker.assertors.assertions.AppLayerCoversFullScreenAtStart 24 import android.tools.flicker.assertors.assertions.AppLayerIsInvisibleAtEnd 25 import android.tools.flicker.assertors.assertions.AppLayerIsInvisibleAtStart 26 import android.tools.flicker.assertors.assertions.AppLayerIsVisibleAlways 27 import android.tools.flicker.assertors.assertions.AppLayerIsVisibleAtEnd 28 import android.tools.flicker.assertors.assertions.AppLayerIsVisibleAtStart 29 import android.tools.flicker.assertors.assertions.AppWindowBecomesInvisible [all …]
|
D | FlickerConfigImpl.kt | 32 registerScenario(config.scenarioId, config.extractor, config.assertions) in <lambda>() 39 assertions: Map<AssertionTemplate, AssertionInvocationGroup>? in <lambda>() 45 registry[scenario] = FlickerConfigEntry(scenario, extractor, assertions ?: emptyMap()) in <lambda>() 55 vararg assertions: AssertionTemplate, in <lambda>() 61 assertions.forEach { assertion -> in <lambda>() 62 require(entry.assertions.keys.none { it.id == assertion.id }) { in <lambda>() 71 entry.assertions.toMutableMap().apply { this[assertion] = stabilityGroup }, in <lambda>() 90 entry.assertions.keys.firstOrNull { it.id == assertionId } in <lambda>() 99 entry.assertions.toMutableMap().apply { this[targetAssertion] = stabilityGroup }, in <lambda>() 109 entry.assertions.keys.firstOrNull { it.id == assertionId } in <lambda>() [all …]
|
/platform_testing/libraries/flicker/src/android/tools/flicker/assertors/ |
D | AssertionTemplate.kt | 20 import android.tools.flicker.assertions.AssertionData 21 import android.tools.flicker.assertions.FlickerTest 22 import android.tools.flicker.assertions.ServiceFlickerTest 23 import android.tools.flicker.assertions.SubjectsParser 56 return flicker.assertions + mainBlockAssertions in qualifiedAssertionName()
|
/platform_testing/libraries/flicker/test/src/android/tools/flicker/ |
D | ScenarioInstanceTest.kt | 21 import android.tools.flicker.assertions.AssertionResult 22 import android.tools.flicker.assertions.FlickerTest 49 assertions = in willReportFlickerAssertions() 90 val assertions = scenarioInstance.generateAssertions() in willReportFlickerAssertions() constant 91 Truth.assertThat(assertions).hasSize(2) in willReportFlickerAssertions() 93 val results = assertions.map { it.execute() } in willReportFlickerAssertions() 133 assertions = in willReportMainBlockAssertions() 164 val assertions = scenarioInstance.generateAssertions() in willReportMainBlockAssertions() constant 165 Truth.assertThat(assertions).hasSize(2) in willReportMainBlockAssertions() 167 val results = assertions.map { it.execute() } in willReportMainBlockAssertions()
|
/platform_testing/libraries/flicker/test/src/android/tools/flicker/config/ |
D | FlickerConfigTest.kt | 23 import android.tools.flicker.assertions.FlickerTest 73 val assertions = scenarioInstance.generateAssertions() in canRegisterScenarioWithAssertions() constant 75 Truth.assertThat(assertions).hasSize(1) in canRegisterScenarioWithAssertions() 76 assertions.first().execute() in canRegisterScenarioWithAssertions() 125 val assertions = scenarioInstance.generateAssertions() in canUnregisterAssertion() constant 127 Truth.assertThat(assertions).hasSize(0) in canUnregisterAssertion() 161 val assertions = scenarioInstance.generateAssertions() in canOverrideStabilityGroup() constant 163 Truth.assertThat(assertions).hasSize(1) in canOverrideStabilityGroup() 164 Truth.assertThat(assertions.first().stabilityGroup) in canOverrideStabilityGroup() 208 val assertions = scenarioInstance.generateAssertions() in registerAssertionToScenario() constant [all …]
|
/platform_testing/libraries/flicker/src/android/tools/flicker/legacy/ |
D | LegacyFlickerTest.kt | 22 import android.tools.flicker.assertions.AssertionData 23 import android.tools.flicker.assertions.AssertionRunner 24 import android.tools.flicker.assertions.BaseFlickerTest 25 import android.tools.flicker.assertions.SubjectsParser
|
/platform_testing/libraries/flicker/src/android/tools/flicker/config/ime/ |
D | ImeInsetsShowAnimation.kt | 20 import android.tools.flicker.assertors.assertions.LayerBecomesVisible 21 import android.tools.flicker.assertors.assertions.NonAppWindowBecomesVisible 33 assertions =
|
D | ImeInsetsHideAnimation.kt | 20 import android.tools.flicker.assertors.assertions.LayerBecomesInvisible 21 import android.tools.flicker.assertors.assertions.NonAppWindowBecomesInvisible 34 assertions =
|
/platform_testing/libraries/flicker/src/android/tools/flicker/assertors/assertions/ |
D | ScreenLockedAtStart.kt | 17 package android.tools.flicker.assertors.assertions 20 import android.tools.flicker.assertions.FlickerTest
|
D | VisibleWindowsShownMoreThanOneConsecutiveEntry.kt | 17 package android.tools.flicker.assertors.assertions 20 import android.tools.flicker.assertions.FlickerTest
|
D | AppWindowIsInvisibleAtEnd.kt | 17 package android.tools.flicker.assertors.assertions 20 import android.tools.flicker.assertions.FlickerTest
|
D | AppLayerIsInvisibleAtStart.kt | 17 package android.tools.flicker.assertors.assertions 20 import android.tools.flicker.assertions.FlickerTest
|
D | AppWindowIsInvisibleAtStart.kt | 17 package android.tools.flicker.assertors.assertions 20 import android.tools.flicker.assertions.FlickerTest
|
D | AppWindowIsTopWindowAtStart.kt | 17 package android.tools.flicker.assertors.assertions 20 import android.tools.flicker.assertions.FlickerTest
|
D | AppWindowOnTopAtStart.kt | 17 package android.tools.flicker.assertors.assertions 20 import android.tools.flicker.assertions.FlickerTest
|
D | AppLayerIsVisibleAlways.kt | 17 package android.tools.flicker.assertors.assertions 20 import android.tools.flicker.assertions.FlickerTest
|
D | AppLayerIsInvisibleAtEnd.kt | 17 package android.tools.flicker.assertors.assertions 20 import android.tools.flicker.assertions.FlickerTest
|
D | LayerIsInvisibleAtEnd.kt | 17 package android.tools.flicker.assertors.assertions 20 import android.tools.flicker.assertions.FlickerTest
|
D | AppWindowOnTopAtEnd.kt | 17 package android.tools.flicker.assertors.assertions 20 import android.tools.flicker.assertions.FlickerTest
|
D | LayerIsInvisibleAtStart.kt | 17 package android.tools.flicker.assertors.assertions 20 import android.tools.flicker.assertions.FlickerTest
|
D | AppWindowIsVisibleAtStart.kt | 17 package android.tools.flicker.assertors.assertions 20 import android.tools.flicker.assertions.FlickerTest
|
D | NonAppWindowIsVisibleAtStart.kt | 17 package android.tools.flicker.assertors.assertions 20 import android.tools.flicker.assertions.FlickerTest
|