Class SpanAssert

java.lang.Object
org.apache.skywalking.apm.agent.test.tools.SpanAssert

public class SpanAssert extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    assertComponent(org.apache.skywalking.apm.agent.core.context.trace.AbstractSpan span, String componentName)
     
    static void
    assertComponent(org.apache.skywalking.apm.agent.core.context.trace.AbstractSpan span, org.apache.skywalking.apm.network.trace.component.Component component)
     
    static void
    assertException(org.apache.skywalking.apm.agent.core.context.trace.LogDataEntity logDataEntity, Class<? extends Throwable> throwableClass)
     
    static void
    assertException(org.apache.skywalking.apm.agent.core.context.trace.LogDataEntity logDataEntity, Class<? extends Throwable> throwableClass, String message)
     
    static void
    assertLayer(org.apache.skywalking.apm.agent.core.context.trace.AbstractSpan span, org.apache.skywalking.apm.agent.core.context.trace.SpanLayer spanLayer)
     
    static void
    assertLogSize(org.apache.skywalking.apm.agent.core.context.trace.AbstractSpan span, int exceptedSize)
     
    static void
    assertOccurException(org.apache.skywalking.apm.agent.core.context.trace.AbstractSpan span, boolean excepted)
     
    static void
    assertTag(org.apache.skywalking.apm.agent.core.context.trace.AbstractSpan span, int index, String value)
     
    static void
    assertTagSize(org.apache.skywalking.apm.agent.core.context.trace.AbstractSpan span, int exceptedSize)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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

      public static void assertException(org.apache.skywalking.apm.agent.core.context.trace.LogDataEntity logDataEntity, Class<? extends Throwable> throwableClass, String message)
    • assertException

      public static void assertException(org.apache.skywalking.apm.agent.core.context.trace.LogDataEntity logDataEntity, Class<? extends Throwable> throwableClass)
    • 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)