aboutsummaryrefslogtreecommitdiff
path: root/include/gtest/gtest-param-test.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/gtest/gtest-param-test.h')
-rw-r--r--include/gtest/gtest-param-test.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/gtest/gtest-param-test.h b/include/gtest/gtest-param-test.h
index 421517d..ee21fa4 100644
--- a/include/gtest/gtest-param-test.h
+++ b/include/gtest/gtest-param-test.h
@@ -155,7 +155,6 @@ INSTANTIATE_TEST_CASE_P(AnotherInstantiationName, FooTest, ValuesIn(pets));
#include <gtest/internal/gtest-internal.h>
#include <gtest/internal/gtest-param-util.h>
-#include <gtest/internal/gtest-param-util-generated.h>
namespace testing {
@@ -289,6 +288,10 @@ internal::ParamGenerator<typename Container::value_type> ValuesIn(
return ValuesIn(container.begin(), container.end());
}
+} // namespace testing
+#include <gtest/internal/gtest-param-util-generated.h> // Must be included after ValuesIn and friends are defined
+namespace testing { // And back in...
+
// Values() allows generating tests from explicitly specified list of
// parameters.
//