Home
last modified time | relevance | path

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

/cts/libs/install/src/com/android/cts/install/lib/
DInstallUtils.java230 String expectedFailMessage, Install install) { in commitExpectingFailure() argument
231 assertThrows(expectedThrowableClass, expectedFailMessage, () -> install.commit()); in commitExpectingFailure()
432 private static void assertThrows(Class expectedThrowableClass, String expectedFailMessage, in assertThrows() argument
438 assertThat(expected.getMessage()).containsMatch(expectedFailMessage); in assertThrows()