@ContextConfiguration(classes=SleuthSpanCreatorAspectMonoTests.TestConfiguration.class) public abstract class SleuthSpanCreatorAspectMonoTests extends Object
| Modifier and Type | Class and Description |
|---|---|
protected static class |
SleuthSpanCreatorAspectMonoTests.TestBean |
protected static interface |
SleuthSpanCreatorAspectMonoTests.TestBeanInterface |
protected static class |
SleuthSpanCreatorAspectMonoTests.TestBeanOuter |
static class |
SleuthSpanCreatorAspectMonoTests.TestConfiguration |
| Constructor and Description |
|---|
SleuthSpanCreatorAspectMonoTests() |
protected static String id(org.springframework.cloud.sleuth.Tracer tracer)
@BeforeEach public void setup()
@Test public void shouldCreateSpanWhenAnnotationOnInterfaceMethod()
@Test public void shouldCreateSpanWhenAnnotationOnClassMethod()
@Test public void shouldCreateSpanWithCustomNameWhenAnnotationOnClassMethod()
@Test public void shouldCreateSpanWithCustomNameWhenAnnotationOnInterfaceMethod()
@Test public void shouldCreateSpanWithTagWhenAnnotationOnInterfaceMethod()
@Test public void shouldCreateSpanWithTagWhenAnnotationOnClassMethod()
@Test public void shouldCreateSpanWithLogWhenAnnotationOnInterfaceMethod()
@Test public void shouldCreateSpanWithLogWhenAnnotationOnClassMethod()
@Test public void shouldContinueSpanWithLogWhenAnnotationOnInterfaceMethod()
@Test public void shouldStartAndCloseSpanOnContinueSpanIfSpanNotSet()
@Test public void shouldContinueSpanWhenKeyIsUsedOnSpanTagWhenAnnotationOnInterfaceMethod()
@Test public void shouldContinueSpanWithLogWhenAnnotationOnClassMethod()
@Test public void shouldAddErrorTagWhenExceptionOccurredInNewSpan()
@Test public void shouldAddErrorTagWhenExceptionOccurredInContinueSpan()
@Test public void shouldNotCreateSpanWhenNotAnnotated()
@Test public void shouldReturnNewSpanFromTraceContext()
@Test public void shouldReturnNewSpanFromTraceContextOuter()
@Test public void shouldReturnNewSpanFromSubscriberContext()
@Test public void shouldReturnNewSpanFromSubscriberContextOuter()
Copyright © 2023 Pivotal Software, Inc.. All rights reserved.