Home
last modified time | relevance | path

Searched refs:headersCaptor (Results 1 – 3 of 3) sorted by relevance

/external/grpc-grpc-java/auth/src/test/java/io/grpc/auth/
DGoogleAuthLibraryCallCredentialsTest.java95 private ArgumentCaptor<Metadata> headersCaptor; field in GoogleAuthLibraryCallCredentialsTest
158 verify(applier).apply(headersCaptor.capture()); in copyCredentialsToHeaders()
159 Metadata headers = headersCaptor.getValue(); in copyCredentialsToHeaders()
234 verify(applier, times(3)).apply(headersCaptor.capture()); in credentialsReturnNullMetadata()
235 List<Metadata> headerList = headersCaptor.getAllValues(); in credentialsReturnNullMetadata()
262 verify(applier).apply(headersCaptor.capture()); in oauth2Credential()
263 Metadata headers = headersCaptor.getValue(); in oauth2Credential()
280 verify(applier).apply(headersCaptor.capture()); in googleCredential_privacyAndIntegrityAllowed()
281 Metadata headers = headersCaptor.getValue(); in googleCredential_privacyAndIntegrityAllowed()
334 verify(applier).apply(headersCaptor.capture()); in serviceAccountToJwt()
[all …]
/external/grpc-grpc-java/okhttp/src/test/java/io/grpc/okhttp/
DOkHttpClientStreamTest.java64 @Captor private ArgumentCaptor<List<Header>> headersCaptor; field in OkHttpClientStreamTest
156 verify(frameWriter).synStream(eq(false), eq(false), eq(3), eq(0), headersCaptor.capture()); in start_userAgentRemoved()
157 assertThat(headersCaptor.getValue()) in start_userAgentRemoved()
171 verify(frameWriter).synStream(eq(false), eq(false), eq(3), eq(0), headersCaptor.capture()); in start_headerFieldOrder()
172 assertThat(headersCaptor.getValue()).containsExactly( in start_headerFieldOrder()
200 eq(false), eq(false), eq(3), eq(0), headersCaptor.capture()); in getUnaryRequest()
210 .synStream(eq(true), eq(false), eq(3), eq(0), headersCaptor.capture()); in getUnaryRequest()
211 assertThat(headersCaptor.getValue()).contains(Headers.METHOD_GET_HEADER); in getUnaryRequest()
212 assertThat(headersCaptor.getValue()).contains( in getUnaryRequest()
/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/
DAbstractClientStreamTest.java436 ArgumentCaptor<Metadata> headersCaptor = ArgumentCaptor.forClass(Metadata.class); in deadlineTimeoutPopulatedToHeaders() local
437 verify(sink).writeHeaders(headersCaptor.capture(), any(byte[].class)); in deadlineTimeoutPopulatedToHeaders()
439 Metadata headers = headersCaptor.getValue(); in deadlineTimeoutPopulatedToHeaders()