Home
last modified time | relevance | path

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

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/util/
Dmessage_differencer_unittest.cc1113 util::MessageDifferencer differencer2; in TEST() local
1114 differencer2.TreatAsMap(msg1.GetDescriptor()->FindFieldByName("item"), in TEST()
1116 differencer2.set_repeated_field_comparison(util::MessageDifferencer::AS_SET); in TEST()
1117 differencer2.TreatAsList(msg1.GetDescriptor()->FindFieldByName("rw")); in TEST()
1118 EXPECT_TRUE(differencer2.Compare(msg1, msg2)); in TEST()
1440 util::MessageDifferencer differencer2; in TEST() local
1441 differencer2.TreatAsMap(GetFieldDescriptor(msg1, "item"), in TEST()
1443 differencer2.IgnoreField(GetFieldDescriptor(msg1, "item.ra")); in TEST()
1445 differencer2.ReportDifferencesToString(&output); in TEST()
1446 EXPECT_FALSE(differencer2.Compare(msg1, msg2)); in TEST()