Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
Implements StatusIs() as a polymorphic matcher. More...
#include <status_matchers.h>
Public Member Functions | |
StatusIsMatcher (::testing::Matcher< const absl::StatusCode > code_matcher, ::testing::Matcher< const std::string & > message_matcher) | |
template<typename T > | |
operator::testing::Matcher () const | |
Implements StatusIs() as a polymorphic matcher.
Definition at line 236 of file status_matchers.h.
|
inline |
Definition at line 238 of file status_matchers.h.
|
inline |
Converts this polymorphic matcher to a monomorphic matcher of the given type. T can be StatusOr<>, Status, or a reference to either of them.
Definition at line 238 of file status_matchers.h.