Home
last modified time | relevance | path

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

/external/protobuf/src/google/protobuf/
Ddrop_unknown_fields_test.cc47 FooWithExtraFields foo_with_extra_fields; in TEST() local
48 foo_with_extra_fields.set_int32_value(1); in TEST()
49 foo_with_extra_fields.set_enum_value(FooWithExtraFields::QUX); in TEST()
50 foo_with_extra_fields.set_extra_int32_value(2); in TEST()
53 ASSERT_TRUE(foo.ParseFromString(foo_with_extra_fields.SerializeAsString())); in TEST()
61 ASSERT_TRUE(foo_with_extra_fields.ParseFromString(foo.SerializeAsString())); in TEST()
62 EXPECT_EQ(1, foo_with_extra_fields.int32_value()); in TEST()
63 EXPECT_EQ(FooWithExtraFields::QUX, foo_with_extra_fields.enum_value()); in TEST()
65 EXPECT_EQ(0, foo_with_extra_fields.extra_int32_value()); in TEST()
69 FooWithExtraFields foo_with_extra_fields; in TEST() local
[all …]