public abstract class CurrentTraceContextTest
extends java.lang.Object
Modifier and Type | Field | Description |
---|---|---|
protected TraceContext |
context |
|
protected TraceContext |
context2 |
|
protected CurrentTraceContext |
currentTraceContext |
Modifier | Constructor | Description |
---|---|---|
protected |
CurrentTraceContextTest() |
protected final CurrentTraceContext currentTraceContext
protected final TraceContext context
protected final TraceContext context2
protected abstract java.lang.Class<? extends java.util.function.Supplier<CurrentTraceContext>> currentSupplier()
protected void verifyImplicitContext(@Nullable TraceContext context)
public void currentSpan_defaultsToNull()
public void newScope_retainsContext()
public void maybeScope_retainsContext()
public void newScope_noticesDifferentSpanId()
public void maybeScope_noticesDifferentSpanId()
public void newScope_noticesDifferentContext()
public void maybeScope_noticesDifferentContext()
public void maybeScope_doesntDuplicateContext()
public void newScope_canClearScope()
public void maybeScope_canClearScope()
public void maybeScope_doesntDuplicateContext_onNull()
protected void is_inheritable(CurrentTraceContext inheritableCurrentTraceContext) throws java.lang.Exception
java.lang.Exception
public void isnt_inheritable() throws java.lang.Exception
java.lang.Exception
public void attachesSpanInCallable_canClear() throws java.lang.Exception
java.lang.Exception
public void attachesSpanInCallable() throws java.lang.Exception
java.lang.Exception
public void restoresSpanAfterCallable() throws java.lang.Exception
java.lang.Exception
public void attachesSpanInRunnable() throws java.lang.Exception
java.lang.Exception
public void restoresSpanAfterRunnable() throws java.lang.Exception
java.lang.Exception
public void unloadable_unused()
public void unloadable_afterScopeClose()
public void notUnloadable_whenScopeLeaked()
Copyright © 2018 OpenZipkin. All rights reserved.