Lines Matching refs:Mock

32 // Google Mock - a framework for writing C++ mock classes.
88 using testing::Mock;
117 // Tells Google Mock how to print a value of type Incomplete.
123 // use the mock, as long as Google Mock knows how to print the
232 // by Google Mock.
292 // promised by Google Mock.
572 // Tests that Google Mock doesn't print a warning when the number of
608 // Tests that Google Mock warns on having too many actions in an
674 // Tests that Google Mock warns on having too few actions in an
980 "Google Mock tried the following 1 expectation, but it didn't match:");
997 "Google Mock tried the following 2 expectations, but none matched:");
1026 "Google Mock tried the following 1 expectation, but it didn't match:");
1035 // Tests that Google Mock explains that an retired expectation doesn't
1049 // Tests that Google Mock explains that an expectation that doesn't
1062 // Tests that Google Mock explains that an expectation with
1124 // while Google Mock logs to stdout.
1144 "Mock function called more times than expected");
1154 "Mock function called more times than expected");
1166 "Mock function called more times than expected - returning directly.\n"
1180 "Mock function called more times than expected - "
1762 // Tests that Google Mock correctly handles calls to mock functions
2056 // Tests how the --gmock_verbose flag affects Google Mock's output.
2060 // Verifies that the given Google Mock output is correct. (When
2095 "Mock function call matches EXPECT_CALL(a, DoA(5))...\n"
2106 "Mock function call matches EXPECT_CALL(a, Binary(_, 1))...\n"
2185 // ensure that Google Mock doesn't print a value (even to an internal
2190 ADD_FAILURE() << "Google Mock is printing a value that shouldn't be "
2230 // Tests Mock::AllowLeak().
2234 Mock::AllowLeak(a);
2239 Mock::AllowLeak(a);
2247 Mock::AllowLeak(a);
2252 Mock::AllowLeak(a);
2260 Mock::AllowLeak(a);
2267 Mock::AllowLeak(a);
2274 ASSERT_TRUE(Mock::VerifyAndClearExpectations(&b));
2290 ASSERT_TRUE(Mock::VerifyAndClearExpectations(&b));
2306 EXPECT_NONFATAL_FAILURE(result = Mock::VerifyAndClearExpectations(&b),
2326 ASSERT_TRUE(Mock::VerifyAndClearExpectations(&b));
2344 EXPECT_NONFATAL_FAILURE(result = Mock::VerifyAndClearExpectations(&b),
2360 Mock::VerifyAndClearExpectations(&b);
2365 Mock::VerifyAndClearExpectations(&b);
2366 Mock::VerifyAndClearExpectations(&b);
2379 Mock::VerifyAndClear(&b);
2390 Mock::VerifyAndClear(&b);
2405 Mock::VerifyAndClear(&b);
2423 Mock::VerifyAndClear(&b);
2437 Mock::VerifyAndClear(&b);
2438 Mock::VerifyAndClear(&b);
2442 Mock::VerifyAndClear(&b);
2458 ASSERT_TRUE(Mock::VerifyAndClear(&b));
2476 EXPECT_NONFATAL_FAILURE(result = Mock::VerifyAndClear(&b),
2499 ASSERT_TRUE(Mock::VerifyAndClear(&b));
2517 Mock::VerifyAndClear(&b);
2551 Mock::VerifyAndClear(&b2);