Searched refs:SimpleTagContext (Results 1 – 4 of 4) sorted by relevance
/external/opencensus-java/api/src/test/java/io/opencensus/tags/ |
D | TagContextTest.java | 41 new SimpleTagContext(TAG1, TAG2), in equals_IgnoresTagOrderAndTagContextClass() 42 new SimpleTagContext(TAG1, TAG2), in equals_IgnoresTagOrderAndTagContextClass() 43 new SimpleTagContext(TAG2, TAG1), in equals_IgnoresTagOrderAndTagContextClass() 57 new SimpleTagContext((List<Tag>) null), in equals_HandlesNullIterator() 58 new SimpleTagContext((List<Tag>) null), in equals_HandlesNullIterator() 59 new SimpleTagContext()) in equals_HandlesNullIterator() 66 .addEqualityGroup(new SimpleTagContext(TAG1)) in equals_DoesNotIgnoreNullTags() 67 .addEqualityGroup(new SimpleTagContext(TAG1, null), new SimpleTagContext(null, TAG1)) in equals_DoesNotIgnoreNullTags() 68 .addEqualityGroup(new SimpleTagContext(TAG1, null, null)) in equals_DoesNotIgnoreNullTags() 75 .addEqualityGroup(new SimpleTagContext(TAG1)) in equals_DoesNotIgnoreDuplicateTags() [all …]
|
/external/opencensus-java/impl_core/src/test/java/io/opencensus/implcore/tags/ |
D | TaggerImplTest.java | 98 TagContext tags = new SimpleTagContext(TAG1, TAG2, TAG3); in currentBuilder() 115 TagContext tagContextWithDuplicateTags = new SimpleTagContext(tag1, tag2); in currentBuilder_RemoveDuplicateTags() 122 TagContext tagContextWithNullTag = new SimpleTagContext(TAG1, null, TAG2); in currentBuilder_SkipNullTag() 130 assertThat(getResultOfCurrentBuilder(new SimpleTagContext(TAG1))) in currentBuilder_TaggingDisabled() 136 TagContext tags = new SimpleTagContext(TAG1); in currentBuilder_TaggingReenabled() 156 TagContext unknownTagContext = new SimpleTagContext(TAG1, TAG2, TAG3); in toBuilder_ConvertUnknownTagContextToTagContextImpl() 166 TagContext tagContextWithDuplicateTags = new SimpleTagContext(tag1, tag2); in toBuilder_RemoveDuplicatesFromUnknownTagContext() 173 TagContext tagContextWithNullTag = new SimpleTagContext(TAG1, null, TAG2); in toBuilder_SkipNullTag() 181 assertThat(tagger.toBuilder(new SimpleTagContext(TAG1))) in toBuilder_TaggingDisabled() 187 TagContext tags = new SimpleTagContext(TAG1); in toBuilder_TaggingReenabled() [all …]
|
/external/opencensus-java/impl_core/src/test/java/io/opencensus/implcore/stats/ |
D | StatsRecorderImplTest.java | 28 import io.opencensus.implcore.stats.StatsTestUtil.SimpleTagContext; 119 .withValue(ContextUtils.TAG_CONTEXT_KEY, new SimpleTagContext(Tag.create(KEY, VALUE))) in record_CurrentContextSet() 148 .record(new SimpleTagContext(Tag.create(KEY, VALUE))); in record_UnregisteredMeasure() 216 TagContext context = new SimpleTagContext(Tag.create(KEY, VALUE)); in recordWithAttachments() 278 statsRecord.record(new SimpleTagContext(Tag.create(KEY, VALUE))); in recordTwice() 279 statsRecord.record(new SimpleTagContext(Tag.create(KEY, VALUE_2))); in recordTwice() 310 .record(new SimpleTagContext(Tag.create(KEY, VALUE))); in record_StatsDisabled() 331 .record(new SimpleTagContext(Tag.create(KEY, VALUE))); in record_StatsReenabled() 341 .record(new SimpleTagContext(Tag.create(KEY, VALUE))); in record_StatsReenabled()
|
D | StatsTestUtil.java | 220 static final class SimpleTagContext extends TagContext { class in StatsTestUtil 223 SimpleTagContext(Tag... tags) { in SimpleTagContext() method in StatsTestUtil.SimpleTagContext
|