Lines Matching refs:CRU
28 ContextAndReplaceableUses CRU(Context); in TEST() local
29 EXPECT_EQ(&Context, &CRU.getContext()); in TEST()
30 EXPECT_FALSE(CRU.hasReplaceableUses()); in TEST()
31 EXPECT_FALSE(CRU.getReplaceableUses()); in TEST()
36 ContextAndReplaceableUses CRU(make_unique<ReplaceableMetadataImpl>(Context)); in TEST() local
37 EXPECT_EQ(&Context, &CRU.getContext()); in TEST()
38 EXPECT_TRUE(CRU.hasReplaceableUses()); in TEST()
39 EXPECT_TRUE(CRU.getReplaceableUses()); in TEST()
44 ContextAndReplaceableUses CRU(Context); in TEST() local
45 CRU.makeReplaceable(make_unique<ReplaceableMetadataImpl>(Context)); in TEST()
46 EXPECT_EQ(&Context, &CRU.getContext()); in TEST()
47 EXPECT_TRUE(CRU.hasReplaceableUses()); in TEST()
48 EXPECT_TRUE(CRU.getReplaceableUses()); in TEST()
55 ContextAndReplaceableUses CRU(std::move(ReplaceableUses)); in TEST() local
56 ReplaceableUses = CRU.takeReplaceableUses(); in TEST()
57 EXPECT_EQ(&Context, &CRU.getContext()); in TEST()
58 EXPECT_FALSE(CRU.hasReplaceableUses()); in TEST()
59 EXPECT_FALSE(CRU.getReplaceableUses()); in TEST()