类 SpanAssert

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

public class SpanAssert extends Object
  • 构造器概要

    构造器
    构造器
    说明
     
  • 方法概要

    修饰符和类型
    方法
    说明
    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)
     

    从类继承的方法 java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 构造器详细资料

    • SpanAssert

      public SpanAssert()
  • 方法详细资料

    • 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)