Home
last modified time | relevance | path

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

/external/mockito/src/test/java/org/mockitousage/verification/
DDescriptiveMessagesOnVerificationInOrderErrorsTest.java64 String expectedCause = in shouldPrintVerificationInOrderErrorAndShowBothWantedAndPrevious()
72 assertThat(e).hasMessageContaining(expectedCause); in shouldPrintVerificationInOrderErrorAndShowBothWantedAndPrevious()
156 String expectedCause = in shouldPrintTooManyInvocations()
161 assertThat(e).hasMessageContaining(expectedCause); in shouldPrintTooManyInvocations()
188 String expectedCause = in shouldPrintTooLittleInvocations()
194 assertThat(e).hasMessageContaining(expectedCause); in shouldPrintTooLittleInvocations()
DDescriptiveMessagesWhenVerificationFailsTest.java177 String expectedCause = in should_print_first_unexpected_invocation()
182 assertThat(e).hasMessageContaining(expectedCause); in should_print_first_unexpected_invocation()
203 String expectedCause = in should_print_first_unexpected_invocation_when_verifying_zero_interactions()
209 assertThat(e).hasMessageContaining(expectedCause); in should_print_first_unexpected_invocation_when_verifying_zero_interactions()
/external/guava/guava-testlib/src/com/google/common/util/concurrent/testing/
DMockFutureListener.java76 public void assertException(Throwable expectedCause) throws Exception { in assertException() argument
84 Assert.assertSame(expectedCause, expected.getCause()); in assertException()
/external/junit/src/main/java/org/junit/rules/
DExpectedException.java225 public void expectCause(Matcher<? extends Throwable> expectedCause) { in expectCause() argument
226 expect(hasCause(expectedCause)); in expectCause()
/external/guava/guava-tests/test/com/google/common/util/concurrent/
DMoreExecutorsTest.java405 private static void assertExecutionException(Future<?> future, Exception expectedCause) in assertExecutionException() argument
411 assertSame(expectedCause, e.getCause()); in assertExecutionException()