Lines Matching full:uuid
17 #include "perfetto/ext/base/uuid.h"
27 TEST(Uuid, DefaultConstructorIsBlank) { in TEST() argument
28 Uuid a; in TEST()
29 Uuid b; in TEST()
35 TEST(Uuid, TwoUuidsShouldBeDifferent) { in TEST() argument
36 Uuid a = Uuidv4(); in TEST()
37 Uuid b = Uuidv4(); in TEST()
43 TEST(Uuid, CanRoundTripUuid) { in TEST() argument
44 Uuid uuid = Uuidv4(); in TEST() local
45 EXPECT_EQ(Uuid(uuid.ToString()), uuid); in TEST()
48 TEST(Uuid, SetGet) { in TEST() argument
49 Uuid a = Uuidv4(); in TEST()
50 Uuid b; in TEST()
55 TEST(Uuid, LsbMsbConstructor) { in TEST() argument
56 Uuid uuid(-6605018796207623390, 1314564453825188563); in TEST() local
57 EXPECT_EQ(uuid.ToPrettyString(), "123e4567-e89b-12d3-a456-426655443322"); in TEST()
60 TEST(Uuid, UuidToPrettyString) { in TEST() argument
61 Uuid uuid; in TEST() local
62 uuid.set_lsb_msb(-6605018796207623390, 1314564453825188563); in TEST()
63 EXPECT_EQ(uuid.ToPrettyString(), "123e4567-e89b-12d3-a456-426655443322"); in TEST()