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

/gem5/ext/googletest/googlemock/test/
H A Dgmock_link_test.h71 // NotNull
159 using testing::NotNull;
505 // Tests the linkage of the NotNull matcher.
509 ON_CALL(mock, VoidFromString(NotNull())).WillByDefault(Return());
H A Dgmock-matchers_test.cc118 using testing::NotNull;
1065 // Tests that NotNull() matches any non-NULL pointer of any type.
1067 Matcher<int*> m1 = NotNull();
1073 Matcher<const char*> m2 = NotNull();
1080 const Matcher<linked_ptr<int> > m = NotNull();
1089 const Matcher<const linked_ptr<double>&> m = NotNull();
1099 const Matcher<std::function<void()>> m = NotNull();
1106 // Tests that NotNull() describes itself properly.
1108 Matcher<int*> m = NotNull();
/gem5/ext/googletest/googlemock/include/gmock/
H A Dgmock-matchers.h419 // than one type, e.g. Eq(n) and NotNull()).
428 // See the definition of NotNull() for a complete example.
995 // Implements the polymorphic NotNull() matcher, which matches any raw or smart
1845 // as matcher_ may be polymorphic (e.g. NotNull()) and we won't
3802 inline PolymorphicMatcher<internal::NotNullMatcher > NotNull() { function in namespace:testing

Completed in 47 milliseconds