Home
last modified time | relevance | path

Searched refs:getAllValues (Results 1 – 21 of 21) sorted by relevance

/external/mockito/src/test/java/org/mockitousage/verification/
DVerificationWithAfterAndCaptorTest.java53 assertThat(captor.getAllValues()).containsExactly('0', '1', '2'); in shouldReturnListOfArgumentsWithSameSizeAsGivenInAtMostVerification()
67 assertEquals(n, captor.getAllValues().size()); in shouldReturnListOfArgumentsWithSameSizeAsGivenInTimesVerification()
68 assertEquals('0', (char) captor.getAllValues().get(0)); in shouldReturnListOfArgumentsWithSameSizeAsGivenInTimesVerification()
69 assertEquals('1', (char) captor.getAllValues().get(1)); in shouldReturnListOfArgumentsWithSameSizeAsGivenInTimesVerification()
70 assertEquals('2', (char) captor.getAllValues().get(2)); in shouldReturnListOfArgumentsWithSameSizeAsGivenInTimesVerification()
84 assertEquals(n, captor.getAllValues().size()); in shouldReturnListOfArgumentsWithSameSizeAsGivenInAtLeastVerification()
85 assertEquals('0', (char) captor.getAllValues().get(0)); in shouldReturnListOfArgumentsWithSameSizeAsGivenInAtLeastVerification()
86 assertEquals('1', (char) captor.getAllValues().get(1)); in shouldReturnListOfArgumentsWithSameSizeAsGivenInAtLeastVerification()
87 assertEquals('2', (char) captor.getAllValues().get(2)); in shouldReturnListOfArgumentsWithSameSizeAsGivenInAtLeastVerification()
/external/mockito/src/test/java/org/mockitousage/matchers/
DCapturingArgumentsTest.java86 assertEquals(11, argument.getAllValues().get(0).getAge()); in should_allow_assertions_on_all_captured_arguments()
87 assertEquals(12, argument.getAllValues().get(1).getAge()); in should_allow_assertions_on_all_captured_arguments()
170 Assertions.assertThat(argument.getAllValues()).containsOnly("bar"); in should_capture_when_stubbing_only_when_entire_invocation_matches()
193 assertEquals(1, captor.getAllValues().size()); in should_capture_when_full_arg_list_matches()
234 Assertions.assertThat(argumentCaptor.getAllValues()).containsExactly((byte) 1, (byte) 2); in should_capture_byte_vararg_by_creating_captor_with_primitive()
248 Assertions.assertThat(argumentCaptor.getAllValues()).containsExactly((byte) 1, (byte) 2); in should_capture_byte_vararg_by_creating_captor_with_primitive_wrapper()
261 Assertions.assertThat(argumentCaptor.getAllValues()).containsExactly("a", "b", "c"); in should_capture_vararg()
276 … Assertions.assertThat(argumentCaptor.getAllValues()).containsExactly("a", "b", "c", "again ?!"); in should_capture_all_vararg()
289 Assertions.assertThat(argumentCaptor.getAllValues()).containsExactly("a"); in should_capture_one_arg_even_when_using_vararg_captor_on_nonvararg_method()
303 Assertions.assertThat(argumentCaptor.getAllValues()).containsExactly("a", "b", "c"); in captures_correctly_when_captor_used_multiple_times()
DVarargsTest.java342 return Assertions.assertThat(captor.getAllValues()); in assertThat()
/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/
DMessageFramerTest.java234 assertEquals(5, frameCaptor.getAllValues().get(0).readableBytes()); in largerFrameSizeUnknownLength()
238 assertEquals(toWriteBuffer(data), frameCaptor.getAllValues().get(0)); in largerFrameSizeUnknownLength()
240 assertEquals(500, frameCaptor.getAllValues().get(1).readableBytes()); in largerFrameSizeUnknownLength()
241 assertEquals(500, frameCaptor.getAllValues().get(2).readableBytes()); in largerFrameSizeUnknownLength()
262 ByteWritableBuffer buffer = frameCaptor.getAllValues().get(0); in compressed()
271 assertEquals(frameCaptor.getAllValues().get(1).size(), length); in compressed()
286 ByteWritableBuffer buffer = frameCaptor.getAllValues().get(0);
312 ByteWritableBuffer buffer = frameCaptor.getAllValues().get(0);
DCensusModulesTest.java449 List<MessageEvent> events = messageEventCaptor.getAllValues(); in clientBasicTracingDefaultSpan()
913 List<MessageEvent> events = messageEventCaptor.getAllValues(); in serverBasicTracingNoHeaders()
DMessageDeframerTest.java139 List<StreamListener.MessageProducer> streams = producer.getAllValues(); in smallCombinedPayloads()
DManagedChannelImplTest.java584 assertSame(CONNECTING, stateInfoCaptor.getAllValues().get(0).getState()); in noMoreCallbackAfterLoadBalancerShutdown()
585 assertSame(READY, stateInfoCaptor.getAllValues().get(1).getState()); in noMoreCallbackAfterLoadBalancerShutdown()
/external/grpc-grpc-java/examples/src/test/java/io/grpc/examples/routeguide/
DRouteGuideServerTest.java242 result = routeNoteCaptor.getAllValues().get(timesOnNext - 1); in routeChat()
250 result = routeNoteCaptor.getAllValues().get(timesOnNext - 2); in routeChat()
253 result = routeNoteCaptor.getAllValues().get(timesOnNext - 1); in routeChat()
261 result = routeNoteCaptor.getAllValues().get(timesOnNext - 3); in routeChat()
264 result = routeNoteCaptor.getAllValues().get(timesOnNext - 2); in routeChat()
267 result = routeNoteCaptor.getAllValues().get(timesOnNext - 1); in routeChat()
/external/mockito/src/main/java/org/mockito/
DArgumentCaptor.java132 public List<T> getAllValues() { in getAllValues() method in ArgumentCaptor
133 return this.capturingMatcher.getAllValues(); in getAllValues()
/external/mockito/src/test/java/org/mockitousage/bugs/
DArgumentCaptorDontCapturePreviouslyVerifiedTest.java24 assertThat(argument.getAllValues()).hasSize(1); in previous_verified_invocation_should_still_capture_args()
30 assertThat(argument.getAllValues()).hasSize(2); in previous_verified_invocation_should_still_capture_args()
/external/mockito/src/test/java/org/mockito/internal/matchers/
DCapturingMatcherTest.java29 assertThat(m.getAllValues()).containsSequence("foo", "bar"); in should_capture_arguments()
65 Iterator<String> iterator = m.getAllValues().iterator(); in should_not_fail_when_used_in_concurrent_tests()
/external/mockito/src/test/java/org/mockito/internal/invocation/
DInvocationMatcherTest.java131 assertEquals(1, capturingMatcher.getAllValues().size()); in should_capture_arguments_from_invocation()
161 Assertions.assertThat(m.getAllValues()).containsExactly("a", "b"); in should_capture_varargs_as_vararg()
/external/testng/src/main/java/org/testng/xml/
DParameters.java21 public List<String> getAllValues(String name) { in getAllValues() method in Parameters
/external/mockito/src/main/java/org/mockito/internal/matchers/
DCapturingMatcher.java48 public List<T> getAllValues() { in getAllValues() method in CapturingMatcher
/external/grpc-grpc-java/core/src/test/java/io/grpc/util/
DRoundRobinLoadBalancerTest.java152 assertThat(eagCaptor.getAllValues()).containsAllIn(subchannels.keySet()); in pickAfterResolved()
161 assertEquals(CONNECTING, stateCaptor.getAllValues().get(0)); in pickAfterResolved()
162 assertEquals(READY, stateCaptor.getAllValues().get(1)); in pickAfterResolved()
344 Iterator<ConnectivityState> stateIterator = stateCaptor.getAllValues().iterator(); in nameResolutionErrorWithActiveChannels()
379 Iterator<ConnectivityState> stateIterator = stateCaptor.getAllValues().iterator(); in subchannelStateIsolation()
380 Iterator<SubchannelPicker> pickers = pickerCaptor.getAllValues().iterator(); in subchannelStateIsolation()
/external/grpc-grpc-java/netty/src/test/java/io/grpc/netty/
DProtocolNegotiatorsTest.java365 objectCaptor.getAllValues().clear(); in httpProxy_completes()
368 b = (ByteBuf) objectCaptor.getAllValues().get(1); in httpProxy_completes()
DNettyHandlerTestBase.java346 for (ByteBuf buf : captor.getAllValues()) { in captureWrite()
/external/grpc-grpc-java/auth/src/test/java/io/grpc/auth/
DGoogleAuthLibraryCallCredentialsTest.java238 List<Metadata> headerList = headersCaptor.getAllValues(); in credentialsReturnNullMetadata()
/external/grpc-grpc-java/okhttp/src/test/java/io/grpc/okhttp/
DOkHttpClientTransportTest.java665 assertEquals(1, idCaptor.getAllValues().size()); in windowUpdateWithInboundFlowControl()
/external/error_prone/javac/
Djavac-9+181-r4173-1.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/services/ META- ...
/external/dagger2/lib/
Dgoogle-java-format-0.1-20151017.042846-2.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...