Class SpanAssert
java.lang.Object
org.apache.skywalking.apm.agent.test.tools.SpanAssert
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidassertComponent(org.apache.skywalking.apm.agent.core.context.trace.AbstractSpan span, String componentName) static voidassertComponent(org.apache.skywalking.apm.agent.core.context.trace.AbstractSpan span, org.apache.skywalking.apm.network.trace.component.Component component) static voidassertException(org.apache.skywalking.apm.agent.core.context.trace.LogDataEntity logDataEntity, Class<? extends Throwable> throwableClass) static voidassertException(org.apache.skywalking.apm.agent.core.context.trace.LogDataEntity logDataEntity, Class<? extends Throwable> throwableClass, String message) static voidassertLayer(org.apache.skywalking.apm.agent.core.context.trace.AbstractSpan span, org.apache.skywalking.apm.agent.core.context.trace.SpanLayer spanLayer) static voidassertLogSize(org.apache.skywalking.apm.agent.core.context.trace.AbstractSpan span, int exceptedSize) static voidassertOccurException(org.apache.skywalking.apm.agent.core.context.trace.AbstractSpan span, boolean excepted) static voidassertTag(org.apache.skywalking.apm.agent.core.context.trace.AbstractSpan span, int index, String value) static voidassertTagSize(org.apache.skywalking.apm.agent.core.context.trace.AbstractSpan span, int exceptedSize)
-
Constructor Details
-
SpanAssert
public SpanAssert()
-
-
Method Details
-
assertLogSize
public static void assertLogSize(org.apache.skywalking.apm.agent.core.context.trace.AbstractSpan span, int exceptedSize) -
assertTagSize
public static void assertTagSize(org.apache.skywalking.apm.agent.core.context.trace.AbstractSpan span, int exceptedSize) -
assertException
-
assertException
-
assertComponent
public static void assertComponent(org.apache.skywalking.apm.agent.core.context.trace.AbstractSpan span, org.apache.skywalking.apm.network.trace.component.Component component) -
assertComponent
public static void assertComponent(org.apache.skywalking.apm.agent.core.context.trace.AbstractSpan span, String componentName) -
assertLayer
public static void assertLayer(org.apache.skywalking.apm.agent.core.context.trace.AbstractSpan span, org.apache.skywalking.apm.agent.core.context.trace.SpanLayer spanLayer) -
assertTag
public static void assertTag(org.apache.skywalking.apm.agent.core.context.trace.AbstractSpan span, int index, String value) -
assertOccurException
public static void assertOccurException(org.apache.skywalking.apm.agent.core.context.trace.AbstractSpan span, boolean excepted)
-