Searched refs:sLogs (Results 1 – 3 of 3) sorted by relevance
/platform_testing/libraries/health/rules/tests/src/android/platform/test/rule/ |
D | DynamicRuleChainTest.java | 44 private static final List<String> sLogs = new ArrayList<String>(); field in DynamicRuleChainTest 50 sLogs.add("Test execution"); 59 sLogs.clear(); in setUp() 67 assertThat(sLogs).containsExactly("Rule1 starting", "Test execution", "Rule1 finished"); in testAppliesRuleBySimpleClassNameForRulesInKnownPackage() 76 assertThat(sLogs).containsExactly("Rule1 starting", "Test execution", "Rule1 finished"); in testAppliesRuleByFullyQualifiedClassName() 108 assertThat(sLogs) in testMultipleRulesAreAppliedInCorrectOrder() 139 assertThat(sLogs) in testSupportsDuplicateSimpleRuleNames() 160 assertThat(sLogs) in testSupportsDuplicateFullyQualifiedRuleNames() 187 sLogs.add("Rule1 starting"); in starting() 192 sLogs.add("Rule1 finished"); in finished() [all …]
|
D | TestMetricRuleTest.java | 42 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() 97 assertThat(sLogs) in testValidListener_testFails() 121 assertThat(sLogs) in testMultipleListeners_allValid() 181 sLogs.add(String.format("%s#%s", mName, "setInstrumentation")); in setInstrumentation() 186 sLogs.add(String.format("%s#%s", mName, "setupAdditionalArgs")); in setupAdditionalArgs() 191 sLogs.add(String.format("Test %s: %s#%s", description, mName, "onTestStart")); in onTestStart() [all …]
|
/platform_testing/libraries/health/runners/microbenchmark/tests/src/android/platform/test/microbenchmark/ |
D | MicrobenchmarkTest.java | 59 private static List<String> sLogs = new ArrayList<>(); field in MicrobenchmarkTest 63 sLogs.clear(); in setUp() 435 loggingRunner.setOperationLog(sLogs); in testDynamicTestRuleInjection() 437 assertThat(sLogs) in testDynamicTestRuleInjection() 487 loggingRunner.setOperationLog(sLogs); in testDynamicClassRuleInjection() 489 assertThat(sLogs) in testDynamicClassRuleInjection() 624 sLogs.add("hardcoded class rule starting"); 629 sLogs.add("hardcoded class rule finished"); 638 sLogs.add("hardcoded test rule starting"); 643 sLogs.add("hardcoded test rule finished"); [all …]
|