Lines Matching refs:ref2
36 StringPool::Ref ref2 = pool.makeRef(u"hey");
39 EXPECT_EQ(*ref2, u"hey");
46 StringPool::Ref ref2 = pool.makeRef(u"wut");
49 EXPECT_EQ(*ref2, u"wut");
57 StringPool::Ref ref2 = pool.makeRef(u"a");
61 EXPECT_EQ(1u, ref2.getIndex());
91 StringPool::StyleRef ref2 = pool.makeRef(StyleString{ {u"a"} });
97 EXPECT_EQ(*(ref2->str), u"a");
98 EXPECT_EQ(1u, ref2.getIndex());
111 EXPECT_EQ(*(ref2->str), u"a");
112 EXPECT_EQ(0u, ref2.getIndex());
122 StringPool::Ref ref2 = pool.makeRef(u"a");
134 EXPECT_EQ(ref5.getIndex(), ref2.getIndex());
209 StringPool::Ref ref2 = pool.makeRef(u"goodbye");
217 EXPECT_EQ(1u, ref2.getIndex());