Home
last modified time | relevance | path

Searched refs:noopTracer (Results 1 – 2 of 2) sorted by relevance

/external/opencensus-java/api/src/test/java/io/opencensus/trace/
DTracerTest.java38 private static final Tracer noopTracer = Tracer.getNoopTracer(); field in TracerTest
51 assertThat(noopTracer.getCurrentSpan()).isEqualTo(BlankSpan.INSTANCE); in defaultGetCurrentSpan()
56 noopTracer.withSpan(null); in withSpan_NullSpan()
61 assertThat(noopTracer.getCurrentSpan()).isSameAs(BlankSpan.INSTANCE); in getCurrentSpan_WithSpan()
62 Scope ws = noopTracer.withSpan(span); in getCurrentSpan_WithSpan()
64 assertThat(noopTracer.getCurrentSpan()).isSameAs(span); in getCurrentSpan_WithSpan()
68 assertThat(noopTracer.getCurrentSpan()).isSameAs(BlankSpan.INSTANCE); in getCurrentSpan_WithSpan()
74 assertThat(noopTracer.getCurrentSpan()).isSameAs(BlankSpan.INSTANCE); in wrapRunnable()
81 assertThat(noopTracer.getCurrentSpan()).isSameAs(span); in wrapRunnable()
87 assertThat(noopTracer.getCurrentSpan()).isSameAs(BlankSpan.INSTANCE); in wrapRunnable()
[all …]
/external/opencensus-java/api/src/main/java/io/opencensus/trace/
DTracer.java73 private static final NoopTracer noopTracer = new NoopTracer(); field in Tracer
81 return noopTracer; in getNoopTracer()