Home
last modified time | relevance | path

Searched refs:foo_ (Results 1 – 3 of 3) sorted by relevance

/freebsd/contrib/googletest/googlemock/test/
H A Dgmock_output_test_.cc68 NaggyMock<MockFoo> foo_; member in GMockOutputTest
74 EXPECT_CALL(foo_, Bar2(0, _)); in TEST_F()
75 foo_.Bar2(0, 0); // Expected call in TEST_F()
83 EXPECT_CALL(foo_, Bar3(0, _)); in TEST_F()
84 foo_.Bar3(0, 0); // Expected call in TEST_F()
90 EXPECT_CALL(foo_, Bar2(_, _)).Times(2).WillOnce(Return(false)); in TEST_F()
91 foo_.Bar2(2, 2); in TEST_F()
92 foo_.Bar2(1, 1); // Explicit actions in EXPECT_CALL run out. in TEST_F()
96 EXPECT_CALL(foo_, Bar2(0, _)); in TEST_F()
98 foo_.Bar2(1, 0); // Unexpected call in TEST_F()
[all …]
H A Dgmock-function-mocker_test.cc287 FunctionMockerTest() : foo_(&mock_foo_) {} in FunctionMockerTest()
289 FooInterface* const foo_; member in testing::gmock_function_mocker_test::FunctionMockerTest
298 this->foo_->VoidReturning(0); in TYPED_TEST()
307 EXPECT_EQ(0, this->foo_->Nullary()); in TYPED_TEST()
308 EXPECT_EQ(1, this->foo_->Nullary()); in TYPED_TEST()
315 EXPECT_TRUE(this->foo_->Unary(2)); in TYPED_TEST()
316 EXPECT_FALSE(this->foo_->Unary(2)); in TYPED_TEST()
323 EXPECT_EQ(3, this->foo_->Binary(2, 1)); in TYPED_TEST()
332 EXPECT_EQ(5, this->foo_->Decimal(true, 'a', 0, 0, 1, 0, 0, 5, nullptr, "hi")); in TYPED_TEST()
341 EXPECT_TRUE(this->foo_->TakesNonConstReference(a)); in TYPED_TEST()
[all …]
H A Dgmock_output_test_golden.txt3 FILE:#: EXPECT_CALL(foo_, Bar2(0, _)) invoked
6 FILE:#: Mock function call matches EXPECT_CALL(foo_, Bar2(0, _))...
13 FILE:#: EXPECT_CALL(foo_, Bar3(0, _)) invoked
16 FILE:#: Mock function call matches EXPECT_CALL(foo_, Bar3(0, _))...
23 FILE:#: Too few actions specified in EXPECT_CALL(foo_, Bar2(_, _))...
26 FILE:#: Actions ran out in EXPECT_CALL(foo_, Bar2(_, _))...
38 FILE:#: EXPECT_CALL(foo_, Bar2(0, _))...
52 FILE:#: EXPECT_CALL(foo_, Bar3(0, _))...
99 FILE:#: tried expectation #0: EXPECT_CALL(foo_, Bar2(_, _))...
104 FILE:#: tried expectation #1: EXPECT_CALL(foo_, Bar2(0, 0))...
[all …]