Home | History | Annotate | Download | only in test

Lines Matching full:implicitlyconvertible

168 using testing::internal::ImplicitlyConvertible;
7120 // Tests that ImplicitlyConvertible<T1, T2>::value is a compile-time constant.
7122 GTEST_COMPILE_ASSERT_((ImplicitlyConvertible<int, int>::value), const_true);
7123 GTEST_COMPILE_ASSERT_((!ImplicitlyConvertible<void*, int*>::value),
7127 // Tests that ImplicitlyConvertible<T1, T2>::value is true when T1 can
7130 EXPECT_TRUE((ImplicitlyConvertible<int, double>::value));
7131 EXPECT_TRUE((ImplicitlyConvertible<double, int>::value));
7132 EXPECT_TRUE((ImplicitlyConvertible<int*, void*>::value));
7133 EXPECT_TRUE((ImplicitlyConvertible<int*, const int*>::value));
7134 EXPECT_TRUE((ImplicitlyConvertible<ConversionHelperDerived&,
7136 EXPECT_TRUE((ImplicitlyConvertible<const ConversionHelperBase,
7140 // Tests that ImplicitlyConvertible<T1, T2>::value is false when T1
7143 EXPECT_FALSE((ImplicitlyConvertible<double, int*>::value));
7144 EXPECT_FALSE((ImplicitlyConvertible<void*, int*>::value));
7145 EXPECT_FALSE((ImplicitlyConvertible<const int*, int*>::value));
7146 EXPECT_FALSE((ImplicitlyConvertible<ConversionHelperBase&,