Home
last modified time | relevance | path

Searched refs:MockFoo (Results 1 – 7 of 7) sorted by relevance

/external/google-breakpad/src/testing/test/
Dgmock_leak_test_.cc49 class MockFoo : public FooInterface { class
51 MockFoo() {} in MockFoo() function in __anonf8d07c560111::MockFoo
56 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()
Dgmock-nice-strict_test.cc75 class MockFoo : public Foo { class
77 MockFoo() {} in MockFoo() function in testing::gmock_nice_strict_test::MockFoo
84 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 …]
Dgmock_output_test_.cc50 class MockFoo { class
52 MockFoo() {} in MockFoo() function in MockFoo
59 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()
Dgmock_stress_test.cc51 class MockFoo { class
150 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()
Dgmock-generated-function-mockers_test.cc115 class MockFoo : public FooInterface { class
117 MockFoo() {} in MockFoo() function in testing::gmock_generated_function_mockers_test::MockFoo
156 GTEST_DISALLOW_COPY_AND_ASSIGN_(MockFoo);
164 MockFoo mock_foo_;
Dgmock-cardinalities_test.cc53 class MockFoo { class
55 MockFoo() {} in MockFoo() function in __anon6dd40e840111::MockFoo
59 GTEST_DISALLOW_COPY_AND_ASSIGN_(MockFoo);
/external/google-breakpad/src/testing/include/gmock/
Dgmock-generated-nice-strict.h.pump39 // Given a mock class MockFoo that is created using Google Mock,
40 // NiceMock<MockFoo> is a subclass of MockFoo that allows
42 // EXPECT_CALL specs), and StrictMock<MockFoo> is a subclass of
43 // MockFoo that treats all uninteresting calls as errors.
47 // write NiceMock<MockFoo>(5, "a") to construct a nice mock where
48 // MockFoo has a constructor that accepts (int, const char*), for
51 // A known limitation is that NiceMock<MockFoo> and
52 // StrictMock<MockFoo> only works for mock methods defined using the
53 // MOCK_METHOD* family of macros DIRECTLY in the MockFoo class. If a
54 // mock method is defined in a base class of MockFoo, the "nice" or