Searched refs:differencer (Results 1 – 3 of 3) sorted by relevance
80 void ExpectEqualsWithDifferencer(util::MessageDifferencer* differencer, in ExpectEqualsWithDifferencer() argument83 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() local154 differencer.set_scope(util::MessageDifferencer::PARTIAL); in TEST()155 EXPECT_TRUE(differencer.Compare(msg1, msg2)); in TEST()169 util::MessageDifferencer differencer; in TEST() local170 differencer.set_scope(util::MessageDifferencer::PARTIAL); in TEST()[all …]
155 MessageDifferencer differencer; in Equals() local157 return differencer.Compare(message1, message2); in Equals()162 MessageDifferencer differencer; in Equivalent() local163 differencer.set_message_field_comparison(MessageDifferencer::EQUIVALENT); in Equivalent()165 return differencer.Compare(message1, message2); in Equivalent()170 MessageDifferencer differencer; in ApproximatelyEquals() local171 differencer.set_float_comparison( in ApproximatelyEquals()174 return differencer.Compare(message1, message2); in ApproximatelyEquals()179 MessageDifferencer differencer; in ApproximatelyEquivalent() local180 differencer.set_message_field_comparison(MessageDifferencer::EQUIVALENT); in ApproximatelyEquivalent()[all …]
335 MessageDifferencer differencer; in RunValidInputTest() local338 differencer.set_field_comparator(&field_comparator); in RunValidInputTest()340 differencer.ReportDifferencesToString(&differences); in RunValidInputTest()342 if (differencer.Compare(reference_message, test_message)) { in RunValidInputTest()