@ExtendWith(value=org.mockito.junit.jupiter.MockitoExtension.class) public abstract class TraceRunnableTests extends Object implements TestTracingAwareSupplier
| Constructor and Description |
|---|
TraceRunnableTests() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
assertThatThereIsNoParentId(org.springframework.cloud.sleuth.Span secondSpan) |
void |
clean() |
void |
should_not_find_thread_local_in_non_traceable_callback() |
void |
should_remove_span_from_thread_local_after_finishing_work() |
void |
should_take_name_of_span_from_span_name_annotation() |
void |
should_take_name_of_span_from_to_string_if_span_name_annotation_is_missing() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcleanUpTracing, tracerTest@AfterEach public void clean()
@Test
public void should_remove_span_from_thread_local_after_finishing_work()
throws Exception
Exceptionprotected void assertThatThereIsNoParentId(org.springframework.cloud.sleuth.Span secondSpan)
@Test
public void should_not_find_thread_local_in_non_traceable_callback()
throws Exception
Exception@Test
public void should_take_name_of_span_from_span_name_annotation()
throws Exception
ExceptionCopyright © 2023 Pivotal Software, Inc.. All rights reserved.