Searched refs:MessageDifferencer (Results 1 – 12 of 12) sorted by relevance
/external/protobuf/src/google/protobuf/util/ |
D | message_differencer_unittest.cc | 80 void ExpectEqualsWithDifferencer(util::MessageDifferencer* differencer, in ExpectEqualsWithDifferencer() 83 differencer->set_scope(util::MessageDifferencer::FULL); in ExpectEqualsWithDifferencer() 86 differencer->set_scope(util::MessageDifferencer::PARTIAL); in ExpectEqualsWithDifferencer() 99 EXPECT_TRUE(util::MessageDifferencer::Equals(msg1, msg2)); in TEST() 113 EXPECT_FALSE(util::MessageDifferencer::Equals(msg1, msg2)); in TEST() 127 EXPECT_FALSE(util::MessageDifferencer::Equals(msg1, msg2)); in TEST() 141 EXPECT_TRUE(util::MessageDifferencer::Equals(msg1, msg2)); in TEST() 153 util::MessageDifferencer differencer; in TEST() 154 differencer.set_scope(util::MessageDifferencer::PARTIAL); in TEST() 169 util::MessageDifferencer differencer; in TEST() [all …]
|
D | message_differencer.cc | 71 class MessageDifferencer::MultipleFieldsMapKeyComparator 72 : public MessageDifferencer::MapKeyComparator { 75 MessageDifferencer* message_differencer, in MultipleFieldsMapKeyComparator() 85 MessageDifferencer* message_differencer, in MultipleFieldsMapKeyComparator() 148 MessageDifferencer* message_differencer_; 153 bool MessageDifferencer::Equals(const Message& message1, in Equals() 155 MessageDifferencer differencer; in Equals() 160 bool MessageDifferencer::Equivalent(const Message& message1, in Equivalent() 162 MessageDifferencer differencer; in Equivalent() 163 differencer.set_message_field_comparison(MessageDifferencer::EQUIVALENT); in Equivalent() [all …]
|
D | message_differencer.h | 108 class LIBPROTOBUF_EXPORT MessageDifferencer { 341 explicit MessageDifferencer(); 343 ~MessageDifferencer(); 820 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(MessageDifferencer); 828 vector<MessageDifferencer::SpecificField>* parent_fields) in FieldContext() 831 vector<MessageDifferencer::SpecificField>* parent_fields() const { in parent_fields() 836 vector<MessageDifferencer::SpecificField>* parent_fields_;
|
/external/perf_data_converter/src/quipper/ |
D | test_utils.h | 72 MessageDifferencer differencer; in EqualsProto() 73 differencer.set_message_field_comparison(MessageDifferencer::EQUAL); in EqualsProto() 79 MessageDifferencer differencer; in PartiallyEqualsProto() 80 differencer.set_message_field_comparison(MessageDifferencer::EQUAL); in PartiallyEqualsProto() 81 differencer.set_scope(MessageDifferencer::PARTIAL); in PartiallyEqualsProto()
|
/external/libprotobuf-mutator/src/ |
D | mutator_test.cc | 32 using protobuf::util::MessageDifferencer; 312 EXPECT_FALSE(MessageDifferencer::Equals(from, to)); in Mutate() 318 if (MessageDifferencer::Equals(*message, to)) return true; in Mutate() 473 EXPECT_FALSE(MessageDifferencer::Equals(*m1_, *m2_)); in TEST_P() 483 if (MessageDifferencer::Equals(*message, *m2_)) ++match_m2_; in TEST_P() 484 if (MessageDifferencer::Equals(*message, *m1_)) ++match_m1_; in TEST_P() 565 EXPECT_FALSE(MessageDifferencer::Equals(m, tmp)); in TYPED_TEST() 571 if (MessageDifferencer::Equals(tmp, messages[1]) || in TYPED_TEST() 572 MessageDifferencer::Equals(tmp, messages[0])) in TYPED_TEST() 589 EXPECT_TRUE(MessageDifferencer::Equals(parsed, message)); in TYPED_TEST() [all …]
|
D | mutator.cc | 35 using protobuf::util::MessageDifferencer; 143 return MessageDifferencer::Equals(*a, *b); in IsEqual()
|
/external/nos/host/generic/libnos/generator/test/ |
D | test.cpp | 26 using ::google::protobuf::util::MessageDifferencer; 43 MATCHER_P(ProtoMessageEq, msg, "") { return MessageDifferencer::Equals(arg, msg); } 50 && MessageDifferencer::Equals(decoded, msg);
|
/external/perf_data_converter/src/quipper/compat/ |
D | proto.h | 25 using ::google::protobuf::util::MessageDifferencer;
|
/external/protobuf/conformance/ |
D | conformance_test.cc | 57 using google::protobuf::util::MessageDifferencer; 334 MessageDifferencer differencer; in RunValidInputTest()
|
/external/protobuf/src/google/protobuf/util/internal/ |
D | protostream_objectwriter_test.cc | 155 if (!MessageDifferencer::Equivalent(expected, *message)) { in CheckOutput()
|
/external/protobuf/python/google/protobuf/pyext/ |
D | message.cc | 2214 if (equals && !google::protobuf::util::MessageDifferencer::Equals( in CheckAndGetInteger()
|
/external/protobuf/ |
D | CHANGES.txt | 228 - MessageDifferencer: compare two proto messages and report their
|