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

#include <message_matchers.h>

Public Types

using is_gtest_matcher = void
 
using MessageType = ::google::protobuf::Message
 

Public Member Functions

 ProtoMatcher (const MessageType &message)
 
 ProtoMatcher (const MessageType &message, bool, ProtoComparison &)
 
bool MatchAndExplain (const MessageType &m, testing::MatchResultListener *) const
 
bool MatchAndExplain (const MessageType *m, testing::MatchResultListener *) const
 
void DescribeTo (std::ostream *os) const
 
void DescribeNegationTo (std::ostream *os) const
 

Detailed Description

Definition at line 99 of file message_matchers.h.

Member Typedef Documentation

◆ is_gtest_matcher

◆ MessageType

using testing::internal::ProtoMatcher::MessageType = ::google::protobuf::Message

Definition at line 102 of file message_matchers.h.

Constructor & Destructor Documentation

◆ ProtoMatcher() [1/2]

testing::internal::ProtoMatcher::ProtoMatcher ( const MessageType & message)
inlineexplicit

Definition at line 104 of file message_matchers.h.

◆ ProtoMatcher() [2/2]

testing::internal::ProtoMatcher::ProtoMatcher ( const MessageType & message,
bool ,
ProtoComparison &  )
inline

Definition at line 107 of file message_matchers.h.

Member Function Documentation

◆ DescribeNegationTo()

void testing::internal::ProtoMatcher::DescribeNegationTo ( std::ostream * os) const
inline

Definition at line 123 of file message_matchers.h.

◆ DescribeTo()

void testing::internal::ProtoMatcher::DescribeTo ( std::ostream * os) const
inline

Definition at line 119 of file message_matchers.h.

◆ MatchAndExplain() [1/2]

bool testing::internal::ProtoMatcher::MatchAndExplain ( const MessageType & m,
testing::MatchResultListener *  ) const
inline

Definition at line 110 of file message_matchers.h.

◆ MatchAndExplain() [2/2]

bool testing::internal::ProtoMatcher::MatchAndExplain ( const MessageType * m,
testing::MatchResultListener *  ) const
inline

Definition at line 114 of file message_matchers.h.


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