/external/mockito/src/test/java/org/mockitousage/stacktrace/ |
D | PointingStackTraceToActualInvocationInOrderTest.java | 55 inOrder.verify(mock, atLeastOnce()).simpleMethod(anyInt()); in shouldPointStackTraceToPreviousVerified() 56 inOrder.verify(mockTwo).simpleMethod(anyInt()); in shouldPointStackTraceToPreviousVerified() 68 inOrder.verify(mock, atLeastOnce()).simpleMethod(anyInt()); in shouldPointToThirdMethod() 80 inOrder.verify(mock).simpleMethod(anyInt()); in shouldPointToSecondMethod() 81 inOrder.verify(mockTwo).simpleMethod(anyInt()); in shouldPointToSecondMethod() 94 inOrder.verify(mock, times(0)).simpleMethod(anyInt()); in shouldPointToFirstMethodBecauseOfTooManyActualInvocations() 103 inOrder.verify(mock).simpleMethod(anyInt()); in shouldPointToSecondMethodBecauseOfTooManyActualInvocations() 106 inOrder.verify(mockTwo, times(0)).simpleMethod(anyInt()); in shouldPointToSecondMethodBecauseOfTooManyActualInvocations() 115 inOrder.verify(mock).simpleMethod(anyInt()); in shouldPointToFourthMethodBecauseOfTooLittleActualInvocations() 116 inOrder.verify(mockTwo).simpleMethod(anyInt()); in shouldPointToFourthMethodBecauseOfTooLittleActualInvocations() [all …]
|
D | PointingStackTraceToActualInvocationChunkInOrderTest.java | 58 inOrder.verify(mock, times(2)).simpleMethod(anyInt()); in shouldPointStackTraceToPreviousInvocation() 59 inOrder.verify(mockTwo, times(2)).simpleMethod(anyInt()); in shouldPointStackTraceToPreviousInvocation() 71 inOrder.verify(mock, atLeastOnce()).simpleMethod(anyInt()); in shouldPointToThirdInteractionBecauseAtLeastOnceUsed() 83 inOrder.verify(mock, times(2)).simpleMethod(anyInt()); in shouldPointToThirdChunkWhenTooLittleActualInvocations() 84 inOrder.verify(mockTwo, times(2)).simpleMethod(anyInt()); in shouldPointToThirdChunkWhenTooLittleActualInvocations() 85 inOrder.verify(mock, atLeastOnce()).simpleMethod(anyInt()); in shouldPointToThirdChunkWhenTooLittleActualInvocations() 97 inOrder.verify(mock, atLeastOnce()).simpleMethod(anyInt()); in shouldPointToFourthChunkBecauseTooManyActualInvocations() 100 inOrder.verify(mockTwo, times(0)).simpleMethod(anyInt()); in shouldPointToFourthChunkBecauseTooManyActualInvocations()
|
/external/mockito/src/test/java/org/mockitousage/stubbing/ |
D | StubbingWithAdditionalAnswersTest.java | 15 import static org.mockito.BDDMockito.anyInt; 65 given(iMethods.toIntPrimitive(anyInt())).will(returnsFirstArg()); in can_return_primitives_or_wrappers() 66 given(iMethods.toIntWrapper(anyInt())).will(returnsFirstArg()); in can_return_primitives_or_wrappers() 104 given(iMethods.simpleMethod(anyString(), anyInt())) in can_return_based_on_strongly_typed_two_parameter_function() 118 given(iMethods.simpleMethod(anyString(), anyInt())) in will_execute_a_void_based_on_strongly_typed_two_parameter_function() 135 given(iMethods.threeArgumentMethodWithStrings(anyInt(), anyString(), anyString())) in can_return_based_on_strongly_typed_three_parameter_function() 151 given(iMethods.threeArgumentMethodWithStrings(anyInt(), anyString(), anyString())) in will_execute_a_void_based_on_strongly_typed_three_parameter_function() 168 given(iMethods.fourArgumentMethod(anyInt(), anyString(), anyString(), any(boolean[].class))) in can_return_based_on_strongly_typed_four_parameter_function() 185 given(iMethods.fourArgumentMethod(anyInt(), anyString(), anyString(), any(boolean[].class))) in will_execute_a_void_based_on_strongly_typed_four_parameter_function() 203 given(iMethods.simpleMethod(anyString(), anyInt(), anyInt(), anyInt(), anyInt())) in can_return_based_on_strongly_typed_five_parameter_function() [all …]
|
D | DeepStubbingTest.java | 152 when(sf.createSocket(anyString(), anyInt()).getOutputStream()).thenReturn(out); in withAnyPatternArguments() 199 when(sf.createSocket(eq("google.com"), anyInt()).getPort()).thenReturn(b); in withPatternPrimitive()
|
D | StubbingUsingDoReturnTest.java | 46 doReturn("bar").when(mock).simpleMethod(eq("one"), anyInt()); in should_stub_with_args()
|
/external/mockito/src/test/java/org/mockitousage/verification/ |
D | VerificationInOrderTest.java | 92 verify(mockOne, times(4)).simpleMethod(anyInt()); in shouldVerifyInOrderUsingMatcher() 94 inOrder.verify(mockOne, times(2)).simpleMethod(anyInt()); in shouldVerifyInOrderUsingMatcher() 96 inOrder.verify(mockOne, times(2)).simpleMethod(anyInt()); in shouldVerifyInOrderUsingMatcher() 98 inOrder.verify(mockOne, times(3)).simpleMethod(anyInt()); in shouldVerifyInOrderUsingMatcher()
|
D | OnlyVerificationTest.java | 17 import static org.mockito.Matchers.anyInt; 36 verify(mock, only()).get(anyInt()); in shouldVerifyMethodWasInvokedExclusivelyWithMatchersUsage()
|
D | VerificationOnMultipleMocksUsingMatchersTest.java | 34 verify(list).add(anyInt(), eq("test two")); in shouldVerifyUsingMatchers() 59 verify(map, times(2)).put(anyObject(), anyInt()); in shouldVerifyMultipleMocks()
|
D | VerificationUsingMatchersTest.java | 40 verify(mock, times(3)).simpleMethod(anyInt()); in shouldVerifyExactNumberOfInvocationsUsingMatcher()
|
D | DescriptiveMessagesOnVerificationInOrderErrorsTest.java | 169 inOrder.verify(one, atLeastOnce()).simpleMethod(anyInt()); in shouldPrintTooLittleInvocations()
|
D | DescriptiveMessagesWhenVerificationFailsTest.java | 226 verify(mock, atLeastOnce()).twoArgumentMethod(anyInt(), eq(100)); in should_print_method_when_matcher_used()
|
/external/mockito/src/test/java/org/mockitousage/bugs/ |
D | AIOOBExceptionWithAtLeastTest.java | 30 verify(progressMonitor).beginTask(anyString(), anyInt()); in testCompleteProgress() 31 verify(progressMonitor, atLeastOnce()).worked(anyInt()); in testCompleteProgress()
|
/external/mockito/src/test/java/org/mockitousage/misuse/ |
D | DetectingMisusedMatchersTest.java | 20 import static org.mockito.Mockito.anyInt; 46 anyInt(); in misplaced_anyInt_argument_matcher()
|
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/ |
D | EditTextTest.java | 6 import static org.mockito.Matchers.anyInt; 82 … when(attrs.getAttributeIntValue(eq("android"), eq("maxLength"), anyInt())).thenReturn(maxLength); in attributeSetWithMaxLength()
|
/external/mockito/src/test/java/org/mockitousage/matchers/ |
D | VerificationAndStubbingUsingMatchersTest.java | 68 verify(one).simpleMethod(anyInt()); in shouldVerifyUsingMatchers()
|
D | AnyXMatchersAcceptNullsTest.java | 59 when(mock.forInteger(anyInt())).thenReturn("0"); in shouldNotAcceptNullInAllAnyPrimitiveWrapperMatchers()
|
D | MatchersTest.java | 44 import static org.mockito.Mockito.anyInt; 285 when(mock.oneArg(anyInt())).thenReturn("5"); in any_T_matcher() 438 when(mock.oneArg(anyInt())).thenReturn("other"); in or_matcher()
|
/external/mockito/src/main/java/org/mockito/ |
D | ArgumentMatchers.java | 350 public static int anyInt() { in anyInt() method in ArgumentMatchers
|
/external/easymock/src/org/easymock/ |
D | EasyMock.java | 243 public static int anyInt() { in anyInt() method in EasyMock
|
/external/guice/lib/build/ |
D | easymock.jar | META-INF/
META-INF/MANIFEST.MF
org/
org/easymock/
org/ ... |
/external/guice/extensions/persist/lib/ |
D | easymock.jar | META-INF/
META-INF/MANIFEST.MF
org/
org/easymock/
org/ ... |
/external/robolectric/v1/lib/test/ |
D | mockito-core-1.8.5.jar | META-INF/
META-INF/MANIFEST.MF
org/
org/mockito/
org/ ... |