Home
last modified time | relevance | path

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

/platform_testing/libraries/health/rules/tests/src/android/platform/test/rule/
DTestMetricRuleTest.java47 private static final String TEST_FAILURE_MESSAGE = "Failed!"; field in TestMetricRuleTest
62 throw new RuntimeException(TEST_FAILURE_MESSAGE);
96 expectedException.expectMessage(TEST_FAILURE_MESSAGE); in testValidListener_testFails()
98 Failure failure = new Failure(DESCRIPTION, new RuntimeException(TEST_FAILURE_MESSAGE)); in testValidListener_testFails()
110 DESCRIPTION, new RuntimeException(TEST_FAILURE_MESSAGE))), in testValidListener_testFails()
122 expectedException.expectMessage(TEST_FAILURE_MESSAGE); in testMultipleListeners_allValid()
124 Failure failure = new Failure(DESCRIPTION, new RuntimeException(TEST_FAILURE_MESSAGE)); in testMultipleListeners_allValid()
162 expectedException.expectMessage(TEST_FAILURE_MESSAGE); in testMultipleListeners_lifoOrder()
164 Failure failure = new Failure(DESCRIPTION, new RuntimeException(TEST_FAILURE_MESSAGE)); in testMultipleListeners_lifoOrder()