Home | History | Annotate | Download | only in test

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();
3197 EXPECT_THAT(as_base_ptr, WhenDynamicCastTo<Derived*>(Not(IsNull())));
3210 EXPECT_THAT(&base, WhenDynamicCastTo<Derived*>(IsNull()));
3213 EXPECT_THAT(as_base_ptr, WhenDynamicCastTo<OtherDerived*>(IsNull()));
3216 EXPECT_THAT(as_base_ptr, WhenDynamicCastTo<Derived*>(IsNull()));
3222 EXPECT_THAT(as_base_ptr, WhenDynamicCastTo<Derived*>(IsNull()));
3239 WhenDynamicCastTo<AmbiguousCastTypes::VirtualDerived*>(IsNull()));
3243 WhenDynamicCastTo<AmbiguousCastTypes::VirtualDerived*>(Not(IsNull())));