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

#include <status_matchers.h>

Inheritance diagram for testing::status::internal::IsOkAndHoldsMatcherImpl< StatusOrType >:

Public Types

using value_type
 

Public Member Functions

template<typename InnerMatcher >
 IsOkAndHoldsMatcherImpl (InnerMatcher &&inner_matcher)
 
void DescribeTo (std::ostream *os) const override
 
void DescribeNegationTo (std::ostream *os) const override
 
bool MatchAndExplain (StatusOrType actual_value, ::testing::MatchResultListener *result_listener) const override
 

Detailed Description

template<typename StatusOrType>
class testing::status::internal::IsOkAndHoldsMatcherImpl< StatusOrType >

Monomorphic implementation of matcher IsOkAndHolds(m). StatusOrType is a reference to StatusOr<T>.

Definition at line 42 of file status_matchers.h.

Member Typedef Documentation

◆ value_type

template<typename StatusOrType >
using testing::status::internal::IsOkAndHoldsMatcherImpl< StatusOrType >::value_type
Initial value:
typename std::remove_reference<StatusOrType>::type::value_type

Definition at line 45 of file status_matchers.h.

Constructor & Destructor Documentation

◆ IsOkAndHoldsMatcherImpl()

template<typename StatusOrType >
template<typename InnerMatcher >
testing::status::internal::IsOkAndHoldsMatcherImpl< StatusOrType >::IsOkAndHoldsMatcherImpl ( InnerMatcher && inner_matcher)
inlineexplicit

Definition at line 49 of file status_matchers.h.

Member Function Documentation

◆ DescribeNegationTo()

template<typename StatusOrType >
void testing::status::internal::IsOkAndHoldsMatcherImpl< StatusOrType >::DescribeNegationTo ( std::ostream * os) const
inlineoverride

Definition at line 58 of file status_matchers.h.

◆ DescribeTo()

template<typename StatusOrType >
void testing::status::internal::IsOkAndHoldsMatcherImpl< StatusOrType >::DescribeTo ( std::ostream * os) const
inlineoverride

Definition at line 53 of file status_matchers.h.

◆ MatchAndExplain()

template<typename StatusOrType >
bool testing::status::internal::IsOkAndHoldsMatcherImpl< StatusOrType >::MatchAndExplain ( StatusOrType actual_value,
::testing::MatchResultListener * result_listener ) const
inlineoverride

Definition at line 63 of file status_matchers.h.


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