| 28 | namespace impala { |
| 29 | |
| 30 | TEST(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 | |
| 40 | TEST(DebugUtil, UniqueIDCompromised) { |
| 41 | TUniqueId unique_id; |
nothing calls this directly
no test coverage detected