![]() |
Google OR-Tools v9.14
a fast and portable software suite for combinatorial optimization
|
Implements StatusIs() as a polymorphic matcher. More...
Implements StatusIs() as a polymorphic matcher.
Definition at line 236 of file status_matchers.h.
#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 | |
|
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.