/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 | 244 .when(mock).voidMethod(); in should_stub_void_method_and_continue_throwing() 247 mock.voidMethod(); in should_stub_void_method_and_continue_throwing() 251 mock.voidMethod(); in should_stub_void_method_and_continue_throwing() 254 mock.voidMethod(); in should_stub_void_method_and_continue_throwing() 259 mock.voidMethod(); in should_stub_void_method_and_continue_throwing() 270 .voidMethod(); in should_stub_void_method() 272 mock.voidMethod(); in should_stub_void_method() 275 mock.voidMethod(); in should_stub_void_method() 279 mock.voidMethod(); in should_stub_void_method() 280 mock.voidMethod(); in should_stub_void_method() [all …]
|
D | StubbingWithCustomAnswerTest.java | 72 doAnswer(recordCall).when(mock).voidMethod(); in shouldAnswerVoidMethod() 74 mock.voidMethod(); in shouldAnswerVoidMethod() 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 | 78 mock(IMethods.class).voidMethod(); in isVoid_invocationOnVoidMethod_returnTrue() 80 InvocationInfo voidMethod = new InvocationInfo(getLastInvocation()); in isVoid_invocationOnVoidMethod_returnTrue() local 82 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/grpc-grpc-java/core/src/test/java/io/grpc/internal/ |
D | GrpcUtilTest.java | 247 .newStream(TestMethodDescriptors.voidMethod(), new Metadata(), CallOptions.DEFAULT); in getTransportFromPickResult_errorPickResult_failFast() 263 .newStream(TestMethodDescriptors.voidMethod(), new Metadata(), CallOptions.DEFAULT); in getTransportFromPickResult_dropPickResult_waitForReady() 279 .newStream(TestMethodDescriptors.voidMethod(), new Metadata(), CallOptions.DEFAULT); in getTransportFromPickResult_dropPickResult_failFast()
|
D | HedgingPolicyTest.java | 67 MethodDescriptor.Builder<Void, Void> builder = TestMethodDescriptors.voidMethod().toBuilder(); in getHedgingPolicies() 139 MethodDescriptor.Builder<Void, Void> builder = TestMethodDescriptors.voidMethod().toBuilder(); in getRetryPolicies_hedgingDisabled()
|
D | RetryPolicyTest.java | 70 MethodDescriptor.Builder<Void, Void> builder = TestMethodDescriptors.voidMethod().toBuilder(); in getRetryPolicies() 148 MethodDescriptor.Builder<Void, Void> builder = TestMethodDescriptors.voidMethod().toBuilder(); in getRetryPolicies_retryDisabled()
|
D | FailingClientTransportTest.java | 45 .newStream(TestMethodDescriptors.voidMethod(), new Metadata(), CallOptions.DEFAULT); in newStreamStart()
|
D | ForwardingManagedChannelTest.java | 91 MethodDescriptor<Void, Void> method = TestMethodDescriptors.voidMethod(); in newCall()
|
/external/grpc-grpc-java/testing/src/main/java/io/grpc/testing/ |
D | TestMethodDescriptors.java | 42 public static MethodDescriptor<Void, Void> voidMethod() { in voidMethod() method in TestMethodDescriptors
|
/external/mockito/src/test/java/org/mockitousage/serialization/ |
D | ParallelSerializationTest.java | 76 case 6 : iMethods.voidMethod(); break; in randomCallOn()
|
/external/grpc-grpc-java/cronet/src/test/java/io/grpc/cronet/ |
D | CronetChannelBuilderTest.java | 48 private MethodDescriptor<?, ?> method = TestMethodDescriptors.voidMethod();
|
D | CronetClientTransportTest.java | 58 private MethodDescriptor<Void, Void> descriptor = TestMethodDescriptors.voidMethod();
|
D | CronetClientStreamTest.java | 82 private MethodDescriptor<?, ?> method = TestMethodDescriptors.voidMethod();
|
/external/grpc-grpc-java/core/src/test/java/io/grpc/util/ |
D | UtilServerInterceptorsTest.java | 49 private MethodDescriptor<Void, Void> flowMethod = TestMethodDescriptors.voidMethod();
|
/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/grpc-grpc-java/core/src/test/java/io/grpc/ |
D | ClientInterceptorsTest.java | 61 private final MethodDescriptor<Void, Void> method = TestMethodDescriptors.voidMethod();
|
/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 | 331 MethodId<?, Void> voidMethod = TEST_TYPE.getMethod(TypeId.VOID, "voidMethod"); in testInvokeVoidMethodIgnoresTargetLocal() local 335 code.invokeStatic(voidMethod, null); in testInvokeVoidMethodIgnoresTargetLocal() 342 public static void voidMethod() {} in voidMethod() method in DexMakerTest
|