@@ -18,7 +18,7 @@ using namespace opentelemetry::exporter::jaeger;
18
18
19
19
TEST (JaegerSpanRecordable, SetIdentity)
20
20
{
21
- Recordable rec;
21
+ opentelemetry::exporter::jaeger:: Recordable rec;
22
22
23
23
int64_t trace_id_val[2 ] = {0x0000000000000000 , 0x1000000000000000 };
24
24
int64_t span_id_val = 0x2000000000000000 ;
@@ -41,10 +41,10 @@ TEST(JaegerSpanRecordable, SetIdentity)
41
41
std::unique_ptr<thrift::Span> span{rec.Span ()};
42
42
43
43
#if JAEGER_IS_LITTLE_ENDIAN == 1
44
- EXPECT_EQ (span->traceIdLow , bswap_64 (trace_id_val[1 ]));
45
- EXPECT_EQ (span->traceIdHigh , bswap_64 (trace_id_val[0 ]));
46
- EXPECT_EQ (span->spanId , bswap_64 (span_id_val));
47
- EXPECT_EQ (span->parentSpanId , bswap_64 (parent_span_id_val));
44
+ EXPECT_EQ (span->traceIdLow , opentelemetry::exporter::jaeger:: bswap_64 (trace_id_val[1 ]));
45
+ EXPECT_EQ (span->traceIdHigh , opentelemetry::exporter::jaeger:: bswap_64 (trace_id_val[0 ]));
46
+ EXPECT_EQ (span->spanId , opentelemetry::exporter::jaeger:: bswap_64 (span_id_val));
47
+ EXPECT_EQ (span->parentSpanId , opentelemetry::exporter::jaeger:: bswap_64 (parent_span_id_val));
48
48
#else
49
49
EXPECT_EQ (span->traceIdLow , trace_id_val[0 ]);
50
50
EXPECT_EQ (span->traceIdHigh , trace_id_val[1 ]);
@@ -55,7 +55,7 @@ TEST(JaegerSpanRecordable, SetIdentity)
55
55
56
56
TEST (JaegerSpanRecordable, SetName)
57
57
{
58
- Recordable rec;
58
+ opentelemetry::exporter::jaeger:: Recordable rec;
59
59
60
60
nostd::string_view name = " Test Span" ;
61
61
rec.SetName (name);
@@ -67,7 +67,7 @@ TEST(JaegerSpanRecordable, SetName)
67
67
68
68
TEST (JaegerSpanRecordable, SetStartTime)
69
69
{
70
- Recordable rec;
70
+ opentelemetry::exporter::jaeger:: Recordable rec;
71
71
72
72
std::chrono::system_clock::time_point start_time = std::chrono::system_clock::now ();
73
73
opentelemetry::common::SystemTimestamp start_timestamp (start_time);
@@ -82,7 +82,7 @@ TEST(JaegerSpanRecordable, SetStartTime)
82
82
83
83
TEST (JaegerSpanRecordable, SetDuration)
84
84
{
85
- Recordable rec;
85
+ opentelemetry::exporter::jaeger:: Recordable rec;
86
86
87
87
opentelemetry::common::SystemTimestamp start_timestamp;
88
88
@@ -100,7 +100,7 @@ TEST(JaegerSpanRecordable, SetDuration)
100
100
101
101
TEST (JaegerSpanRecordable, SetStatus)
102
102
{
103
- Recordable rec;
103
+ opentelemetry::exporter::jaeger:: Recordable rec;
104
104
105
105
const char *error_description = " Error test" ;
106
106
rec.SetStatus (trace::StatusCode::kError , error_description);
0 commit comments