Package io.grpc.internal.testing
package io.grpc.internal.testing
-
ClassDescriptionA name resolver to always resolve the given URI into the given address.A single name resolver.A
Tagger
implementation that saves metrics records to be accessible fromStatsTestUtils.FakeStatsRecorder.pollRecord()
andStatsTestUtils.FakeStatsRecorder.pollRecord(long, TimeUnit)
, untilStatsTestUtils.FakeStatsRecorder.rolloverRecords()
is called.Mockable implementation for theSpanBuilder
class.Utility implementation ofStreamObserver
used in testing.AClientStreamTracer
suitable for testing.AServerStreamTracer
suitable for testing.AStreamTracer
suitable for testing.AStreamTracer
suitable for testing.Internal utility functions useful for writing tests.