Lines Matching refs:info1
709 std::shared_ptr<C2Info> info1(new C2Number1Info(1)); in TEST_F() local
713 EXPECT_FALSE(buffer->hasInfo(info1->type())); in TEST_F()
716 ASSERT_EQ(C2_OK, buffer->setInfo(info1)); in TEST_F()
718 EXPECT_EQ(*info1, *buffer->info().front()); in TEST_F()
719 EXPECT_TRUE(buffer->hasInfo(info1->type())); in TEST_F()
724 EXPECT_TRUE(buffer->hasInfo(info1->type())); in TEST_F()
727 std::shared_ptr<C2Info> removed = buffer->removeInfo(info1->type()); in TEST_F()
729 EXPECT_EQ(*removed, *info1); in TEST_F()
732 EXPECT_FALSE(buffer->hasInfo(info1->type())); in TEST_F()
735 removed = buffer->removeInfo(info1->type()); in TEST_F()
738 EXPECT_FALSE(buffer->hasInfo(info1->type())); in TEST_F()
744 EXPECT_FALSE(buffer->hasInfo(info1->type())); in TEST_F()
751 EXPECT_FALSE(buffer->hasInfo(info1->type())); in TEST_F()