| 22 | }; |
| 23 | |
| 24 | TEST_F(TextOutputStreamTest, singleLineCharStar) |
| 25 | { |
| 26 | // Arrange |
| 27 | const std::string testString("Single line const char *"); |
| 28 | std::ostringstream ss; |
| 29 | Base::TextOutputStream tos(ss); |
| 30 | |
| 31 | // Act |
| 32 | tos << testString; |
| 33 | |
| 34 | // Assert - the number of newlines in the string, a colon, the string, a newline |
| 35 | EXPECT_EQ(std::string("0:") + testString + "\n", ss.str()); |
| 36 | } |
| 37 | |
| 38 | TEST_F(TextOutputStreamTest, multiLineCharStar) |
| 39 | { |