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() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
attachesSpanInCallable() |
|
void |
attachesSpanInCallable_canClear() |
|
void |
attachesSpanInRunnable() |
|
void |
currentSpan_defaultsToNull() |
|
protected void |
is_inheritable(CurrentTraceContext inheritableCurrentTraceContext) |
|
void |
isnt_inheritable() |
|
void |
maybeScope_canClearScope() |
|
void |
maybeScope_doesntDuplicateContext() |
|
void |
maybeScope_doesntDuplicateContext_onNull() |
|
void |
maybeScope_noticesDifferentContext() |
|
void |
maybeScope_noticesDifferentSpanId() |
|
void |
maybeScope_retainsContext() |
|
protected abstract CurrentTraceContext |
newCurrentTraceContext() |
|
void |
newScope_canClearScope() |
|
void |
newScope_noticesDifferentContext() |
|
void |
newScope_noticesDifferentSpanId() |
|
void |
newScope_retainsContext() |
|
void |
restoresSpanAfterCallable() |
|
void |
restoresSpanAfterRunnable() |
|
protected void |
verifyImplicitContext(TraceContext context) |
protected final CurrentTraceContext currentTraceContext
protected final TraceContext context
protected final TraceContext context2
protected abstract CurrentTraceContext newCurrentTraceContext()
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.Exceptionpublic void isnt_inheritable()
throws java.lang.Exception
java.lang.Exceptionpublic void attachesSpanInCallable_canClear()
throws java.lang.Exception
java.lang.Exceptionpublic void attachesSpanInCallable()
throws java.lang.Exception
java.lang.Exceptionpublic void restoresSpanAfterCallable()
throws java.lang.Exception
java.lang.Exceptionpublic void attachesSpanInRunnable()
throws java.lang.Exception
java.lang.Exceptionpublic void restoresSpanAfterRunnable()
throws java.lang.Exception
java.lang.ExceptionCopyright © 2018 OpenZipkin. All rights reserved.