Home
last modified time | relevance | path

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

/external/mockito/src/test/java/org/mockitousage/stacktrace/
DModellingDescriptiveMessagesTest.java44 verify(mock).otherMethod(); in shouldSayWantedButNotInvoked()
49 mock.otherMethod(); in shouldPointOutInteractionsOnMockWhenOrdinaryVerificationFails()
77 mock.otherMethod(); in shouldSayWantedButNotInvokedInOrder()
79 inOrder.verify(mock).otherMethod(); in shouldSayWantedButNotInvokedInOrder()
86 mock.otherMethod(); in shouldSayTooLittleInvocationsInOrder()
87 mock.otherMethod(); in shouldSayTooLittleInvocationsInOrder()
91 inOrder.verify(mock, times(3)).otherMethod(); in shouldSayTooLittleInvocationsInOrder()
96 mock.otherMethod(); in shouldSayTooManyInvocationsInOrder()
97 mock.otherMethod(); in shouldSayTooManyInvocationsInOrder()
100 inOrder.verify(mock, times(1)).otherMethod(); in shouldSayTooManyInvocationsInOrder()
[all …]
/external/mockito/src/test/java/org/mockito/internal/creation/
DDelegatingMethodTest.java18 private Method someMethod, otherMethod; field in DelegatingMethodTest
24 otherMethod = Something.class.getMethod("otherMethod", Object.class); in setup()
30 DelegatingMethod notEqual = new DelegatingMethod(otherMethod); in equals_should_return_false_when_not_equal()
47 assertFalse(delegatingMethod.equals(otherMethod)); in equals_should_return_false_when_not_equal_to_method()
59 Object otherMethod(Object param); in otherMethod() method
/external/mockito/src/test/java/org/mockitousage/verification/
DFindingRedundantInvocationsInOrderTest.java55 mock.otherMethod(); in shouldVerifyNoMoreInteractionsInOrder()
60 inOrder.verify(mock).otherMethod(); in shouldVerifyNoMoreInteractionsInOrder()
69 mock.otherMethod(); in shouldVerifyNoMoreInteractionsInOrderWithMultipleMocks()
74 inOrder.verify(mock).otherMethod(); in shouldVerifyNoMoreInteractionsInOrderWithMultipleMocks()
83 mock.otherMethod(); in shouldFailToVerifyNoMoreInteractionsInOrder()
99 mock.otherMethod(); in shouldFailToVerifyNoMoreInteractionsInOrderWithMultipleMocks()
DOrdinaryVerificationPrintsAllInteractionsTest.java29 verify(mock).otherMethod(); //verify 1st interaction in shouldShowAllInteractionsOnMockWhenOrdinaryVerificationFail()
75 mock.otherMethod(); in firstInteraction()
DCustomVerificationTest.java33 verify(mock, ignoreParametersUsingOldApi()).otherMethod(); in custom_verification_with_old_api()
DDescriptiveMessagesWhenVerificationFailsTest.java342 mock.otherMethod(); in should_print_interactions_on_mock_when_ordinary_verification_fail()
/external/mockito/src/test/java/org/mockitousage/junitrule/
DStrictJUnitRuleTest.java65 mock.otherMethod(); in test_failure_trumps_unused_stubbings()
114 mock.otherMethod(); //ok, different method in fails_fast_when_stubbing_invoked_with_different_argument()
128 mock.otherMethod(); in verify_no_more_interactions_ignores_stubs()
131 verify(mock).otherMethod(); in verify_no_more_interactions_ignores_stubs()
153 given(mock.otherMethod()).willReturn("foo"); //used and should not be reported in unused_stubs_with_multiple_mocks()
156 mock.otherMethod(); in unused_stubs_with_multiple_mocks()
/external/mockito/src/test/java/org/mockitousage/bugs/
DVerifyingWithAnExtraCallToADifferentMockTest.java26 when(mock.otherMethod()).thenReturn("foo"); in shouldAllowVerifyingWhenOtherMockCallIsInTheSameLine()
32 verify(mockTwo).simpleMethod(mock.otherMethod()); in shouldAllowVerifyingWhenOtherMockCallIsInTheSameLine()
34 verify(mockTwo, never()).simpleMethod(mock.otherMethod()); in shouldAllowVerifyingWhenOtherMockCallIsInTheSameLine()
/external/mockito/src/test/java/org/mockitousage/stubbing/
DStrictStubbingTest.java41 mock.otherMethod(); in few_interactions()
47 mock.otherMethod(); in few_verified_interactions()
51 verify(mock).otherMethod(); in few_verified_interactions()
DStubbingWarningsTest.java42 mock.otherMethod(); in few_interactions()
/external/mockito/src/test/java/org/mockitousage/junitrunner/
DVerboseMockitoRunnerTest.java37 mock.otherMethod(); in test()
57 when(mock.otherMethod()).thenReturn("foo"); in _test()
DModellingVerboseMockitoTest.java36 when(mock.otherMethod()).thenReturn("foo"); in shouldLogUnusedStubbingWarningWhenTestFails()
/external/mockito/src/test/java/org/mockito/internal/util/
DDefaultMockingDetailsTest.java84 mock.otherMethod(); in provides_invocations()
159 when(mock.otherMethod()).thenReturn("2"); in provides_stubbings_of_mock_in_declaration_order()
/external/clang/test/SemaObjCXX/
Dmessage.mm54 + (int*)otherMethod; class
63 + (int *)otherMethod { class
/external/mockito/src/test/java/org/mockitousage/debugging/
DInvocationsPrinterTest.java78 mock.otherMethod(); in triggerInteraction()
/external/mockito/src/test/java/org/mockito/internal/junit/
DArgMismatchFinderTest.java48 mock1.otherMethod(); in no_mismatch_when_method_different()
/external/guice/extensions/assistedinject/src/com/google/inject/assistedinject/
DFactoryProvider2.java374 for (Method otherMethod : otherMethods.get(defaultMethod.getName())) { in FactoryProvider2()
375 if (dataSoFar.containsKey(otherMethod) && isCompatible(defaultMethod, otherMethod)) { in FactoryProvider2()
384 assistDataBuilder.put(defaultMethod, dataSoFar.get(otherMethod)); in FactoryProvider2()
/external/guice/extensions/throwingproviders/test/com/google/inject/throwingproviders/
DCheckedProvidersTest.java75 void otherMethod(); in otherMethod() method
/external/mockito/src/test/java/org/mockitousage/
DIMethods.java113 String otherMethod(); in otherMethod() method
DMethodsImpl.java212 public String otherMethod() { in otherMethod() method in MethodsImpl