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

#include <status_matchers.h>

Inheritance diagram for testing::status::internal::MonoStatusIsMatcherImpl< T >:

Public Member Functions

 MonoStatusIsMatcherImpl (StatusIsMatcherCommonImpl common_impl)
 
void DescribeTo (std::ostream *os) const override
 
void DescribeNegationTo (std::ostream *os) const override
 
bool MatchAndExplain (T actual_value, ::testing::MatchResultListener *result_listener) const override
 

Detailed Description

template<typename T>
class testing::status::internal::MonoStatusIsMatcherImpl< T >

Monomorphic implementation of matcher StatusIs() for a given type T. T can be Status, StatusOr<>, or a reference to either of them.

Definition at line 211 of file status_matchers.h.

Constructor & Destructor Documentation

◆ MonoStatusIsMatcherImpl()

template<typename T >
testing::status::internal::MonoStatusIsMatcherImpl< T >::MonoStatusIsMatcherImpl ( StatusIsMatcherCommonImpl common_impl)
inlineexplicit

Definition at line 213 of file status_matchers.h.

Member Function Documentation

◆ DescribeNegationTo()

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

Definition at line 220 of file status_matchers.h.

◆ DescribeTo()

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

Definition at line 216 of file status_matchers.h.

◆ MatchAndExplain()

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

Definition at line 224 of file status_matchers.h.


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