Home
last modified time | relevance | path

Searched refs:sLogs (Results 1 – 5 of 5) sorted by relevance

/platform_testing/libraries/health/rules/tests/src/android/platform/test/rule/
DDynamicRuleChainTest.java44 private static final List<String> sLogs = new ArrayList<String>(); field in DynamicRuleChainTest
50 sLogs.add("Test execution");
58 sLogs.add("Test execution");
68 sLogs.clear(); in setUp()
76 assertThat(sLogs).containsExactly("Rule1 starting", "Test execution", "Rule1 finished"); in testAppliesRuleBySimpleClassNameForRulesInKnownPackage()
85 assertThat(sLogs) in testRuleCallbacks()
96 assertThat(sLogs).containsExactly("Rule1 starting", "Test execution", "Rule1 finished"); in testAppliesRuleByFullyQualifiedClassName()
128 assertThat(sLogs) in testMultipleRulesAreAppliedInCorrectOrder()
159 assertThat(sLogs) in testSupportsDuplicateSimpleRuleNames()
180 assertThat(sLogs) in testSupportsDuplicateFullyQualifiedRuleNames()
[all …]
DTestMetricRuleTest.java42 private static List<String> sLogs = new ArrayList<String>(); field in TestMetricRuleTest
53 sLogs.add("Test execution");
61 sLogs.add("Test execution");
70 sLogs.clear(); in setUp()
79 assertThat(sLogs) in testValidListener_testPasses()
99 assertThat(sLogs) in testValidListener_testFails()
125 assertThat(sLogs) in testMultipleListeners_allValid()
165 assertThat(sLogs) in testMultipleListeners_lifoOrder()
234 assertThat(sLogs) in testInitWithDifferentOptionNames()
267 sLogs.add(String.format("%s#%s", mName, "setInstrumentation")); in setInstrumentation()
[all …]
DWaitForIdleTimeoutRuleTest.java35 private static List<String> sLogs = new ArrayList<>(); field in WaitForIdleTimeoutRuleTest
42 sLogs.add(TEST_STATEMENT_LOG);
61 sLogs.add(String.format(SET_TIMEOUT_LOG_TEMPLATE, ms)); in setTimeout()
73 sLogs.clear(); in setUp()
83 assertThat(sLogs) in testSetsAndRestoresTimeout()
99 assertThat(sLogs).containsExactly(TEST_STATEMENT_LOG); in testDisable()
/platform_testing/libraries/health/runners/microbenchmark/tests/src/android/platform/test/microbenchmark/
DMicrobenchmarkTest.java68 private static List<String> sLogs = new ArrayList<>(); field in MicrobenchmarkTest
76 sLogs.clear(); in setUp()
112 assertThat(sLogs) in testFeatureExecutionOrder()
141 assertThat(sLogs) in testMultipleIterationsWithRename()
180 assertThat(sLogs) in testMultipleIterationsWithDifferentSuffix()
217 assertThat(sLogs) in testMultipleIterationsWithoutRename()
246 assertThat(sLogs) in testMultipleMethodIterations()
398 assertThat(sLogs) in testTerminateOnTestFailOptionEnabled()
424 assertThat(sLogs) in testTerminateOnTestFailOptionDisabled()
457 assertThat(sLogs) in testDynamicTestRuleInjection()
[all …]
/platform_testing/libraries/health/runners/longevity/platform/tests/src/android/platform/test/longevity/
DLongevityClassRunnerTest.java62 private static final List<String> sLogs = new ArrayList<>(); field in LongevityClassRunnerTest
73 sLogs.add(String.format("%s starting", mName)); in starting()
78 sLogs.add(String.format("%s finished", mName)); in finished()
105 sLogs.add("Test 1 execution"); in test1()
110 sLogs.add("Test 2 execution"); in test2()
168 sLogs.clear(); in setUp()
501 assertThat(sLogs) in testDynamicClassRules()
531 assertThat(sLogs) in testDynamicTestRules()