Lines Matching refs:NotNull
865 using ::testing::NotNull;
870 EXPECT_CALL(foo, DoThat("Hello", NotNull()));
877 EXPECT_CALL(foo, DoThat(_, NotNull()));
1267 `IsNull()`, `NotNull()`, and other comparison matchers to match a pointer, but
1290 using ::testing::NotNull;
1293 AllOf(NotNull(), Pointee(m))
2023 using ::testing::NotNull;
2034 EXPECT_CALL(mutator, Mutate(NotNull(), 5))
2833 EXPECT_CALL(mock_buzzer_, ShareBuzz(NotNull(), _)).WillOnce(Return(true));
2873 EXPECT_CALL(mock_buzzer_, DoShareBuzz(NotNull(), _));
3677 // In this example, we want to use NotNull() with any pointer, so
3693 NotNullMatcher NotNull() {
3699 EXPECT_CALL(foo, Bar(NotNull())); // The argument must be a non-NULL pointer.
3742 the help of `MakePolymorphicMatcher()`. Here's how you can define `NotNull()` as
3756 // In this example, we want to use NotNull() with any pointer, so
3775 PolymorphicMatcher<NotNullMatcher> NotNull() {
3781 EXPECT_CALL(foo, Bar(NotNull())); // The argument must be a non-NULL pointer.