Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
Classes | |
struct | ProtoComparison |
Options for comparing two protobufs. More... | |
class | ProtoMatcher |
Typedefs | |
typedef ::google::protobuf::util::MessageDifferencer::MessageFieldComparison | ProtoFieldComparison |
typedef ::google::protobuf::util::DefaultFieldComparator::FloatComparison | ProtoFloatComparison |
How to compare two floating-points (exact vs. approximate). | |
typedef ::google::protobuf::util::MessageDifferencer::RepeatedFieldComparison | RepeatedFieldComparison |
How to compare repeated fields (whether the order of elements matters). | |
typedef ::google::protobuf::util::MessageDifferencer::Scope | ProtoComparisonScope |
using | PolymorphicProtoMatcher = PolymorphicMatcher<ProtoMatcher> |
Variables | |
const ProtoFieldComparison | kProtoEqual |
const ProtoFieldComparison | kProtoEquiv |
const ProtoFloatComparison | kProtoExact |
const ProtoFloatComparison | kProtoApproximate |
const RepeatedFieldComparison | kProtoCompareRepeatedFieldsRespectOrdering |
const RepeatedFieldComparison | kProtoCompareRepeatedFieldsIgnoringOrdering |
const ProtoComparisonScope | kProtoFull |
const ProtoComparisonScope | kProtoPartial |
const bool | kMustBeInitialized = true |
Whether the protobuf must be initialized. | |
const bool | kMayBeUninitialized = false |
using testing::internal::PolymorphicProtoMatcher = PolymorphicMatcher<ProtoMatcher> |
Definition at line 150 of file message_matchers.h.
typedef ::google::protobuf::util::MessageDifferencer::Scope testing::internal::ProtoComparisonScope |
Whether to compare all fields (full) or only fields present in the expected protobuf (partial).
Definition at line 43 of file message_matchers.h.
typedef ::google::protobuf::util::MessageDifferencer::MessageFieldComparison testing::internal::ProtoFieldComparison |
Utilities. How to compare two fields (equal vs. equivalent).
Definition at line 30 of file message_matchers.h.
typedef ::google::protobuf::util::DefaultFieldComparator::FloatComparison testing::internal::ProtoFloatComparison |
How to compare two floating-points (exact vs. approximate).
Definition at line 34 of file message_matchers.h.
typedef ::google::protobuf::util::MessageDifferencer::RepeatedFieldComparison testing::internal::RepeatedFieldComparison |
How to compare repeated fields (whether the order of elements matters).
Definition at line 38 of file message_matchers.h.
const bool testing::internal::kMayBeUninitialized = false |
Definition at line 97 of file message_matchers.h.
const bool testing::internal::kMustBeInitialized = true |
Whether the protobuf must be initialized.
Definition at line 96 of file message_matchers.h.
const ProtoFloatComparison testing::internal::kProtoApproximate |
Definition at line 51 of file message_matchers.h.
const RepeatedFieldComparison testing::internal::kProtoCompareRepeatedFieldsIgnoringOrdering |
Definition at line 55 of file message_matchers.h.
const RepeatedFieldComparison testing::internal::kProtoCompareRepeatedFieldsRespectOrdering |
Definition at line 53 of file message_matchers.h.
const ProtoFieldComparison testing::internal::kProtoEqual |
Definition at line 45 of file message_matchers.h.
const ProtoFieldComparison testing::internal::kProtoEquiv |
Definition at line 47 of file message_matchers.h.
const ProtoFloatComparison testing::internal::kProtoExact |
Definition at line 49 of file message_matchers.h.
const ProtoComparisonScope testing::internal::kProtoFull |
Definition at line 57 of file message_matchers.h.
const ProtoComparisonScope testing::internal::kProtoPartial |
Definition at line 59 of file message_matchers.h.