@ContextConfiguration(classes=SleuthSpanCreatorAspectTests.TestConfiguration.class) public abstract class SleuthSpanCreatorAspectTests extends Object
| Modifier and Type | Class and Description |
|---|---|
protected static class |
SleuthSpanCreatorAspectTests.TestBean |
protected static interface |
SleuthSpanCreatorAspectTests.TestBeanInterface |
static class |
SleuthSpanCreatorAspectTests.TestConfiguration |
| Constructor and Description |
|---|
SleuthSpanCreatorAspectTests() |
@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()
Copyright © 2023 Pivotal Software, Inc.. All rights reserved.