Searched refs:MockFoo (Results 1 – 7 of 7) sorted by relevance
49 class MockFoo : public FooInterface { class51 MockFoo() {} in MockFoo() function in __anonf8d07c560111::MockFoo56 GTEST_DISALLOW_COPY_AND_ASSIGN_(MockFoo);60 MockFoo* foo = new MockFoo; in TEST()73 MockFoo* foo = new MockFoo; in TEST()85 MockFoo* foo1 = new MockFoo; in TEST()86 MockFoo* foo2 = new MockFoo; in TEST()
75 class MockFoo : public Foo { class77 MockFoo() {} in MockFoo() function in testing::gmock_nice_strict_test::MockFoo84 GTEST_DISALLOW_COPY_AND_ASSIGN_(MockFoo);114 NiceMock<MockFoo> nice_foo; in TEST()125 NiceMock<MockFoo>* const nice_foo = new NiceMock<MockFoo>; in TEST()128 .WillByDefault(Invoke(nice_foo, &MockFoo::Delete)); in TEST()138 NiceMock<MockFoo> nice_foo; in TEST()158 NiceMock<MockFoo> nice_foo; in TEST()166 NiceMock<MockFoo> nice_foo; in TEST()211 StrictMock<MockFoo> strict_foo; in TEST()[all …]
50 class MockFoo { class52 MockFoo() {} in MockFoo() function in MockFoo59 GTEST_DISALLOW_COPY_AND_ASSIGN_(MockFoo);64 MockFoo foo_;254 MockFoo* foo1 = new MockFoo; in TEST_F()255 MockFoo* foo2 = new MockFoo; in TEST_F()271 MockFoo* foo = new MockFoo; in TestCatchesLeakedMocksInAdHocTests()
51 class MockFoo { class150 MockFoo foo; in TestConcurrentMockObjects()175 MockFoo* mock_foo;200 MockFoo foo; in TestConcurrentCallsOnSameObject()230 void Helper2(MockFoo* foo) { in Helper2()239 MockFoo foo; in TestPartiallyOrderedExpectationsWithThreads()267 ThreadWithParam<MockFoo*>* const t = in TestPartiallyOrderedExpectationsWithThreads()268 new ThreadWithParam<MockFoo*>(Helper2, &foo, NULL); in TestPartiallyOrderedExpectationsWithThreads()
115 class MockFoo : public FooInterface { class117 MockFoo() {} in MockFoo() function in testing::gmock_generated_function_mockers_test::MockFoo156 GTEST_DISALLOW_COPY_AND_ASSIGN_(MockFoo);164 MockFoo mock_foo_;
53 class MockFoo { class55 MockFoo() {} in MockFoo() function in __anon6dd40e840111::MockFoo59 GTEST_DISALLOW_COPY_AND_ASSIGN_(MockFoo);
39 // Given a mock class MockFoo that is created using Google Mock,40 // NiceMock<MockFoo> is a subclass of MockFoo that allows42 // EXPECT_CALL specs), and StrictMock<MockFoo> is a subclass of43 // MockFoo that treats all uninteresting calls as errors.47 // write NiceMock<MockFoo>(5, "a") to construct a nice mock where48 // MockFoo has a constructor that accepts (int, const char*), for51 // A known limitation is that NiceMock<MockFoo> and52 // StrictMock<MockFoo> only works for mock methods defined using the53 // MOCK_METHOD* family of macros DIRECTLY in the MockFoo class. If a54 // mock method is defined in a base class of MockFoo, the "nice" or