diff options
author | misterg <misterg@google.com> | 2019-02-04 16:40:09 (GMT) |
---|---|---|
committer | Gennadiy Civil <misterg@google.com> | 2019-02-04 19:19:50 (GMT) |
commit | 52ea4f7beaa6e05a52ded6b04a73b7eadbc09996 (patch) | |
tree | 46b2dd53f81bb14c60509ed23bcd73a16b3a54a8 /googlemock/test/gmock-matchers_test.cc | |
parent | 876bdfa565b7260394baecdb4a132a738b9ec508 (diff) | |
download | googletest-52ea4f7beaa6e05a52ded6b04a73b7eadbc09996.zip googletest-52ea4f7beaa6e05a52ded6b04a73b7eadbc09996.tar.gz googletest-52ea4f7beaa6e05a52ded6b04a73b7eadbc09996.tar.bz2 |
Googletest export
Mark legacy _TEST_CASE_ macros as deprecated
PiperOrigin-RevId: 232303251
Diffstat (limited to 'googlemock/test/gmock-matchers_test.cc')
-rw-r--r-- | googlemock/test/gmock-matchers_test.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/googlemock/test/gmock-matchers_test.cc b/googlemock/test/gmock-matchers_test.cc index 932229e..1f14a05 100644 --- a/googlemock/test/gmock-matchers_test.cc +++ b/googlemock/test/gmock-matchers_test.cc @@ -4858,7 +4858,7 @@ typedef testing::Types< list<int> > ContainerEqTestTypes; -TYPED_TEST_CASE(ContainerEqTest, ContainerEqTestTypes); +TYPED_TEST_SUITE(ContainerEqTest, ContainerEqTestTypes); // Tests that the filled container is equal to itself. TYPED_TEST(ContainerEqTest, EqualsSelf) { @@ -6090,7 +6090,7 @@ TEST_P(BipartiteTest, Exhaustive) { } while (graph.NextGraph()); } -INSTANTIATE_TEST_CASE_P(AllGraphs, BipartiteTest, +INSTANTIATE_TEST_SUITE_P(AllGraphs, BipartiteTest, ::testing::Range(0, 5)); // Parameterized by a pair interpreted as (LhsSize, RhsSize). @@ -6133,7 +6133,7 @@ TEST_P(BipartiteNonSquareTest, Exhaustive) { } while (graph.NextGraph()); } -INSTANTIATE_TEST_CASE_P(AllGraphs, BipartiteNonSquareTest, +INSTANTIATE_TEST_SUITE_P(AllGraphs, BipartiteNonSquareTest, testing::Values( std::make_pair(1, 2), std::make_pair(2, 1), @@ -6171,7 +6171,7 @@ TEST_P(BipartiteRandomTest, LargerNets) { } // Test argument is a std::pair<int, int> representing (nodes, iters). -INSTANTIATE_TEST_CASE_P(Samples, BipartiteRandomTest, +INSTANTIATE_TEST_SUITE_P(Samples, BipartiteRandomTest, testing::Values( std::make_pair(5, 10000), std::make_pair(6, 5000), |