Home
last modified time | relevance | path

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

/external/grpc-grpc-java/testing/src/main/java/io/grpc/internal/testing/
DStatsTestUtils.java165 public FakeTagContext empty() { in empty()
166 return FakeTagContext.EMPTY; in empty()
254 public static final class FakeTagContext extends TagContext { class in StatsTestUtils
256 private static final FakeTagContext EMPTY =
257 new FakeTagContext(ImmutableMap.<TagKey, TagValue>of());
261 private FakeTagContext(ImmutableMap<TagKey, TagValue> tags) { in FakeTagContext() method in StatsTestUtils.FakeTagContext
309 FakeTagContext context = new FakeTagContext(ImmutableMap.copyOf(tagsBuilder));
321 return tags instanceof FakeTagContext
322 ? ((FakeTagContext) tags).getTags()
/external/grpc-grpc-java/interop-testing/src/main/java/io/grpc/testing/integration/
DAbstractInteropTest.java73 import io.grpc.internal.testing.StatsTestUtils.FakeTagContext;
1482 FakeTagContext statsCtx = (FakeTagContext) TAG_CONTEXT_KEY.get(serverCtx); in censusContextsPropagated()