Home
last modified time | relevance | path

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

/external/opencensus-java/api/src/test/java/io/opencensus/trace/
DTracestateTest.java41 private final Tracestate firstTracestate = EMPTY.toBuilder().set(FIRST_KEY, FIRST_VALUE).build(); field in TracestateTest
49 assertThat(firstTracestate.get(FIRST_KEY)).isEqualTo(FIRST_VALUE); in get()
57 assertThat(firstTracestate.getEntries()).containsExactly(Entry.create(FIRST_KEY, FIRST_VALUE)); in getEntries()
159 assertThat(firstTracestate.toBuilder().set(SECOND_KEY, SECOND_VALUE).build()) in addEntry()
165 assertThat(firstTracestate.toBuilder().set(FIRST_KEY, SECOND_VALUE).build().get(FIRST_KEY)) in updateEntry()
176 firstTracestate in addAndUpdateEntry()
201 .isEqualTo(firstTracestate); in remove()
225 tester.addEqualityGroup(firstTracestate, EMPTY.toBuilder().set(FIRST_KEY, FIRST_VALUE).build()); in tracestate_EqualsAndHashCode()
DSpanContextTest.java35 private static final Tracestate firstTracestate = Tracestate.builder().set("foo", "bar").build(); field in SpanContextTest
42 firstTracestate);
95 assertThat(first.getTracestate()).isEqualTo(firstTracestate); in getTracestate()
112 firstTracestate)); in spanContext_EqualsAndHashCode()