38 #include "gtest/gtest.h" 77 #if GTEST_HAS_TYPED_TEST 94 typedef Types<OnTheFlyPrimeTable, PreCalculatedPrimeTable> Implementations;
138 #endif // GTEST_HAS_TYPED_TEST 140 #if GTEST_HAS_TYPED_TEST_P 142 using testing::Types;
171 TYPED_TEST_P(PrimeTableTest2, ReturnsFalseForNonPrimes) {
203 ReturnsFalseForNonPrimes, ReturnsTrueForPrimes, CanGetNextPrime);
218 typedef Types<OnTheFlyPrimeTable, PreCalculatedPrimeTable>
219 PrimeTableImplementations;
222 PrimeTableImplementations);
224 #endif // GTEST_HAS_TYPED_TEST_P TYPED_TEST_P(TypeParamTest, TestA)
TYPED_TEST_CASE(TypedTest, MyTypes)
INSTANTIATE_TYPED_TEST_CASE_P(My, TypeParamTest, MyTypes)
PrimeTable * CreatePrimeTable()
PrimeTable * CreatePrimeTable< OnTheFlyPrimeTable >()
#define EXPECT_EQ(val1, val2)
TYPED_TEST(TypedTest, TestA)
PrimeTable * CreatePrimeTable< PreCalculatedPrimeTable >()
REGISTER_TYPED_TEST_CASE_P(TypeParamTest, TestA, TestB)
TYPED_TEST_CASE_P(TypeParamTest)
#define EXPECT_TRUE(condition)
#define EXPECT_FALSE(condition)