Searched refs:MakeInvalidGroup (Results 1 – 1 of 1) sorted by relevance
/external/protobuf/src/google/protobuf/ |
D | wire_format_unittest.cc | 989 string MakeInvalidGroup(const char* bytes, int size, bool include_end_tag) { in MakeInvalidGroup() function in google::protobuf::internal::__anon0c563f050111::WireFormatInvalidInputTest 1036 EXPECT_TRUE(message.ParseFromString(MakeInvalidGroup("", 0, true))); in TEST_F() 1039 EXPECT_FALSE(message.ParseFromString(MakeInvalidGroup("", 0, false))); in TEST_F() 1042 EXPECT_FALSE(message.ParseFromString(MakeInvalidGroup("\0", 1, false))); in TEST_F() 1045 EXPECT_FALSE(message.ParseFromString(MakeInvalidGroup("\200", 1, false))); in TEST_F() 1048 EXPECT_FALSE(message.ParseFromString(MakeInvalidGroup("\014", 1, false))); in TEST_F() 1051 EXPECT_FALSE(message.ParseFromString(MakeInvalidGroup("\017", 1, true))); in TEST_F() 1060 EXPECT_TRUE(message.ParseFromString(MakeInvalidGroup("", 0, true))); in TEST_F() 1063 EXPECT_FALSE(message.ParseFromString(MakeInvalidGroup("", 0, false))); in TEST_F() 1066 EXPECT_FALSE(message.ParseFromString(MakeInvalidGroup("\0", 1, false))); in TEST_F() [all …]
|