/external/opencensus-java/exporters/trace/zipkin/src/test/java/io/opencensus/exporter/trace/zipkin/ |
D | ZipkinExporterHandlerTest.java | 55 private static final String SPAN_ID = "9cc1e3049173be09"; field in ZipkinExporterHandlerTest 74 SpanId.fromLowerBase16(SPAN_ID), in generateSpan_NoKindAndRemoteParent() 95 .id(SPAN_ID) in generateSpan_NoKindAndRemoteParent() 115 SpanId.fromLowerBase16(SPAN_ID), in generateSpan_ServerKind() 136 .id(SPAN_ID) in generateSpan_ServerKind() 156 SpanId.fromLowerBase16(SPAN_ID), in generateSpan_ClientKind() 177 .id(SPAN_ID) in generateSpan_ClientKind() 201 SpanId.fromLowerBase16(SPAN_ID), in generateSpan_WithAttributes() 222 .id(SPAN_ID) in generateSpan_WithAttributes()
|
/external/opencensus-java/impl_core/src/test/java/io/opencensus/implcore/trace/propagation/ |
D | B3FormatTest.java | 51 private static final SpanId SPAN_ID = SpanId.fromLowerBase16(SPAN_ID_BASE16); field in B3FormatTest 75 b3Format.inject(SpanContext.create(TRACE_ID, SPAN_ID, TRACE_OPTIONS), carrier, setter); in serialize_SampledContext() 84 b3Format.inject(SpanContext.create(TRACE_ID, SPAN_ID, TraceOptions.DEFAULT), carrier, setter); in serialize_NotSampledContext() 94 SpanContext spanContext = SpanContext.create(TRACE_ID, SPAN_ID, TraceOptions.DEFAULT); in parseMissingSampledAndMissingFlag() 105 .isEqualTo(SpanContext.create(TRACE_ID, SPAN_ID, TRACE_OPTIONS)); in parseSampled() 115 .isEqualTo(SpanContext.create(TRACE_ID, SPAN_ID, TraceOptions.DEFAULT)); in parseZeroSampled() 125 .isEqualTo(SpanContext.create(TRACE_ID, SPAN_ID, TRACE_OPTIONS)); in parseFlag() 135 .isEqualTo(SpanContext.create(TRACE_ID, SPAN_ID, TraceOptions.DEFAULT)); in parseZeroFlag() 145 .isEqualTo(SpanContext.create(TRACE_ID_EIGHT_BYTES, SPAN_ID, TRACE_OPTIONS)); in parseEightBytesTraceId() 154 .isEqualTo(SpanContext.create(TRACE_ID_EIGHT_BYTES, SPAN_ID, TraceOptions.DEFAULT)); in parseEightBytesTraceId_NotSampledSpanContext()
|
D | BinaryFormatImplTest.java | 41 private static final SpanId SPAN_ID = SpanId.fromBytes(SPAN_ID_BYTES); field in BinaryFormatImplTest 50 SpanContext.create(TRACE_ID, SPAN_ID, TRACE_OPTIONS); 66 SpanContext.create(TRACE_ID, SPAN_ID, TraceOptions.builder().setIsSampled(true).build())); in propagate_SpanContextTracingEnabled() 71 testSpanContextConversion(SpanContext.create(TRACE_ID, SPAN_ID, TraceOptions.DEFAULT)); in propagate_SpanContextNoTracing()
|
/external/opencensus-java/contrib/http_util/src/test/java/io/opencensus/contrib/http/util/ |
D | CloudTraceFormatTest.java | 68 private static final SpanId SPAN_ID = SpanId.fromLowerBase16(SPAN_ID_BASE16); field in CloudTraceFormatTest 122 SpanContext.create(TRACE_ID, SPAN_ID, TRACE_OPTIONS_SAMPLED), carrier, setter); in serializeSampledContextShouldSucceed() 131 SpanContext.create(TRACE_ID, SPAN_ID, TRACE_OPTIONS_NOT_SAMPLED), carrier, setter); in serializeNotSampledContextShouldSucceed() 141 SpanContext.create(TRACE_ID, SPAN_ID, TRACE_OPTIONS_SAMPLED)); in parseSampledShouldSucceed() 148 SpanContext.create(TRACE_ID, SPAN_ID, TRACE_OPTIONS_NOT_SAMPLED)); in parseNotSampledShouldSucceed() 155 SpanContext.create(TRACE_ID, SPAN_ID, TRACE_OPTIONS_NOT_SAMPLED)); in parseMissingTraceOptionsShouldSucceed()
|
/external/opencensus-java/exporters/trace/instana/src/test/java/io/opencensus/exporter/trace/instana/ |
D | InstanaExporterHandlerTest.java | 51 private static final String SPAN_ID = "9cc1e3049173be09"; field in InstanaExporterHandlerTest 71 SpanId.fromLowerBase16(SPAN_ID), in generateSpan_NoKindAndRemoteParent() 109 SpanId.fromLowerBase16(SPAN_ID), in generateSpan_ServerKind() 147 SpanId.fromLowerBase16(SPAN_ID), in generateSpan_ClientKind()
|
/external/opencensus-java/contrib/exemplar_util/src/test/java/io/opencensus/contrib/exemplar/util/ |
D | ExemplarUtilsTest.java | 46 private static final SpanId SPAN_ID = SpanId.generateRandomId(RANDOM); field in ExemplarUtilsTest 48 SpanContext.create(TRACE_ID, SPAN_ID, TraceOptions.DEFAULT); 61 SPAN_ID.toLowerBase16()); in putSpanContext()
|
/external/opencensus-java/exporters/trace/stackdriver/src/test/java/io/opencensus/exporter/trace/stackdriver/ |
D | StackdriverV2ExporterHandlerProtoTest.java | 80 private static final String SPAN_ID = "24aa0b2d371f48c9"; field in StackdriverV2ExporterHandlerProtoTest 84 String.format("projects/%s/traces/%s/spans/%s", PROJECT_ID, TRACE_ID, SPAN_ID); 104 private static final SpanId spanId = SpanId.fromLowerBase16(SPAN_ID); 264 .setSpanId(SPAN_ID) in generateSpan() 288 assertThat(span.getSpanId()).isEqualTo(SPAN_ID); in generateSpan()
|
/external/opencensus-java/exporters/trace/ocagent/src/test/java/io/opencensus/exporter/trace/ocagent/ |
D | TraceProtoUtilsTest.java | 76 private static final String SPAN_ID = "24aa0b2d371f48c9"; field in TraceProtoUtilsTest 105 private static final SpanId spanId = SpanId.fromLowerBase16(SPAN_ID);
|