Searched refs:noopTracer (Results 1 – 2 of 2) sorted by relevance
38 private static final Tracer noopTracer = Tracer.getNoopTracer(); field in TracerTest51 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 …]
73 private static final NoopTracer noopTracer = new NoopTracer(); field in Tracer81 return noopTracer; in getNoopTracer()