/platform_testing/libraries/flicker/src/android/tools/flicker/datastore/ |
D | DataStore.kt | 26 object DataStore { object 39 android.tools.flicker.datastore.DataStore.cachedResults = mutableMapOf() in clear() 40 android.tools.flicker.datastore.DataStore.cachedFlickerServiceAssertions = mutableMapOf() in clear() 43 fun backup(): android.tools.flicker.datastore.DataStore.Backup { in backup() 44 return android.tools.flicker.datastore.DataStore.Backup( in backup() 45 android.tools.flicker.datastore.DataStore.cachedResults.toMutableMap(), in backup() 46 android.tools.flicker.datastore.DataStore.cachedFlickerServiceAssertions.toMutableMap() in backup() 50 fun restore(backup: android.tools.flicker.datastore.DataStore.Backup) { in restore() 51 android.tools.flicker.datastore.DataStore.cachedResults = backup.cachedResults in restore() 52 android.tools.flicker.datastore.DataStore.cachedFlickerServiceAssertions = in restore() [all …]
|
D | CachedAssertionRunner.kt | 39 val result = DataStore.getResult(scenario) in doUpdateStatus() 41 DataStore.replaceResult(scenario, result) in doUpdateStatus()
|
D | CachedResultWriter.kt | 26 android.tools.flicker.datastore.DataStore.addResult(scenario, result) in write()
|
D | CachedResultReader.kt | 30 android.tools.flicker.datastore.DataStore.getResult(scenario),
|
/platform_testing/libraries/flicker/test/src/android/tools/flicker/datastore/ |
D | DataStoreTest.kt | 33 DataStore.clear() in setup() 38 DataStore.addResult(TEST_SCENARIO, Consts.TEST_RESULT) in addsElement() 40 .that(DataStore.containsResult(TEST_SCENARIO)) in addsElement() 48 DataStore.addResult(TEST_SCENARIO, Consts.TEST_RESULT) in throwsErrorAddElementTwice() 49 DataStore.addResult(TEST_SCENARIO, Consts.TEST_RESULT) in throwsErrorAddElementTwice() 52 .that(DataStore.containsResult(TEST_SCENARIO)) in throwsErrorAddElementTwice() 59 DataStore.addResult(TEST_SCENARIO, Consts.TEST_RESULT) in getsElement() 60 val actual = DataStore.getResult(TEST_SCENARIO) in getsElement() 66 val failure = assertThrows<IllegalStateException> { DataStore.getResult(TEST_SCENARIO) } in getsElementThrowErrorDoesNotExist() 72 DataStore.addResult(TEST_SCENARIO, Consts.TEST_RESULT) in replacesElement() [all …]
|
D | CachedResultWriterTest.kt | 39 .that(android.tools.flicker.datastore.DataStore.containsResult(TEST_SCENARIO)) in writeToStore() 41 val actual = android.tools.flicker.datastore.DataStore.getResult(TEST_SCENARIO) in writeToStore() 54 .that(android.tools.flicker.datastore.DataStore.containsResult(TEST_SCENARIO)) in writeToStoreFailsWhenWriteTwice()
|
D | CachedAssertionRunnerTest.kt | 53 android.tools.flicker.datastore.DataStore.clear() in setup() 60 android.tools.flicker.datastore.DataStore.addResult(TEST_SCENARIO, result) in setup() 68 val result = android.tools.flicker.datastore.DataStore.getResult(TEST_SCENARIO) in executes() 83 val result = android.tools.flicker.datastore.DataStore.getResult(TEST_SCENARIO) in executesFailure() 103 val result = android.tools.flicker.datastore.DataStore.getResult(TEST_SCENARIO) in updatesRunStatusFailureFirst() 118 val result = android.tools.flicker.datastore.DataStore.getResult(TEST_SCENARIO) in updatesRunStatusFailureLast()
|
D | CachedResultReaderTest.kt | 36 android.tools.flicker.datastore.DataStore.clear() in setup() 44 android.tools.flicker.datastore.DataStore.addResult(TEST_SCENARIO, result) in readFromStore()
|
/platform_testing/libraries/flicker/test/src/android/tools/rules/ |
D | DataStoreCleanupRule.kt | 20 import android.tools.flicker.datastore.DataStore 38 val backup = DataStore.backup() in resetDataStore() 39 DataStore.clear() in resetDataStore() 49 DataStore.restore(backup) in resetDataStore()
|
/platform_testing/libraries/flicker/test/src/android/tools/integration/ |
D | Utils.kt | 23 import android.tools.flicker.datastore.DataStore 61 android.tools.flicker.datastore.DataStore.clear() in runTransition()
|
/platform_testing/libraries/flicker/src/android/tools/flicker/junit/ |
D | LegacyFlickerDecorator.kt | 20 import android.tools.flicker.datastore.DataStore 49 if (!android.tools.flicker.datastore.DataStore.containsResult(scenario)) { in getMethodInvoker()
|
D | FlickerServiceDecorator.kt | 316 !android.tools.flicker.datastore.DataStore.containsFlickerServiceResult( in <lambda>() 322 android.tools.flicker.datastore.DataStore.addFlickerServiceAssertions( in <lambda>() 328 return android.tools.flicker.datastore.DataStore.getFlickerServiceAssertions( in <lambda>()
|
D | LegacyFlickerServiceDecorator.kt | 167 if (!android.tools.flicker.datastore.DataStore.containsResult(testScenario)) { in computeFlickerServiceTests()
|
/platform_testing/libraries/flicker/test/src/android/tools/flicker/junit/ |
D | LegacyFlickerDecoratorTest.kt | 21 import android.tools.flicker.datastore.DataStore in <lambda>() 42 android.tools.flicker.datastore.DataStore.clear() in <lambda>() 135 android.tools.flicker.datastore.DataStore.containsResult( in <lambda>()
|
D | LegacyFlickerServiceDecoratorTest.kt | 38 android.tools.flicker.datastore.DataStore.clear() in setup()
|
/platform_testing/libraries/flicker/test/src/android/tools/flicker/legacy/ |
D | LegacyFlickerTestTest.kt | 24 import android.tools.flicker.datastore.DataStore 236 android.tools.flicker.datastore.DataStore.getResult(it), in doExecuteAssertionWithoutTraceAndVerifyNotExecuted()
|
/platform_testing/libraries/flicker/test/src/android/tools/flicker/subject/surfaceflinger/ |
D | LayersTraceSubjectTest.kt | 349 android.tools.flicker.datastore.DataStore.addResult(scenario, result) in <lambda>()
|