/external/mockito/src/test/java/org/mockitousage/verification/ |
D | DescriptiveMessagesWhenVerificationFailsTest.java | 15 import org.mockito.exceptions.verification.WantedButNotInvoked; 39 } catch (WantedButNotInvoked e) { in should_print_method_name() 62 } catch (WantedButNotInvoked e) { in should_print_method_name_and_arguments() 218 } catch (WantedButNotInvoked e) { in should_print_method_name_when_verifying_at_least_once() 228 } catch (WantedButNotInvoked e) { in should_print_method_when_matcher_used() 348 } catch (WantedButNotInvoked e) { in should_print_interactions_on_mock_when_ordinary_verification_fail() 360 } catch(WantedButNotInvoked e) { in should_never_break_method_string_when_no_args_in_method() 373 } catch (WantedButNotInvoked e) { in should_print_method_name_and_arguments_of_other_interactions_with_different_methods() 390 } catch (WantedButNotInvoked e) { in should_print_method_name_and_arguments_of_other_interactions_of_same_method()
|
D | OrdinaryVerificationPrintsAllInteractionsTest.java | 10 import org.mockito.exceptions.verification.WantedButNotInvoked; 34 } catch (WantedButNotInvoked e) { in shouldShowAllInteractionsOnMockWhenOrdinaryVerificationFail() 51 } catch (WantedButNotInvoked e) { in shouldNotShowAllInteractionsOnDifferentMock() 61 } catch (WantedButNotInvoked e) { in shouldNotShowAllInteractionsHeaderWhenNoOtherInteractions()
|
D | BasicVerificationTest.java | 13 import org.mockito.exceptions.verification.WantedButNotInvoked; 40 @Test(expected=WantedButNotInvoked.class) 72 } catch (WantedButNotInvoked e) {} in shouldFailOnWrongMethod() 122 } catch(WantedButNotInvoked e) {} in shouldDetectWhenOverloadedMethodCalled()
|
D | OnlyVerificationTest.java | 11 import org.mockito.exceptions.verification.WantedButNotInvoked; 45 } catch (WantedButNotInvoked e) {} in shouldFailIfMethodWasNotInvoked() 65 } catch (WantedButNotInvoked e) {} in shouldFailIfMethodWasInvokedButWithDifferentArguments()
|
D | VerificationUsingMatchersTest.java | 12 import org.mockito.exceptions.verification.WantedButNotInvoked; 62 } catch (WantedButNotInvoked e) { in shouldVerifyUsingSameMatcher()
|
D | VerificationInOrderTest.java | 12 import org.mockito.exceptions.verification.WantedButNotInvoked; 62 } catch (WantedButNotInvoked e) { in shouldMessagesPointToProperMethod()
|
D | DescriptiveMessagesOnVerificationInOrderErrorsTest.java | 13 import org.mockito.exceptions.verification.WantedButNotInvoked; 81 } catch (WantedButNotInvoked e) { in shouldPrintVerificationInOrderErrorAndShowWantedOnly()
|
D | RelaxedVerificationInOrderTest.java | 14 import org.mockito.exceptions.verification.WantedButNotInvoked; 185 @Test(expected=WantedButNotInvoked.class)
|
D | BasicVerificationInOrderTest.java | 14 import org.mockito.exceptions.verification.WantedButNotInvoked; 165 @Test(expected = WantedButNotInvoked.class)
|
D | ExactNumberOfTimesVerificationTest.java | 68 } catch (WantedButNotInvoked e) {} in shouldDetectActualInvocationsCountIsMoreThanZero()
|
/external/mockito/src/main/java/org/mockito/exceptions/verification/ |
D | WantedButNotInvoked.java | 12 public class WantedButNotInvoked extends MockitoAssertionError { class 16 public WantedButNotInvoked(String message) { in WantedButNotInvoked() method in WantedButNotInvoked
|
/external/mockito/src/test/java/org/mockitousage/puzzlers/ |
D | OverloadingPuzzleTest.java | 8 import org.mockito.exceptions.verification.WantedButNotInvoked; 43 } catch (WantedButNotInvoked e) {} in shouldUseArgumentTypeWhenOverloadingPuzzleDetected()
|
/external/mockito/src/test/java/org/mockito/internal/verification/checkers/ |
D | MissingInvocationCheckerTest.java | 15 import org.mockito.exceptions.verification.WantedButNotInvoked; 47 exception.expect(WantedButNotInvoked.class); in shouldReportWantedButNotInvoked()
|
D | MissingInvocationInOrderCheckerTest.java | 14 import org.mockito.exceptions.verification.WantedButNotInvoked; 64 exception.expect(WantedButNotInvoked.class); in shouldReportWantedButNotInvoked()
|
/external/mockito/src/test/java/org/mockitousage/matchers/ |
D | VerificationAndStubbingUsingMatchersTest.java | 10 import org.mockito.exceptions.verification.WantedButNotInvoked; 78 } catch (WantedButNotInvoked e) {} in shouldVerifyUsingMatchers()
|
D | CapturingArgumentsTest.java | 12 import org.mockito.exceptions.verification.WantedButNotInvoked; 112 } catch(WantedButNotInvoked e) { in should_print_captor_matcher()
|
D | MatchersTest.java | 16 import org.mockito.exceptions.verification.WantedButNotInvoked; 322 } catch (WantedButNotInvoked e) { in should_array_equals_deal_with_null_array() 570 } catch (WantedButNotInvoked e) { in delta_matcher_prints_itself()
|
/external/mockito/src/test/java/org/mockitousage/stubbing/ |
D | SmartNullsStubbingTest.java | 12 import org.mockito.exceptions.verification.WantedButNotInvoked; 102 } catch (WantedButNotInvoked e) {} in shouldNotThrowSmartNullPointerOnToString()
|
D | StubbingWithThrowablesTest.java | 34 import org.mockito.exceptions.verification.WantedButNotInvoked; 367 } catch (WantedButNotInvoked e) { in shouldStubbingWithThrowableFailVerification() 373 } catch (WantedButNotInvoked e) { in shouldStubbingWithThrowableFailVerification()
|
/external/mockito/src/test/java/org/mockitousage/stacktrace/ |
D | StackTraceFilteringTest.java | 17 import org.mockito.exceptions.verification.WantedButNotInvoked; 48 } catch (WantedButNotInvoked e) { in shouldFilterStackTraceOnVerify()
|
/external/mockito/src/test/java/org/mockitousage/customization/ |
D | BDDMockitoTest.java | 14 import org.mockito.exceptions.verification.WantedButNotInvoked; 253 @Test(expected = WantedButNotInvoked.class) 320 @Test(expected = WantedButNotInvoked.class)
|
/external/mockito/src/test/java/org/mockito/ |
D | StaticMockingExperimentTest.java | 10 import org.mockito.exceptions.verification.WantedButNotInvoked; 205 } catch (WantedButNotInvoked e) { in verifying_new()
|
/external/mockito/src/main/java/org/mockito/internal/exceptions/ |
D | Reporter.java | 18 import org.mockito.exceptions.verification.WantedButNotInvoked; 317 return new WantedButNotInvoked(createWantedButNotInvokedMessage(wanted)); in wantedButNotInvoked() 337 return new WantedButNotInvoked(message + allInvocations); in wantedButNotInvoked()
|