Home
last modified time | relevance | path

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

/external/opencensus-java/impl_core/src/test/java/io/opencensus/implcore/trace/propagation/
DB3FormatTest.java69 private final B3Format b3Format = new B3Format(); field in B3FormatTest
75 b3Format.inject(SpanContext.create(TRACE_ID, SPAN_ID, TRACE_OPTIONS), carrier, setter); in serialize_SampledContext()
84 b3Format.inject(SpanContext.create(TRACE_ID, SPAN_ID, TraceOptions.DEFAULT), carrier, setter); in serialize_NotSampledContext()
95 assertThat(b3Format.extract(headersNotSampled, getter)).isEqualTo(spanContext); in parseMissingSampledAndMissingFlag()
104 assertThat(b3Format.extract(headersSampled, getter)) in parseSampled()
114 assertThat(b3Format.extract(headersNotSampled, getter)) in parseZeroSampled()
124 assertThat(b3Format.extract(headersFlagSampled, getter)) in parseFlag()
134 assertThat(b3Format.extract(headersFlagNotSampled, getter)) in parseZeroFlag()
144 assertThat(b3Format.extract(headersEightBytes, getter)) in parseEightBytesTraceId()
153 assertThat(b3Format.extract(headersEightBytes, getter)) in parseEightBytesTraceId_NotSampledSpanContext()
[all …]
/external/opencensus-java/impl_core/src/main/java/io/opencensus/implcore/trace/propagation/
DPropagationComponentImpl.java26 private final B3Format b3Format = new B3Format(); field in PropagationComponentImpl
35 return b3Format; in getB3Format()