Lines Matching defs:unknown
36 // tests handling of unknown fields throughout the system.
103 // unknown fields of every type.
316 // Test mixing known and unknown fields when parsing.
334 // Test that fields of the wrong wire type are treated like unknown fields
343 // All fields should have been interpreted as unknown, so the debug strings
385 // Test that fields of the wrong wire type are treated like unknown fields
394 // All fields should have been interpreted as unknown, so the debug strings
483 // Make sure an unknown field set has zero space used until a field is
527 UnknownFieldSet unknown;
529 unknown.AddFixed32(i, i);
532 unknown.DeleteSubrange(start, num);
534 EXPECT_EQ(size - num, unknown.field_count());
535 for (int i = 0; i < unknown.field_count(); ++i) {
537 EXPECT_EQ(i, unknown.field(i).fixed32());
539 EXPECT_EQ(i + num, unknown.field(i).fixed32());