Cleans up macro definitions.
This commit is contained in:
@@ -74,7 +74,7 @@ class PrimeTableTest : public testing::Test {
|
||||
PrimeTable* const table_;
|
||||
};
|
||||
|
||||
#ifdef GTEST_HAS_TYPED_TEST
|
||||
#if GTEST_HAS_TYPED_TEST
|
||||
|
||||
using testing::Types;
|
||||
|
||||
@@ -137,7 +137,7 @@ TYPED_TEST(PrimeTableTest, CanGetNextPrime) {
|
||||
|
||||
#endif // GTEST_HAS_TYPED_TEST
|
||||
|
||||
#ifdef GTEST_HAS_TYPED_TEST_P
|
||||
#if GTEST_HAS_TYPED_TEST_P
|
||||
|
||||
using testing::Types;
|
||||
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
#ifdef GTEST_HAS_PARAM_TEST
|
||||
#if GTEST_HAS_PARAM_TEST
|
||||
|
||||
using ::testing::TestWithParam;
|
||||
using ::testing::Values;
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
#ifdef GTEST_HAS_COMBINE
|
||||
#if GTEST_HAS_COMBINE
|
||||
|
||||
// Suppose we want to introduce a new, improved implementation of PrimeTable
|
||||
// which combines speed of PrecalcPrimeTable and versatility of
|
||||
|
||||
Reference in New Issue
Block a user