Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
testing::status::internal::IsOkAndHoldsMatcher< InnerMatcher > Class Template Reference

Implements IsOkAndHolds(m) as a polymorphic matcher. More...

#include <status_matchers.h>

Public Member Functions

 IsOkAndHoldsMatcher (InnerMatcher inner_matcher)
 
template<typename StatusOrType >
 operator::testing::Matcher () const
 

Detailed Description

template<typename InnerMatcher>
class testing::status::internal::IsOkAndHoldsMatcher< InnerMatcher >

Implements IsOkAndHolds(m) as a polymorphic matcher.

Definition at line 89 of file status_matchers.h.

Constructor & Destructor Documentation

◆ IsOkAndHoldsMatcher()

template<typename InnerMatcher >
testing::status::internal::IsOkAndHoldsMatcher< InnerMatcher >::IsOkAndHoldsMatcher ( InnerMatcher inner_matcher)
inlineexplicit

Definition at line 91 of file status_matchers.h.

Member Function Documentation

◆ operator::testing::Matcher()

template<typename InnerMatcher >
template<typename StatusOrType >
testing::status::internal::IsOkAndHoldsMatcher< InnerMatcher >::operator::testing::Matcher ( ) const
inline

Converts this polymorphic matcher to a monomorphic matcher of the given type. StatusOrType can be either StatusOr<T> or a reference to StatusOr<T>.

Definition at line 91 of file status_matchers.h.


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