Searched refs:MakeInvalidGroup (Results 1 – 1 of 1) sorted by relevance
/external/protobuf/src/google/protobuf/ |
D | wire_format_unittest.cc | 822 string MakeInvalidGroup(const char* bytes, int size, bool include_end_tag) { in MakeInvalidGroup() function in google::protobuf::internal::__anon06f22ea60111::WireFormatInvalidInputTest 869 EXPECT_TRUE(message.ParseFromString(MakeInvalidGroup("", 0, true))); in TEST_F() 872 EXPECT_FALSE(message.ParseFromString(MakeInvalidGroup("", 0, false))); in TEST_F() 875 EXPECT_FALSE(message.ParseFromString(MakeInvalidGroup("\0", 1, false))); in TEST_F() 878 EXPECT_FALSE(message.ParseFromString(MakeInvalidGroup("\200", 1, false))); in TEST_F() 881 EXPECT_FALSE(message.ParseFromString(MakeInvalidGroup("\014", 1, false))); in TEST_F() 884 EXPECT_FALSE(message.ParseFromString(MakeInvalidGroup("\017", 1, true))); in TEST_F() 893 EXPECT_TRUE(message.ParseFromString(MakeInvalidGroup("", 0, true))); in TEST_F() 896 EXPECT_FALSE(message.ParseFromString(MakeInvalidGroup("", 0, false))); in TEST_F() 899 EXPECT_FALSE(message.ParseFromString(MakeInvalidGroup("\0", 1, false))); in TEST_F() [all …]
|