Home
last modified time | relevance | path

Searched refs:DESCRIPTION (Results 1 – 8 of 8) sorted by relevance

/platform_testing/libraries/health/rules/tests/src/android/platform/test/rule/
DTestMetricRuleTest.java44 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 …]
DDynamicRuleChainTest.java37 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 …]
DSuspendUnsuspendAppRuleTest.java42 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()
DWaitForIdleTimeoutRuleTest.java45 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()
DClassMetricRuleTest.java49 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/
DJsonConfigConstants.java42 public static final String DESCRIPTION = "DESCRIPTION"; field in JsonConfigConstants
/platform_testing/libraries/app-helpers/spectatio/spectatio-util/src/android/platform/spectatio/configs/
DUiElement.java132 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/
DValidateUiElement.java49 JsonConfigConstants.DESCRIPTION,