Lines Matching defs:foo_
184 FunctionMockerTest() : foo_(&mock_foo_) {}
186 FooInterface* const foo_;
193 foo_->VoidReturning(0);
202 EXPECT_EQ(0, foo_->Nullary());
203 EXPECT_EQ(1, foo_->Nullary());
212 EXPECT_TRUE(foo_->Unary(2));
213 EXPECT_FALSE(foo_->Unary(2));
221 EXPECT_EQ(3, foo_->Binary(2, 1));
230 EXPECT_EQ(5, foo_->Decimal(true, 'a', 0, 0, 1, 0, 0, 5, NULL, "hi"));
239 EXPECT_TRUE(foo_->TakesNonConstReference(a));
248 EXPECT_EQ("Hello", foo_->TakesConstReference(a));
257 EXPECT_FALSE(foo_->TakesConst(5));
268 EXPECT_EQ(2, foo_->OverloadedOnArgumentNumber(1));
269 EXPECT_EQ(1, foo_->OverloadedOnArgumentNumber());
279 EXPECT_EQ(1, foo_->OverloadedOnArgumentType(0));
280 EXPECT_EQ('b', foo_->OverloadedOnArgumentType('a'));
289 EXPECT_EQ(0, foo_->OverloadedOnConstness());
290 EXPECT_EQ('a', Const(*foo_).OverloadedOnConstness());
311 EXPECT_EQ(-1, foo_->CTNullary());
312 EXPECT_EQ(0, foo_->CTNullary());
322 EXPECT_TRUE(foo_->CTUnary(2));
323 EXPECT_FALSE(foo_->CTUnary(2));
332 EXPECT_EQ(10, foo_->CTDecimal(true, 'a', 0, 0, 1, 0, 0, 5, NULL, "hi"));
340 EXPECT_EQ('a', Const(*foo_).CTConst(0));