Lines Matching refs:IsNull
100 using testing::IsNull;
1002 // Tests that IsNull() matches any NULL pointer of any type.
1004 Matcher<int*> m1 = IsNull();
1010 Matcher<const char*> m2 = IsNull();
1024 Matcher<void*> m3 = IsNull();
1032 const Matcher<linked_ptr<int> > m = IsNull();
1041 const Matcher<const linked_ptr<double>&> m = IsNull();
1051 const Matcher<std::function<void()>> m = IsNull();
1058 // Tests that IsNull() describes itself properly.
1060 Matcher<int*> m = IsNull();
3196 EXPECT_THAT(as_base_ptr, WhenDynamicCastTo<Derived*>(Not(IsNull())));
3209 EXPECT_THAT(&base, WhenDynamicCastTo<Derived*>(IsNull()));
3212 EXPECT_THAT(as_base_ptr, WhenDynamicCastTo<OtherDerived*>(IsNull()));
3215 EXPECT_THAT(as_base_ptr, WhenDynamicCastTo<Derived*>(IsNull()));
3221 EXPECT_THAT(as_base_ptr, WhenDynamicCastTo<Derived*>(IsNull()));
3238 WhenDynamicCastTo<AmbiguousCastTypes::VirtualDerived*>(IsNull()));
3242 WhenDynamicCastTo<AmbiguousCastTypes::VirtualDerived*>(Not(IsNull())));