Searched refs:Mock (Results 1 - 6 of 6) sorted by relevance

/gem5/ext/googletest/googlemock/test/
H A Dgmock_link_test.h32 // Google Mock - a framework for writing C++ mock classes.
104 // This test requires identical definitions of Interface and Mock to be
109 // definitions of Interface and Mock tests MUST be kept in the SAME
205 class Mock: public Interface { class in inherits:Interface
207 Mock() {} function in class:Mock
220 GTEST_DISALLOW_COPY_AND_ASSIGN_(Mock);
243 Mock mock;
251 Mock mock;
260 Mock mock;
268 Mock moc
[all...]
H A Dgmock-nice-strict_test.cc40 // clash with ::testing::Mock.
41 class Mock { class
43 Mock() {} function in class:Mock
48 GTEST_DISALLOW_COPY_AND_ASSIGN_(Mock);
241 // Tests that NiceMock<Mock> compiles where Mock is a user-defined
242 // class (as opposed to ::testing::Mock). We had to work around an
243 // MSVC 8.0 bug that caused the symbol Mock used in the definition of
250 NiceMock< ::Mock> nice;
334 // Tests that NaggyMock<Mock> compile
[all...]
H A Dgmock-spec-builders_test.cc32 // 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 trie
[all...]
/gem5/ext/googletest/googlemock/include/gmock/
H A Dgmock-generated-nice-strict.h38 // Given a mock class MockFoo that is created using Google Mock,
85 ::testing::Mock::AllowUninterestingCalls(
93 ::testing::Mock::AllowUninterestingCalls(
98 ::testing::Mock::AllowUninterestingCalls(
104 ::testing::Mock::AllowUninterestingCalls(
111 ::testing::Mock::AllowUninterestingCalls(
118 ::testing::Mock::AllowUninterestingCalls(
126 ::testing::Mock::AllowUninterestingCalls(
135 ::testing::Mock::AllowUninterestingCalls(
144 ::testing::Mock
[all...]
H A Dgmock-spec-builders.h32 // Google Mock - a framework for writing C++ mock classes.
107 // Protects the mock object registry (in class Mock), all function
371 class GTEST_API_ Mock {
375 // Tells Google Mock to ignore mock_obj when checking for leaked
409 // Tells Google Mock to allow uninteresting calls on the given mock
414 // Tells Google Mock to warn the user about uninteresting calls on
419 // Tells Google Mock to fail uninteresting calls on the given mock
424 // Tells Google Mock the given mock object is being destroyed and
429 // Returns the reaction Google Mock will have on uninteresting calls
451 // Tells Google Mock wher
[all...]
/gem5/ext/googletest/googlemock/src/
H A Dgmock-spec-builders.cc32 // Google Mock - a framework for writing C++ mock classes.
54 // Protects the mock object registry (in class Mock), all function
285 Mock::Register(mock_obj, this);
345 // We must get Google Mock's reaction on uninteresting calls
350 Mock::GetReactionOnUninterestingCalls(MockObject());
514 // Class Mock.
539 // Mock::AllowLeak(), ON_CALL(), or EXPECT_CALL() is called on it. It
601 // Maps a mock object to the reaction Google Mock should have when an
605 // Sets the reaction Google Mock should have when an uninteresting
616 // Tells Google Mock t
[all...]

Completed in 19 milliseconds