/external/mockito/src/test/java/org/mockito/internal/stubbing/ |
D | InvocationContainerImplStubbingTest.java | 68 Invocation differentMethod = new InvocationBuilder().differentMethod().toInvocation(); in should_get_results_for_methods() local 69 … invocationContainerImpl.setInvocationForPotentialStubbing(new InvocationMatcher(differentMethod)); in should_get_results_for_methods() 75 invocationContainerImpl.answerTo(differentMethod); in should_get_results_for_methods() 85 Invocation differentMethod = new InvocationBuilder().differentMethod().toInvocation(); in should_get_results_for_methods_stub_only() local 86 …ionContainerImplStubOnly.setInvocationForPotentialStubbing(new InvocationMatcher(differentMethod)); in should_get_results_for_methods_stub_only() 92 invocationContainerImplStubOnly.answerTo(differentMethod); in should_get_results_for_methods_stub_only()
|
/external/mockito/src/test/java/org/mockitousage/verification/ |
D | VerificationInOrderTest.java | 56 mockTwo.differentMethod(); in shouldMessagesPointToProperMethod() 60 inOrder.verify(mockOne, atLeastOnce()).differentMethod(); in shouldMessagesPointToProperMethod() 71 mockTwo.differentMethod(); in shouldVerifyInOrderWhenTwoChunksAreEqual() 76 inOrder.verify(mockTwo).differentMethod(); in shouldVerifyInOrderWhenTwoChunksAreEqual() 88 mockTwo.differentMethod(); in shouldVerifyInOrderUsingMatcher() 95 inOrder.verify(mockTwo).differentMethod(); in shouldVerifyInOrderUsingMatcher()
|
D | DescriptiveMessagesOnVerificationInOrderErrorsTest.java | 79 inOrder.verify(one).differentMethod(); in shouldPrintVerificationInOrderErrorAndShowWantedOnly()
|
D | SelectedMocksInOrderVerificationTest.java | 86 inOrder.verify(mockOne).differentMethod(); in shouldFailVerificationForMockOne()
|
D | RelaxedVerificationInOrderTest.java | 187 inOrder.verify(mockTwo, atLeastOnce()).differentMethod(); in shouldFailOnWrongMethodCalledOnMockTwo()
|
/external/mockito/src/test/java/org/mockitousage/strictness/ |
D | StrictnessPerStubbingTest.java | 45 lenient().when(mock.differentMethod("2")).thenReturn("2"); in potential_stubbing_problem() 48 mock.differentMethod("200"); in potential_stubbing_problem() 219 lenient().when(mock.differentMethod("2")).thenReturn("2"); in unnecessary_stubbing() 237 lenient().doReturn("2").when(mock).differentMethod("2"); in unnecessary_stubbing_with_doReturn() 247 lenient().when(mock.differentMethod("2")).thenReturn("2"); in verify_no_more_invocations() 251 mock.differentMethod("200"); // <- different arg in verify_no_more_invocations()
|
D | StrictnessPerStubbingWithRunnerTest.java | 29 lenient().when(mock.differentMethod("2")).thenReturn("2"); in potential_stubbing_problem() 32 mock.differentMethod("200"); in potential_stubbing_problem() 49 lenient().when(mock.differentMethod("2")).thenReturn("2"); in unnecessary_stubbing()
|
D | StrictnessWithRulesTest.java | 31 lenient().when(mock.differentMethod("2")).thenReturn("2"); in potential_stubbing_problem() 34 mock.differentMethod("200"); in potential_stubbing_problem() 51 lenient().when(mock.differentMethod("2")).thenReturn("2"); in unnecessary_stubbing()
|
/external/mockito/src/test/java/org/mockito/internal/verification/checkers/ |
D | AtLeastXNumberOfInvocationsCheckerTest.java | 32 Invocation invocationTwo = new InvocationBuilder().differentMethod().toInvocation(); in shouldMarkActualInvocationsAsVerifiedInOrder() 46 Invocation invocationTwo = new InvocationBuilder().differentMethod().toInvocation(); in shouldReportTooLittleInvocationsInOrder() 63 Invocation invocationTwo = new InvocationBuilder().differentMethod().toInvocation(); in shouldMarkActualInvocationsAsVerified() 76 Invocation invocationTwo = new InvocationBuilder().differentMethod().toInvocation(); in shouldReportTooLittleInvocations()
|
D | MissingInvocationCheckerTest.java | 80 return new InvocationBuilder().mock(mock).differentMethod(); in buildDifferentMethod()
|
D | MissingInvocationInOrderCheckerTest.java | 117 return new InvocationBuilder().mock(mock).differentMethod(); in buildDifferentMethod()
|
/external/mockito/src/test/java/org/mockito/internal/exceptions/util/ |
D | ScenarioPrinterTest.java | 26 Invocation unverified = new InvocationBuilder().differentMethod().toInvocation(); in shouldPrintInvocations() 40 Invocation unverified = new InvocationBuilder().differentMethod().toInvocation(); in shouldNotPrintInvocationsWhenSingleUnwanted()
|
/external/mockito/src/test/java/org/mockitousage/ |
D | IMethods.java | 109 String differentMethod(); in differentMethod() method 111 String differentMethod(String argument); in differentMethod() method
|
D | MethodsImpl.java | 204 public String differentMethod() { in differentMethod() method in MethodsImpl 208 public String differentMethod(String argument) { in differentMethod() method in MethodsImpl
|
/external/mockito/src/test/java/org/mockito/internal/invocation/ |
D | InvocationsFinderTest.java | 45 …differentMethodInvocation = new InvocationBuilder().mock(mock).differentMethod().seq(3).toInvocati… in setup() 123 …Invocation overloadedDifferentMethod = new InvocationBuilder().differentMethod().arg("test").toInv… in shouldFindInvocationWithTheSameMethod()
|
D | InvocationBuilder.java | 119 public InvocationBuilder differentMethod() { in differentMethod() method in InvocationBuilder
|
D | InvocationMatcherTest.java | 80 Invocation different = new InvocationBuilder().mock(mock).differentMethod().toInvocation(); in should_know_if_is_similar_to()
|
/external/mockito/src/test/java/org/mockitousage/serialization/ |
D | ParallelSerializationTest.java | 75 case 5 : iMethods.differentMethod(); break; in randomCallOn()
|
/external/mockito/src/test/java/org/mockito/internal/debugging/ |
D | WarningsFinderTest.java | 42 …InvocationMatcher unstubbedInvocation = new InvocationBuilder().differentMethod().toInvocationMatc… in shouldPrintUnstubbedInvocation()
|
/external/mockito/src/test/java/org/mockitousage/internal/junit/ |
D | UnusedStubbingsFinderTest.java | 111 lenient().when(mock2.differentMethod()).thenReturn("4"); //will not be included in results in some_unused_stubbings_by_location()
|