Home
last modified time | relevance | path

Searched refs:MakeInvalidEmbeddedMessage (Results 1 – 1 of 1) sorted by relevance

/external/protobuf/src/google/protobuf/
Dwire_format_unittest.cc801 string MakeInvalidEmbeddedMessage(const char* bytes, int size) { in MakeInvalidEmbeddedMessage() function in google::protobuf::internal::__anon06f22ea60111::WireFormatInvalidInputTest
850 EXPECT_TRUE(message.ParseFromString(MakeInvalidEmbeddedMessage("", 0))); in TEST_F()
853 EXPECT_FALSE(message.ParseFromString(MakeInvalidEmbeddedMessage("\0", 1))); in TEST_F()
856 EXPECT_FALSE(message.ParseFromString(MakeInvalidEmbeddedMessage("\200", 1))); in TEST_F()
859 EXPECT_FALSE(message.ParseFromString(MakeInvalidEmbeddedMessage("\014", 1))); in TEST_F()
862 EXPECT_FALSE(message.ParseFromString(MakeInvalidEmbeddedMessage("\017", 1))); in TEST_F()