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.cc968 string MakeInvalidEmbeddedMessage(const char* bytes, int size) { in MakeInvalidEmbeddedMessage() function in google::protobuf::internal::__anon0c563f050111::WireFormatInvalidInputTest
1017 EXPECT_TRUE(message.ParseFromString(MakeInvalidEmbeddedMessage("", 0))); in TEST_F()
1020 EXPECT_FALSE(message.ParseFromString(MakeInvalidEmbeddedMessage("\0", 1))); in TEST_F()
1023 EXPECT_FALSE(message.ParseFromString(MakeInvalidEmbeddedMessage("\200", 1))); in TEST_F()
1026 EXPECT_FALSE(message.ParseFromString(MakeInvalidEmbeddedMessage("\014", 1))); in TEST_F()
1029 EXPECT_FALSE(message.ParseFromString(MakeInvalidEmbeddedMessage("\017", 1))); in TEST_F()