Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
testing::internal::ProtoComparison Struct Reference

Options for comparing two protobufs. More...

#include <message_matchers.h>

Public Member Functions

 ProtoComparison ()
 

Public Attributes

ProtoFieldComparison field_comp
 
ProtoFloatComparison float_comp
 
bool treating_nan_as_equal
 
bool has_custom_margin
 
bool has_custom_fraction
 
RepeatedFieldComparison repeated_field_comp
 
ProtoComparisonScope scope
 
double float_margin
 
double float_fraction
 
std::vector< std::string > ignore_fields
 
std::vector< std::string > ignore_field_paths
 
std::vector< std::string > unordered_fields
 
bool ignore_debug_string_format
 
bool fail_on_no_presence_default_values
 
bool verified_presence_in_string
 

Detailed Description

Options for comparing two protobufs.

Definition at line 63 of file message_matchers.h.

Constructor & Destructor Documentation

◆ ProtoComparison()

testing::internal::ProtoComparison::ProtoComparison ( )
inline

Definition at line 64 of file message_matchers.h.

Member Data Documentation

◆ fail_on_no_presence_default_values

bool testing::internal::ProtoComparison::fail_on_no_presence_default_values

Definition at line 91 of file message_matchers.h.

◆ field_comp

ProtoFieldComparison testing::internal::ProtoComparison::field_comp

Definition at line 78 of file message_matchers.h.

◆ float_comp

ProtoFloatComparison testing::internal::ProtoComparison::float_comp

Definition at line 79 of file message_matchers.h.

◆ float_fraction

double testing::internal::ProtoComparison::float_fraction

Definition at line 86 of file message_matchers.h.

◆ float_margin

double testing::internal::ProtoComparison::float_margin

Definition at line 85 of file message_matchers.h.

◆ has_custom_fraction

bool testing::internal::ProtoComparison::has_custom_fraction

Definition at line 82 of file message_matchers.h.

◆ has_custom_margin

bool testing::internal::ProtoComparison::has_custom_margin

Definition at line 81 of file message_matchers.h.

◆ ignore_debug_string_format

bool testing::internal::ProtoComparison::ignore_debug_string_format

Definition at line 90 of file message_matchers.h.

◆ ignore_field_paths

std::vector<std::string> testing::internal::ProtoComparison::ignore_field_paths

Definition at line 88 of file message_matchers.h.

◆ ignore_fields

std::vector<std::string> testing::internal::ProtoComparison::ignore_fields

Definition at line 87 of file message_matchers.h.

◆ repeated_field_comp

RepeatedFieldComparison testing::internal::ProtoComparison::repeated_field_comp

Definition at line 83 of file message_matchers.h.

◆ scope

ProtoComparisonScope testing::internal::ProtoComparison::scope

Definition at line 84 of file message_matchers.h.

◆ treating_nan_as_equal

bool testing::internal::ProtoComparison::treating_nan_as_equal

Definition at line 80 of file message_matchers.h.

◆ unordered_fields

std::vector<std::string> testing::internal::ProtoComparison::unordered_fields

Definition at line 89 of file message_matchers.h.

◆ verified_presence_in_string

bool testing::internal::ProtoComparison::verified_presence_in_string

Definition at line 92 of file message_matchers.h.


The documentation for this struct was generated from the following file: