| 27 | using ::testing::ContainsRegex; |
| 28 | |
| 29 | TEST(ParseTextFormatFromStringTest, Success) { |
| 30 | protobuf::DescriptorProto output; |
| 31 | TF_ASSERT_OK(ParseTextFormatFromString("name: \"foo\"", &output)); |
| 32 | EXPECT_EQ(output.name(), "foo"); |
| 33 | } |
| 34 | |
| 35 | TEST(ParseTextFormatFromStringTest, ErrorOnInvalidSyntax) { |
| 36 | protobuf::DescriptorProto output; |
nothing calls this directly
no test coverage detected