diff options
author | misterg <misterg@google.com> | 2019-01-11 18:57:36 (GMT) |
---|---|---|
committer | Gennadiy Civil <misterg@google.com> | 2019-01-11 18:59:22 (GMT) |
commit | 0599a7b8410dc5cfdb477900b280475ae775d7f9 (patch) | |
tree | 4ec1e2f02276fdee489d60e6420561b801d6aa4f /googletest/test/googletest-list-tests-unittest_.cc | |
parent | 2edadcedf350b175211642704d1ef5f739a31ca9 (diff) | |
download | googletest-0599a7b8410dc5cfdb477900b280475ae775d7f9.zip googletest-0599a7b8410dc5cfdb477900b280475ae775d7f9.tar.gz googletest-0599a7b8410dc5cfdb477900b280475ae775d7f9.tar.bz2 |
Googletest export
Change tests to use new Test Suite API
PiperOrigin-RevId: 228908894
Diffstat (limited to 'googletest/test/googletest-list-tests-unittest_.cc')
-rw-r--r-- | googletest/test/googletest-list-tests-unittest_.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/googletest/test/googletest-list-tests-unittest_.cc b/googletest/test/googletest-list-tests-unittest_.cc index f473c7d..493c6f0 100644 --- a/googletest/test/googletest-list-tests-unittest_.cc +++ b/googletest/test/googletest-list-tests-unittest_.cc @@ -99,7 +99,7 @@ TEST_P(ValueParamTest, TestA) { TEST_P(ValueParamTest, TestB) { } -INSTANTIATE_TEST_CASE_P( +INSTANTIATE_TEST_SUITE_P( MyInstantiation, ValueParamTest, testing::Values(MyType("one line"), MyType("two\nlines"), @@ -123,7 +123,7 @@ class MyArray { typedef testing::Types<VeryLoooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooogName, // NOLINT int*, MyArray<bool, 42> > MyTypes; -TYPED_TEST_CASE(TypedTest, MyTypes); +TYPED_TEST_SUITE(TypedTest, MyTypes); TYPED_TEST(TypedTest, TestA) { } @@ -137,7 +137,7 @@ template <typename T> class TypeParamTest : public testing::Test { }; -TYPED_TEST_CASE_P(TypeParamTest); +TYPED_TEST_SUITE_P(TypeParamTest); TYPED_TEST_P(TypeParamTest, TestA) { } @@ -145,9 +145,9 @@ TYPED_TEST_P(TypeParamTest, TestA) { TYPED_TEST_P(TypeParamTest, TestB) { } -REGISTER_TYPED_TEST_CASE_P(TypeParamTest, TestA, TestB); +REGISTER_TYPED_TEST_SUITE_P(TypeParamTest, TestA, TestB); -INSTANTIATE_TYPED_TEST_CASE_P(My, TypeParamTest, MyTypes); +INSTANTIATE_TYPED_TEST_SUITE_P(My, TypeParamTest, MyTypes); int main(int argc, char **argv) { ::testing::InitGoogleTest(&argc, argv); |