Searched refs:NoopScope (Results 1 – 7 of 7) sorted by relevance
22 public final class NoopScope implements Scope { class23 private static final Scope INSTANCE = new NoopScope();25 private NoopScope() {} in NoopScope() method in NoopScope
22 import io.opencensus.internal.NoopScope;96 assertThat(noopTagger.withTagContext(TAG_CONTEXT)).isSameAs(NoopScope.getInstance()); in noopTagger()118 assertThat(NoopTags.getNoopTagContextBuilder().buildScoped()).isSameAs(NoopScope.getInstance()); in noopTagContextBuilder()120 .isSameAs(NoopScope.getInstance()); in noopTagContextBuilder()
20 import io.opencensus.internal.NoopScope;144 return NoopScope.getInstance(); in withTagContext()172 return NoopScope.getInstance(); in buildScoped()
20 import io.opencensus.implcore.internal.NoopScope;49 return NoopScope.getInstance(); in buildScoped()
22 import io.opencensus.implcore.internal.NoopScope;78 ? NoopScope.getInstance() in withTagContext()
25 import io.opencensus.implcore.internal.NoopScope;279 assertThat(tagger.withTagContext(new SimpleTagContext(TAG1))).isSameAs(NoopScope.getInstance()); in withTagContext_ReturnsNoopScopeWhenTaggingIsDisabled()