Searched refs:ReturnNull (Results 1 - 3 of 3) sorted by relevance

/gem5/ext/googletest/googlemock/test/
H A Dgmock-actions_test.cc63 using testing::ReturnNull;
627 // Tests that ReturnNull() returns NULL in a pointer-returning function.
629 const Action<int*()> a1 = ReturnNull();
632 const Action<const char*(bool)> a2 = ReturnNull(); // NOLINT
637 // Tests that ReturnNull() returns NULL for shared_ptr and unique_ptr returning
640 const Action<std::unique_ptr<const int>()> a1 = ReturnNull();
643 const Action<std::shared_ptr<int>(std::string)> a2 = ReturnNull();
H A Dgmock_link_test.h44 // ReturnNull
165 using testing::ReturnNull;
258 // Tests the linkage of the ReturnNull action.
/gem5/ext/googletest/googlemock/include/gmock/
H A Dgmock-actions.h622 // Implements the ReturnNull() action.
625 // Allows ReturnNull() to be used in any pointer-returning function. In C++11
1066 inline PolymorphicAction<internal::ReturnNullAction> ReturnNull() { function in namespace:testing

Completed in 17 milliseconds