Home
last modified time | relevance | path

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

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/util/
Dmessage_differencer_unittest.cc80 void ExpectEqualsWithDifferencer(util::MessageDifferencer* differencer, in ExpectEqualsWithDifferencer() argument
83 differencer->set_scope(util::MessageDifferencer::FULL); in ExpectEqualsWithDifferencer()
84 EXPECT_TRUE(differencer->Compare(msg1, msg2)); in ExpectEqualsWithDifferencer()
86 differencer->set_scope(util::MessageDifferencer::PARTIAL); in ExpectEqualsWithDifferencer()
87 EXPECT_TRUE(differencer->Compare(msg1, msg2)); in ExpectEqualsWithDifferencer()
153 util::MessageDifferencer differencer; in TEST() local
154 differencer.set_scope(util::MessageDifferencer::PARTIAL); in TEST()
155 EXPECT_TRUE(differencer.Compare(msg1, msg2)); in TEST()
169 util::MessageDifferencer differencer; in TEST() local
170 differencer.set_scope(util::MessageDifferencer::PARTIAL); in TEST()
[all …]
Dmessage_differencer.cc155 MessageDifferencer differencer; in Equals() local
157 return differencer.Compare(message1, message2); in Equals()
162 MessageDifferencer differencer; in Equivalent() local
163 differencer.set_message_field_comparison(MessageDifferencer::EQUIVALENT); in Equivalent()
165 return differencer.Compare(message1, message2); in Equivalent()
170 MessageDifferencer differencer; in ApproximatelyEquals() local
171 differencer.set_float_comparison( in ApproximatelyEquals()
174 return differencer.Compare(message1, message2); in ApproximatelyEquals()
179 MessageDifferencer differencer; in ApproximatelyEquivalent() local
180 differencer.set_message_field_comparison(MessageDifferencer::EQUIVALENT); in ApproximatelyEquivalent()
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/conformance/
Dconformance_test.cc335 MessageDifferencer differencer; in RunValidInputTest() local
338 differencer.set_field_comparator(&field_comparator); in RunValidInputTest()
340 differencer.ReportDifferencesToString(&differences); in RunValidInputTest()
342 if (differencer.Compare(reference_message, test_message)) { in RunValidInputTest()