/external/mockito/src/test/java/org/mockitousage/verification/ |
D | VerificationInOrderWithCallsTest.java | 90 mockOne.voidMethod(); in shouldFailWhenDifferentMethodCallsAreOutOfSequence() 93 verifier.verify( mockOne, calls(1)).voidMethod(); in shouldFailWhenDifferentMethodCallsAreOutOfSequence() 109 mockOne.voidMethod(); in shouldFailWhenMethodCallsOnDifferentMocksAreOutOfSequence() 110 mockTwo.voidMethod(); in shouldFailWhenMethodCallsOnDifferentMocksAreOutOfSequence() 113 verifier.verify( mockTwo, calls(1)).voidMethod(); in shouldFailWhenMethodCallsOnDifferentMocksAreOutOfSequence() 121 verifier.verify( mockOne, calls(1)).voidMethod(); in shouldFailWhenMethodCallsOnDifferentMocksAreOutOfSequence() 151 mockOne.voidMethod(); in shouldAllowSequentialCallsToCallsForDifferentMethods() 152 mockOne.voidMethod(); in shouldAllowSequentialCallsToCallsForDifferentMethods() 159 verifier.verify( mockOne, calls(2)).voidMethod(); in shouldAllowSequentialCallsToCallsForDifferentMethods() 170 mockOne.voidMethod(); in shouldAllowSequentialCallsToCallsForMethodsOnDifferentMocks() [all …]
|
/external/mockito/src/test/java/org/mockitousage/stubbing/ |
D | StubbingConsecutiveAnswersTest.java | 216 .when(mock).voidMethod(); in should_stub_void_method_and_continue_throwing() 219 mock.voidMethod(); in should_stub_void_method_and_continue_throwing() 223 mock.voidMethod(); in should_stub_void_method_and_continue_throwing() 226 mock.voidMethod(); in should_stub_void_method_and_continue_throwing() 231 mock.voidMethod(); in should_stub_void_method_and_continue_throwing() 242 .voidMethod(); in should_stub_void_method() 244 mock.voidMethod(); in should_stub_void_method() 247 mock.voidMethod(); in should_stub_void_method() 251 mock.voidMethod(); in should_stub_void_method() 252 mock.voidMethod(); in should_stub_void_method() [all …]
|
D | StubbingWithCustomAnswerTest.java | 72 doAnswer(recordCall).when(mock).voidMethod(); in shoudAnswerVoidMethod() 74 mock.voidMethod(); in shoudAnswerVoidMethod() 86 .when(mock).voidMethod(); in shouldAnswerVoidMethodConsecutively() 88 mock.voidMethod(); in shouldAnswerVoidMethodConsecutively() 93 mock.voidMethod(); in shouldAnswerVoidMethodConsecutively() 98 mock.voidMethod(); in shouldAnswerVoidMethodConsecutively()
|
D | StubbingUsingDoReturnTest.java | 57 doThrow(new FooRuntimeException()).when(mock).voidMethod(); in should_stub_with_throwable() 59 mock.voidMethod(); in should_stub_with_throwable() 89 doReturn("foo").when(mock).voidMethod(); in should_scream_when_return_set_for_void() 178 .when(mock).voidMethod(); in should_allow_chained_stubbing_on_void_methods() 180 mock.voidMethod(); in should_allow_chained_stubbing_on_void_methods() 181 mock.voidMethod(); in should_allow_chained_stubbing_on_void_methods() 183 mock.voidMethod(); in should_allow_chained_stubbing_on_void_methods() 187 mock.voidMethod(); in should_allow_chained_stubbing_on_void_methods()
|
/external/mockito/src/test/java/org/mockitousage/customization/ |
D | BDDMockitoTest.java | 129 willThrow(new SomethingWasWrong()).given(mock).voidMethod(); in should_stub_void() 132 mock.voidMethod(); in should_stub_void() 140 willThrow(SomethingWasWrong.class).given(mock).voidMethod(); in should_stub_void_with_exception_class() 143 mock.voidMethod(); in should_stub_void_with_exception_class() 152 willThrow(SomethingWasWrong.class, AnotherThingWasWrong.class).given(mock).voidMethod(); in should_stub_void_with_exception_classes() 155 mock.voidMethod(); in should_stub_void_with_exception_classes() 165 .given(mock).voidMethod(); in should_stub_void_consecutively() 167 mock.voidMethod(); in should_stub_void_consecutively() 169 mock.voidMethod(); in should_stub_void_consecutively() 179 .given(mock).voidMethod(); in should_stub_void_consecutively_with_exception_class() [all …]
|
/external/mockito/src/test/java/org/mockito/internal/stubbing/answers/ |
D | InvocationInfoTest.java | 82 mock(IMethods.class).voidMethod(); in isVoid_invocationOnVoidMethod_returnTrue() 84 InvocationInfo voidMethod = new InvocationInfo(getLastInvocation()); in isVoid_invocationOnVoidMethod_returnTrue() local 86 assertThat(voidMethod.isVoid()).isTrue(); in isVoid_invocationOnVoidMethod_returnTrue()
|
D | DoesNothingTest.java | 29 mock.voidMethod(); in init()
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/Events/ |
D | MethodExitWithReturnValueDebuggee.java | 96 public void voidMethod() { in voidMethod() method in MethodExitWithReturnValueDebuggee 129 voidMethod(); in run()
|
/external/mockito/src/test/java/org/mockitousage/serialization/ |
D | ParallelSerializationTest.java | 76 case 6 : iMethods.voidMethod(); break; in randomCallOn()
|
/external/mockito/src/test/java/org/mockitousage/ |
D | IMethods.java | 189 void voidMethod(); in voidMethod() method
|
D | MethodsImpl.java | 358 public void voidMethod() { in voidMethod() method in MethodsImpl
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/ |
D | OptionalMethodTest.java | 41 public void voidMethod() {} in voidMethod() method in OptionalMethodTest.BaseClass
|
/external/guava/guava-testlib/test/com/google/common/testing/ |
D | ClassSanityTesterTest.java | 73 public void voidMethod() { in voidMethod() method in ClassSanityTesterTest.GoodEqualsFactory
|
/external/dexmaker/dexmaker-tests/src/androidTest/java/com/android/dx/ |
D | DexMakerTest.java | 319 MethodId<?, Void> voidMethod = TEST_TYPE.getMethod(TypeId.VOID, "voidMethod"); in testInvokeVoidMethodIgnoresTargetLocal() local 323 code.invokeStatic(voidMethod, null); in testInvokeVoidMethodIgnoresTargetLocal() 330 public static void voidMethod() {} in voidMethod() method in DexMakerTest
|