| 50 | using ::testing::TestWithParam; |
| 51 | |
| 52 | TEST(ByteStringKind, Ostream) { |
| 53 | { |
| 54 | std::ostringstream out; |
| 55 | out << ByteStringKind::kSmall; |
| 56 | EXPECT_EQ(out.str(), "SMALL"); |
| 57 | } |
| 58 | { |
| 59 | std::ostringstream out; |
| 60 | out << ByteStringKind::kMedium; |
| 61 | EXPECT_EQ(out.str(), "MEDIUM"); |
| 62 | } |
| 63 | { |
| 64 | std::ostringstream out; |
| 65 | out << ByteStringKind::kLarge; |
| 66 | EXPECT_EQ(out.str(), "LARGE"); |
| 67 | } |
| 68 | } |
| 69 | |
| 70 | class ByteStringTest : public TestWithParam<AllocatorKind>, |
| 71 | public ByteStringTestFriend { |
nothing calls this directly
no test coverage detected