Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/testutis/
DTestUtils.java27 String expectedExceptionMessageRegex, Runnable r) { in assertExpectException() argument
37 if (expectedExceptionMessageRegex != null) { in assertExpectException()
38 MoreAsserts.assertContainsRegex(expectedExceptionMessageRegex, e.getMessage()); in assertExpectException()
/frameworks/base/services/tests/shortcutmanagerutils/src/com/android/server/pm/shortcutmanagertest/
DShortcutManagerTestUtils.java403 String expectedExceptionMessageRegex, ExceptionRunnable r) { in assertExpectException() argument
404 assertExpectException("", expectedExceptionType, expectedExceptionMessageRegex, r); in assertExpectException()
419 String expectedExceptionMessageRegex, ExceptionRunnable r) { in assertExpectException() argument
427 if (expectedExceptionMessageRegex != null) { in assertExpectException()
428 MoreAsserts.assertContainsRegex(expectedExceptionMessageRegex, e.getMessage()); in assertExpectException()