Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/utils/com/android/server/testutils/
DTestUtils.java34 String expectedExceptionMessageRegex, ExceptionRunnable r) { in assertExpectException() argument
42 if (expectedExceptionMessageRegex != null) { in assertExpectException()
43 MoreAsserts.assertContainsRegex(expectedExceptionMessageRegex, e.getMessage()); in assertExpectException()
/frameworks/base/services/tests/shortcutmanagerutils/src/com/android/server/pm/shortcutmanagertest/
DShortcutManagerTestUtils.java415 String expectedExceptionMessageRegex, ExceptionRunnable r) { in assertExpectException() argument
416 assertExpectException("", expectedExceptionType, expectedExceptionMessageRegex, r); in assertExpectException()
431 String expectedExceptionMessageRegex, ExceptionRunnable r) { in assertExpectException() argument
439 if (expectedExceptionMessageRegex != null) { in assertExpectException()
440 MoreAsserts.assertContainsRegex(expectedExceptionMessageRegex, e.getMessage()); in assertExpectException()