Home
last modified time | relevance | path

Searched refs:intReturningMethod (Results 1 – 9 of 9) sorted by relevance

/external/mockito/src/test/java/org/mockito/internal/handler/
DMockHandlerFactoryTest.java35 mock.intReturningMethod(); in handle_result_must_not_be_null_for_primitives()
53 mock.intReturningMethod(); in valid_handle_result_is_permitted()
/external/mockito/src/test/java/org/mockitousage/annotation/
DAnnotationsTest.java89 assertEquals(0, returningDefaults.intReturningMethod()); in shouldInitMocksWithGivenSettings()
94 assertEquals(0, noExtraConfig.intReturningMethod()); in shouldInitMocksWithGivenSettings()
/external/mockito/src/test/java/org/mockitousage/stubbing/
DStubbingUsingDoReturnTest.java255 doReturn(null).when(mock).intReturningMethod(); in should_detect_when_null_assigned_to_boolean()
266 doReturn(1).when(mock).intReturningMethod(); in should_allow_stubbing_when_types_match_signature()
267 doReturn(2).when(mock).intReturningMethod(); in should_allow_stubbing_when_types_match_signature()
DReturningDefaultValuesTest.java31 assertEquals(0, mock.intReturningMethod()); in shouldReturnAllKindsOfPrimitives()
DSmartNullsStubbingTest.java91 assertEquals(0, mock.intReturningMethod()); in shouldReturnOrdinaryEmptyValuesForOrdinaryTypes()
/external/robolectric-shadows/sandbox/src/test/java/org/robolectric/testing/
DAClassToForget.java20 public static int intReturningMethod() { in intReturningMethod() method in AClassToForget
DAClassThatRefersToAForgettableClassInMethodCallsReturningPrimitive.java17 return AClassToForget.intReturningMethod(); in intMethod()
/external/mockito/src/test/java/org/mockitousage/
DIMethods.java29 int intReturningMethod(); in intReturningMethod() method
DMethodsImpl.java44 public int intReturningMethod() { in intReturningMethod() method in MethodsImpl