mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-21 03:29:40 +00:00
Fix an issue in googletest where a name was used before it was defined.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91718 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
9ab2b98ba5
commit
5760f35e15
@ -155,7 +155,6 @@ INSTANTIATE_TEST_CASE_P(AnotherInstantiationName, FooTest, ValuesIn(pets));
|
|||||||
|
|
||||||
#include <gtest/internal/gtest-internal.h>
|
#include <gtest/internal/gtest-internal.h>
|
||||||
#include <gtest/internal/gtest-param-util.h>
|
#include <gtest/internal/gtest-param-util.h>
|
||||||
#include <gtest/internal/gtest-param-util-generated.h>
|
|
||||||
|
|
||||||
namespace testing {
|
namespace testing {
|
||||||
|
|
||||||
@ -289,6 +288,12 @@ internal::ParamGenerator<typename Container::value_type> ValuesIn(
|
|||||||
return ValuesIn(container.begin(), container.end());
|
return ValuesIn(container.begin(), container.end());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
} // namespace testing
|
||||||
|
|
||||||
|
#include <gtest/internal/gtest-param-util-generated.h>
|
||||||
|
|
||||||
|
namespace testing {
|
||||||
|
|
||||||
// Values() allows generating tests from explicitly specified list of
|
// Values() allows generating tests from explicitly specified list of
|
||||||
// parameters.
|
// parameters.
|
||||||
//
|
//
|
||||||
|
Loading…
Reference in New Issue
Block a user