MCPcopy Create free account
hub / github.com/apache/impala / TEST

Function TEST

be/src/util/debug-util-test.cc:30–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28namespace impala {
29
30TEST(DebugUtil, UniqueID) {
31 TUniqueId unique_id;
32 unique_id.hi = 0xfeedbeeff00d7777ULL;
33 unique_id.lo = 0x2020202020202020ULL;
34 std::string str("feedbeeff00d7777:2020202020202020");
35 EXPECT_EQ(str, PrintId(unique_id));
36 unique_id.lo = 0x20ULL;
37 EXPECT_EQ("feedbeeff00d7777:0000000000000020", PrintId(unique_id));
38}
39
40TEST(DebugUtil, UniqueIDCompromised) {
41 TUniqueId unique_id;

Callers

nothing calls this directly

Calls 5

PrintIdFunction · 0.85
PrintIdCompromisedFunction · 0.85
RecursionStackFunction · 0.85
ParseIdFunction · 0.85
GetStackTraceFunction · 0.70

Tested by

no test coverage detected