Class CurrentTraceContextTest


  • public abstract class CurrentTraceContextTest
    extends Object
    • Field Detail

      • CORRELATION_FIELD

        protected static final brave.baggage.CorrelationScopeConfig.SingleCorrelationField CORRELATION_FIELD
      • currentTraceContext

        protected final brave.propagation.CurrentTraceContext currentTraceContext
      • context

        protected final brave.propagation.TraceContext context
      • notYetSampledContext

        protected final brave.propagation.TraceContext notYetSampledContext
      • unsampledContext

        protected final brave.propagation.TraceContext unsampledContext
    • Constructor Detail

      • CurrentTraceContextTest

        protected CurrentTraceContextTest()
    • Method Detail

      • builderSupplier

        protected abstract Class<? extends Supplier<brave.propagation.CurrentTraceContext.Builder>> builderSupplier()
      • verifyImplicitContext

        protected void verifyImplicitContext​(@Nullable
                                             brave.propagation.TraceContext context)
      • is_inheritable

        protected void is_inheritable​(brave.propagation.CurrentTraceContext inheritableCurrentTraceContext)
                               throws Exception
        Throws:
        Exception
      • isnt_inheritable

        @Test
        protected void isnt_inheritable()
                                 throws Exception
        Throws:
        Exception