Electroneum
Loading...
Searching...
No Matches
testing::internal::WhenDynamicCastToMatcherBase< To > Class Template Reference

#include <gmock-matchers.h>

Inheritance diagram for testing::internal::WhenDynamicCastToMatcherBase< To >:
Collaboration diagram for testing::internal::WhenDynamicCastToMatcherBase< To >:

Public Member Functions

 WhenDynamicCastToMatcherBase (const Matcher< To > &matcher)
void DescribeTo (::std::ostream *os) const
void DescribeNegationTo (::std::ostream *os) const

Static Protected Member Functions

static string GetToName ()

Protected Attributes

const Matcher< To > matcher_

Detailed Description

template<typename To>
class testing::internal::WhenDynamicCastToMatcherBase< To >

Definition at line 2108 of file gmock-matchers.h.

Constructor & Destructor Documentation

◆ WhenDynamicCastToMatcherBase()

template<typename To>
testing::internal::WhenDynamicCastToMatcherBase< To >::WhenDynamicCastToMatcherBase ( const Matcher< To > & matcher)
inlineexplicit

Definition at line 2110 of file gmock-matchers.h.

Here is the caller graph for this function:

Member Function Documentation

◆ DescribeNegationTo()

template<typename To>
void testing::internal::WhenDynamicCastToMatcherBase< To >::DescribeNegationTo ( ::std::ostream * os) const
inline

Definition at line 2118 of file gmock-matchers.h.

2118 {
2119 GetCastTypeDescription(os);
2120 matcher_.DescribeNegationTo(os);
2121 }

◆ DescribeTo()

template<typename To>
void testing::internal::WhenDynamicCastToMatcherBase< To >::DescribeTo ( ::std::ostream * os) const
inline

Definition at line 2113 of file gmock-matchers.h.

2113 {
2114 GetCastTypeDescription(os);
2115 matcher_.DescribeTo(os);
2116 }

◆ GetToName()

template<typename To>
string testing::internal::WhenDynamicCastToMatcherBase< To >::GetToName ( )
inlinestaticprotected

Definition at line 2126 of file gmock-matchers.h.

2126 {
2127#if GTEST_HAS_RTTI
2128 return GetTypeName<To>();
2129#else // GTEST_HAS_RTTI
2130 return "the target type";
2131#endif // GTEST_HAS_RTTI
2132 }
std::string GetTypeName()
Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ matcher_

template<typename To>
const Matcher<To> testing::internal::WhenDynamicCastToMatcherBase< To >::matcher_
protected

Definition at line 2124 of file gmock-matchers.h.


The documentation for this class was generated from the following file:
  • /home/abuild/rpmbuild/BUILD/electroneum-5.1.3.1-build/electroneum-5.1.3.1/external/rapidjson/thirdparty/gtest/googlemock/include/gmock/gmock-matchers.h