Home
last modified time | relevance | path

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

/external/mockito/src/test/java/org/mockitousage/stacktrace/
DModellingDescriptiveMessagesTest.java43 verify(mock).otherMethod(); in shouldSayWantedButNotInvoked()
48 mock.otherMethod(); in shouldPointOutInteractionsOnMockWhenOrdinaryVerificationFails()
76 mock.otherMethod(); in shouldSayWantedButNotInvokedInOrder()
78 inOrder.verify(mock).otherMethod(); in shouldSayWantedButNotInvokedInOrder()
85 mock.otherMethod(); in shouldSayTooLittleInvocationsInOrder()
86 mock.otherMethod(); in shouldSayTooLittleInvocationsInOrder()
90 inOrder.verify(mock, times(3)).otherMethod(); in shouldSayTooLittleInvocationsInOrder()
95 mock.otherMethod(); in shouldSayTooManyInvocationsInOrder()
96 mock.otherMethod(); in shouldSayTooManyInvocationsInOrder()
99 inOrder.verify(mock, times(1)).otherMethod(); in shouldSayTooManyInvocationsInOrder()
[all …]
/external/mockito/src/test/java/org/mockito/internal/creation/
DDelegatingMethodTest.java14 private Method someMethod, otherMethod; field in DelegatingMethodTest
20 otherMethod = Something.class.getMethod("otherMethod", Object.class); in setup()
26 DelegatingMethod notEqual = new DelegatingMethod(otherMethod); in equals_should_return_false_when_not_equal()
43 assertFalse(delegatingMethod.equals(otherMethod)); in equals_should_return_false_when_not_equal_to_method()
55 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.java59 mock.otherMethod(); in test_failure_trumps_unused_stubbings()
108 mock.otherMethod(); //ok, different method in fails_fast_when_stubbing_invoked_with_different_argument()
122 mock.otherMethod(); in verify_no_more_interactions_ignores_stubs()
125 verify(mock).otherMethod(); in verify_no_more_interactions_ignores_stubs()
147 given(mock.otherMethod()).willReturn("foo"); //used and should not be reported in unused_stubs_with_multiple_mocks()
150 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.java37 mock.otherMethod(); in few_interactions()
43 mock.otherMethod(); in few_verified_interactions()
47 verify(mock).otherMethod(); in few_verified_interactions()
DStubbingWarningsTest.java25 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/r8/src/test/examples/classmerging/
DGenericAbstractClass.java10 public T otherMethod() { in otherMethod() method in GenericAbstractClass
DGenericAbstractClassImpl.java14 public String otherMethod() { in otherMethod() method in GenericAbstractClassImpl
DTest.java26 System.out.println(clazz.otherMethod()); in callMethodOnAbstractClass()
/external/mockito/src/test/java/org/mockito/internal/util/
DDefaultMockingDetailsTest.java72 mock.otherMethod(); in provides_invocations()
147 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.java75 mock.otherMethod(); in triggerInteraction()
/external/mockito/src/test/java/org/mockito/internal/junit/
DArgMismatchFinderTest.java46 mock1.otherMethod(); in no_mismatch_when_method_different()
/external/guice/extensions/assistedinject/src/com/google/inject/assistedinject/
DFactoryProvider2.java337 for (Method otherMethod : otherMethods.get(defaultMethod.getName())) { in FactoryProvider2()
338 if (dataSoFar.containsKey(otherMethod) && isCompatible(defaultMethod, otherMethod)) { in FactoryProvider2()
346 assistDataBuilder.put(defaultMethod, dataSoFar.get(otherMethod)); in FactoryProvider2()
/external/mockito/src/test/java/org/mockitousage/
DIMethods.java113 String otherMethod(); in otherMethod() method
DMethodsImpl.java212 public String otherMethod() { in otherMethod() method in MethodsImpl