Home
last modified time | relevance | path

Searched refs:applierCaptor (Results 1 – 2 of 2) sorted by relevance

/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/
DCallCredentialsApplyingTest.java245 ArgumentCaptor<MetadataApplier> applierCaptor = ArgumentCaptor.forClass(null); in applyMetadata_delayed() local
247 same(mockExecutor), applierCaptor.capture()); in applyMetadata_delayed()
252 applierCaptor.getValue().apply(headers); in applyMetadata_delayed()
267 ArgumentCaptor<MetadataApplier> applierCaptor = ArgumentCaptor.forClass(null); in fail_delayed() local
269 same(mockExecutor), applierCaptor.capture()); in fail_delayed()
272 applierCaptor.getValue().fail(error); in fail_delayed()
DManagedChannelImplTest.java1447 ArgumentCaptor<MetadataApplier> applierCaptor = ArgumentCaptor.forClass(MetadataApplier.class); in informationPropagatedToNewStreamAndCallCredentials() local
1449 same(executor.getScheduledExecutorService()), applierCaptor.capture()); in informationPropagatedToNewStreamAndCallCredentials()
1458 applierCaptor.getValue().apply(new Metadata()); in informationPropagatedToNewStreamAndCallCredentials()
1472 same(executor.getScheduledExecutorService()), applierCaptor.capture()); in informationPropagatedToNewStreamAndCallCredentials()
1482 applierCaptor.getValue().apply(new Metadata()); in informationPropagatedToNewStreamAndCallCredentials()