Home | History | Annotate | Download | only in test

Lines Matching refs:IsNull

100 using testing::IsNull;
998 // Tests that IsNull() matches any NULL pointer of any type.
1000 Matcher<int*> m1 = IsNull();
1006 Matcher<const char*> m2 = IsNull();
1020 Matcher<void*> m3 = IsNull();
1028 const Matcher<linked_ptr<int> > m = IsNull();
1037 const Matcher<const linked_ptr<double>&> m = IsNull();
1047 const Matcher<std::function<void()>> m = IsNull();
1054 // Tests that IsNull() describes itself properly.
1056 Matcher<int*> m = IsNull();
3188 EXPECT_THAT(as_base_ptr, WhenDynamicCastTo<Derived*>(Not(IsNull())));
3201 EXPECT_THAT(&base, WhenDynamicCastTo<Derived*>(IsNull()));
3204 EXPECT_THAT(as_base_ptr, WhenDynamicCastTo<OtherDerived*>(IsNull()));
3207 EXPECT_THAT(as_base_ptr, WhenDynamicCastTo<Derived*>(IsNull()));
3213 EXPECT_THAT(as_base_ptr, WhenDynamicCastTo<Derived*>(IsNull()));
3230 WhenDynamicCastTo<AmbiguousCastTypes::VirtualDerived*>(IsNull()));
3234 WhenDynamicCastTo<AmbiguousCastTypes::VirtualDerived*>(Not(IsNull())));