/platform_testing/libraries/health/rules/tests/src/android/platform/test/rule/ |
D | TestMetricRuleTest.java | 44 private static final Description DESCRIPTION = field in TestMetricRuleTest 78 rule.apply(PASSING_STATEMENT, DESCRIPTION).evaluate(); in testValidListener_testPasses() 84 String.format("Test %s: TestableCollector1#onTestStart", DESCRIPTION), in testValidListener_testPasses() 86 String.format("Test %s: TestableCollector1#onTestEnd", DESCRIPTION), in testValidListener_testPasses() 97 rule.apply(FAILING_STATEMENT, DESCRIPTION).evaluate(); in testValidListener_testFails() 98 Failure failure = new Failure(DESCRIPTION, new RuntimeException(TEST_FAILURE_MESSAGE)); in testValidListener_testFails() 104 String.format("Test %s: TestableCollector1#onTestStart", DESCRIPTION), in testValidListener_testFails() 108 DESCRIPTION, in testValidListener_testFails() 110 DESCRIPTION, new RuntimeException(TEST_FAILURE_MESSAGE))), in testValidListener_testFails() 111 String.format("Test %s: TestableCollector1#onTestEnd", DESCRIPTION), in testValidListener_testFails() [all …]
|
D | DynamicRuleChainTest.java | 37 private static final Description DESCRIPTION = field in DynamicRuleChainTest 74 Statement applied = chain.apply(PASSING_STATEMENT, DESCRIPTION); in testAppliesRuleBySimpleClassNameForRulesInKnownPackage() 82 Statement applied = chain.apply(FAILING_STATEMENT, DESCRIPTION); in testRuleCallbacks() 94 Statement applied = chain.apply(PASSING_STATEMENT, DESCRIPTION); in testAppliesRuleByFullyQualifiedClassName() 106 chain.apply(PASSING_STATEMENT, DESCRIPTION); in testThrowsOnNonexistentSimpleClassName() 116 chain.apply(PASSING_STATEMENT, DESCRIPTION); in testThrowsOnNonexistentFullyQualifiedClassName() 125 Statement applied = chain.apply(PASSING_STATEMENT, DESCRIPTION); in testMultipleRulesAreAppliedInCorrectOrder() 146 chain.apply(PASSING_STATEMENT, DESCRIPTION); in testInvalidRuleNameInMultipleRulesAlsoThrows() 156 Statement applied = chain.apply(PASSING_STATEMENT, DESCRIPTION); in testSupportsDuplicateSimpleRuleNames() 177 Statement applied = chain.apply(PASSING_STATEMENT, DESCRIPTION); in testSupportsDuplicateFullyQualifiedRuleNames() [all …]
|
D | SuspendUnsuspendAppRuleTest.java | 42 private static final Description DESCRIPTION = field in SuspendUnsuspendAppRuleTest 56 rule.apply(TEST_STATEMENT, DESCRIPTION).evaluate(); in testSuspendUnsuspendAppRule() 91 rule.apply(TEST_STATEMENT, DESCRIPTION).evaluate(); in testEnableSuspendUnsuspendAppRuleTrue() 126 rule.apply(TEST_STATEMENT, DESCRIPTION).evaluate(); in testEnableSuspendUnsuspendAppRuleFalse()
|
D | WaitForIdleTimeoutRuleTest.java | 45 private static final Description DESCRIPTION = field in WaitForIdleTimeoutRuleTest 81 rule.apply(TEST_STATEMENT, DESCRIPTION).evaluate(); in testSetsAndRestoresTimeout() 97 rule.apply(TEST_STATEMENT, DESCRIPTION).evaluate(); in testDisable()
|
D | ClassMetricRuleTest.java | 49 private static final Description DESCRIPTION = field in ClassMetricRuleTest 73 rule.apply(TEST_STATEMENT, DESCRIPTION).evaluate(); in testRunsSpecifiedCollectorsAndReportRunMetrics() 95 rule.apply(TEST_STATEMENT, DESCRIPTION).evaluate(); in testUsesTestCallbackRatherThanRunCallback()
|
/platform_testing/libraries/app-helpers/spectatio/spectatio-util/src/android/platform/spectatio/constants/ |
D | JsonConfigConstants.java | 42 public static final String DESCRIPTION = "DESCRIPTION"; field in JsonConfigConstants
|
/platform_testing/libraries/app-helpers/spectatio/spectatio-util/src/android/platform/spectatio/configs/ |
D | UiElement.java | 132 case JsonConfigConstants.DESCRIPTION: in getBySelectorForUiElement() 177 case JsonConfigConstants.DESCRIPTION: in extendBySelectorForUiElement()
|
/platform_testing/libraries/app-helpers/spectatio/spectatio-util/src/android/platform/spectatio/configs/validators/ |
D | ValidateUiElement.java | 49 JsonConfigConstants.DESCRIPTION,
|