Loading skywalking-sniffer/skywalking-api/src/test/java/com/a/eye/skywalking/api/context/ContextManagerTestCase.java +7 −0 Original line number Diff line number Diff line package com.a.eye.skywalking.api.context; import com.a.eye.skywalking.api.boot.ServiceManager; import com.a.eye.skywalking.trace.Span; import com.a.eye.skywalking.trace.TraceSegment; import com.a.eye.skywalking.trace.tag.Tags; import org.junit.After; import org.junit.Assert; import org.junit.BeforeClass; import org.junit.Test; /** * Created by wusheng on 2017/2/19. */ public class ContextManagerTestCase { @BeforeClass public static void setup(){ ServiceManager.INSTANCE.boot(); } @Test public void testDelegateToTracerContext(){ Span span = ContextManager.createSpan("serviceA"); Loading Loading
skywalking-sniffer/skywalking-api/src/test/java/com/a/eye/skywalking/api/context/ContextManagerTestCase.java +7 −0 Original line number Diff line number Diff line package com.a.eye.skywalking.api.context; import com.a.eye.skywalking.api.boot.ServiceManager; import com.a.eye.skywalking.trace.Span; import com.a.eye.skywalking.trace.TraceSegment; import com.a.eye.skywalking.trace.tag.Tags; import org.junit.After; import org.junit.Assert; import org.junit.BeforeClass; import org.junit.Test; /** * Created by wusheng on 2017/2/19. */ public class ContextManagerTestCase { @BeforeClass public static void setup(){ ServiceManager.INSTANCE.boot(); } @Test public void testDelegateToTracerContext(){ Span span = ContextManager.createSpan("serviceA"); Loading