Merge aaebbb24f65fe9ba33c679b4c1ea4311948b168e into a0f06a70e3da7afa88da9527c43951bca1f7cef2

This commit is contained in:
David Matson 2026-07-29 15:15:45 -07:00 committed by GitHub
commit 4ec63abb9a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 2 deletions

View File

@ -1193,7 +1193,8 @@ class StreamingListener : public EmptyTestEventListener {
void OnTestEnd(const TestInfo& test_info) override {
SendLn("event=TestEnd&passed=" +
FormatBool((test_info.result())->Passed()) + "&elapsed_time=" +
FormatBool((test_info.result())->Passed()) + "&skipped=" +
FormatBool((test_info.result())->Skipped()) + "&elapsed_time=" +
StreamableToString((test_info.result())->elapsed_time()) + "ms");
}

View File

@ -167,7 +167,7 @@ TEST_F(StreamingListenerTest, OnTestStart) {
TEST_F(StreamingListenerTest, OnTestEnd) {
*output() = "";
streamer_.OnTestEnd(test_info_obj_);
EXPECT_EQ("event=TestEnd&passed=1&elapsed_time=0ms\n", *output());
EXPECT_EQ("event=TestEnd&passed=1&skipped=0&elapsed_time=0ms\n", *output());
}
TEST_F(StreamingListenerTest, OnTestPartResult) {