summaryrefslogtreecommitdiffstats
path: root/googletest/test
diff options
context:
space:
mode:
authorDerek Mauro <dmauro@google.com>2022-01-28 15:26:29 (GMT)
committerCopybara-Service <copybara-worker@google.com>2022-01-28 15:27:11 (GMT)
commit28e1da21d8d677bc98f12ccc7fc159ff19e8e817 (patch)
tree46d9ee7a8fcd199838b3877017dbb4b293bf2184 /googletest/test
parent0b7798b2fba340969a0cf83698e5c0a2e25b7dbc (diff)
downloadgoogletest-28e1da21d8d677bc98f12ccc7fc159ff19e8e817.zip
googletest-28e1da21d8d677bc98f12ccc7fc159ff19e8e817.tar.gz
googletest-28e1da21d8d677bc98f12ccc7fc159ff19e8e817.tar.bz2
Finish some missed pieces of the TestCase to TestSuite Migration
PiperOrigin-RevId: 424864779 Change-Id: Iac5cafa3568f5fe41c85c52d28f7d61845f76868
Diffstat (limited to 'googletest/test')
-rw-r--r--googletest/test/gtest_unittest.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/googletest/test/gtest_unittest.cc b/googletest/test/gtest_unittest.cc
index f70ca69..0f10df5 100644
--- a/googletest/test/gtest_unittest.cc
+++ b/googletest/test/gtest_unittest.cc
@@ -111,15 +111,15 @@ TEST_F(StreamingListenerTest, OnTestIterationEnd) {
EXPECT_EQ("event=TestIterationEnd&passed=1&elapsed_time=0ms\n", *output());
}
-TEST_F(StreamingListenerTest, OnTestCaseStart) {
+TEST_F(StreamingListenerTest, OnTestSuiteStart) {
*output() = "";
- streamer_.OnTestCaseStart(TestCase("FooTest", "Bar", nullptr, nullptr));
+ streamer_.OnTestSuiteStart(TestSuite("FooTest", "Bar", nullptr, nullptr));
EXPECT_EQ("event=TestCaseStart&name=FooTest\n", *output());
}
-TEST_F(StreamingListenerTest, OnTestCaseEnd) {
+TEST_F(StreamingListenerTest, OnTestSuiteEnd) {
*output() = "";
- streamer_.OnTestCaseEnd(TestCase("FooTest", "Bar", nullptr, nullptr));
+ streamer_.OnTestSuiteEnd(TestSuite("FooTest", "Bar", nullptr, nullptr));
EXPECT_EQ("event=TestCaseEnd&passed=1&elapsed_time=0ms\n", *output());
}