/external/mockito/src/test/java/org/mockito/internal/stubbing/answers/ |
D | ReturnsTest.java | 22 new Returns("one").validateFor(new InvocationBuilder().method("voidMethod").toInvocation()); in should_fail_when_return_Value_is_set_for_void_method() 27 new Returns("one").validateFor(new InvocationBuilder().simpleMethod().toInvocation()); in should_allow_correct_type_of_return_value() 28 …new Returns(false).validateFor(new InvocationBuilder().method("booleanReturningMethod").toInvocati… in should_allow_correct_type_of_return_value() 29 …new Returns(TRUE).validateFor(new InvocationBuilder().method("booleanObjectReturningMethod").toInv… in should_allow_correct_type_of_return_value() 30 …new Returns(1).validateFor(new InvocationBuilder().method("integerReturningMethod").toInvocation()… in should_allow_correct_type_of_return_value() 31 … new Returns(1L).validateFor(new InvocationBuilder().method("longReturningMethod").toInvocation()); in should_allow_correct_type_of_return_value() 32 …new Returns(1L).validateFor(new InvocationBuilder().method("longObjectReturningMethod").toInvocati… in should_allow_correct_type_of_return_value() 33 …new Returns(null).validateFor(new InvocationBuilder().method("objectReturningMethodNoArgs").toInvo… in should_allow_correct_type_of_return_value() 34 …new Returns(1).validateFor(new InvocationBuilder().method("objectReturningMethodNoArgs").toInvocat… in should_allow_correct_type_of_return_value() 39 …new Returns("String").validateFor(new InvocationBuilder().method("booleanReturningMethod").toInvoc… in should_fail_on_return_type_mismatch() [all …]
|
D | ReturnsArgumentAtTest.java | 46 … new ReturnsArgumentAt(1).validateFor(new InvocationBuilder().method("varargsReturningString") in should_identify_bad_parameter_type_for_invocation() 53 new ReturnsArgumentAt(0).validateFor(new InvocationBuilder().method("oneArray") in should_identify_bad_parameter_type_for_invocation() 60 … new ReturnsArgumentAt(0).validateFor(new InvocationBuilder().method("mixedVarargsReturningString") in should_identify_bad_parameter_type_for_invocation() 70 … new ReturnsArgumentAt(1).validateFor(new InvocationBuilder().method("mixedVarargsReturningString") in should_not_scream_when_mixed_vararg_parameter_is_compatible_with_invocation() 82 new ReturnsArgumentAt(1).validateFor(mixedVarargsReturningStringArray); in should_handle_returning_vararg_as_array() 89 new ReturnsArgumentAt(1).validateFor(mixedVarargsReturningObjectArray); in should_handle_returning_vararg_as_array() 108 new ReturnsArgumentAt(0).validateFor( in should_allow_possible_argument_types() 114 new ReturnsArgumentAt(0).validateFor( in should_allow_possible_argument_types() 120 new ReturnsArgumentAt(2).validateFor( in should_allow_possible_argument_types() 126 new ReturnsArgumentAt(1).validateFor( in should_allow_possible_argument_types() [all …]
|
D | ThrowsExceptionTest.java | 65 new ThrowsException(null).validateFor(invocation); in should_invalidate_null_throwable() 82 new ThrowsException(new CharacterCodingException()).validateFor(createMethodInvocation()); in should_pass_proper_checked_exception() 87 new ThrowsException(new IOException()).validateFor(createMethodInvocation()); in should_fail_invalid_checked_exception() 92 new ThrowsException(new Error()).validateFor(createMethodInvocation()); in should_pass_RuntimeExceptions() 93 new ThrowsException(new RuntimeException()).validateFor(createMethodInvocation()); in should_pass_RuntimeExceptions()
|
D | DoesNothingTest.java | 48 doesNothing().validateFor(invocation_String); in validateFor_nonVoidReturnType_shouldFail() 53 doesNothing().validateFor(invocation_void); in validateFor_voidReturnType_shouldPass() 58 doesNothing().validateFor(invocation_Void); in validateFor_voidObjectReturnType()
|
D | CallsRealMethodsTest.java | 39 new CallsRealMethods().validateFor(invocationOnInterface); in should_fail_when_calling_real_method_on_interface() 52 new CallsRealMethods().validateFor(invocationOnClass); in should_be_OK_when_calling_real_method_on_concrete_class()
|
D | AnswersWithDelayTest.java | 24 …new AnswersWithDelay(1, new Returns("one")).validateFor(new InvocationBuilder().method("voidMethod… in should_fail_when_contained_answer_should_fail() 29 …new AnswersWithDelay(1, new Returns("one")).validateFor(new InvocationBuilder().simpleMethod().toI… in should_succeed_when_contained_answer_should_succeed()
|
/external/mockito/src/main/java/org/mockito/internal/stubbing/answers/ |
D | AnswersWithDelay.java | 41 public void validateFor(final InvocationOnMock invocation) { in validateFor() method in AnswersWithDelay 43 ((ValidableAnswer) answer).validateFor(invocation); in validateFor()
|
D | DoesNothing.java | 33 public void validateFor(InvocationOnMock invocation) { in validateFor() method in DoesNothing
|
D | CallsRealMethods.java | 47 public void validateFor(InvocationOnMock invocation) { in validateFor() method in CallsRealMethods
|
D | Returns.java | 30 public void validateFor(InvocationOnMock invocation) { in validateFor() method in Returns
|
D | ThrowsException.java | 54 public void validateFor(InvocationOnMock invocation) { in validateFor() method in ThrowsException
|
D | ReturnsArgumentAt.java | 68 public void validateFor(InvocationOnMock invocation) { in validateFor() method in ReturnsArgumentAt
|
/external/mockito/src/main/java/org/mockito/stubbing/ |
D | ValidableAnswer.java | 91 void validateFor(InvocationOnMock invocation); in validateFor() method
|
/external/mockito/src/main/java/org/mockito/internal/stubbing/ |
D | InvocationContainerImpl.java | 70 ((ValidableAnswer) answer).validateFor(invocation); in addAnswer()
|
/external/v8/src/inspector/build/closure-compiler/ |
D | closure-compiler.jar | META-INF/MANIFEST.MF
META-INF/
com/
com/google/
com/ ... |