Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
testing::internal::StrEqualityMatcher< StringType > Class Template Reference

#include <JETSCAPE/blob/main/external_packages/googletest/googlemock/include/gmock/gmock-matchers.h>

Public Member Functions

 StrEqualityMatcher (const StringType &str, bool expect_eq, bool case_sensitive)
 
template<typename CharType >
bool MatchAndExplain (CharType *s, MatchResultListener *listener) const
 
template<typename MatcheeStringType >
bool MatchAndExplain (const MatcheeStringType &s, MatchResultListener *) const
 
void DescribeTo (::std::ostream *os) const
 
void DescribeNegationTo (::std::ostream *os) const
 

Private Member Functions

void DescribeToHelper (bool expect_eq,::std::ostream *os) const
 
 GTEST_DISALLOW_ASSIGN_ (StrEqualityMatcher)
 

Private Attributes

const StringType string_
 
const bool expect_eq_
 
const bool case_sensitive_
 

Detailed Description

template<typename StringType>
class testing::internal::StrEqualityMatcher< StringType >

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

View newest version in sPHENIX GitHub at line 1126 of file gmock-matchers.h

Constructor & Destructor Documentation

template<typename StringType >
testing::internal::StrEqualityMatcher< StringType >::StrEqualityMatcher ( const StringType &  str,
bool  expect_eq,
bool  case_sensitive 
)
inline

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

View newest version in sPHENIX GitHub at line 1128 of file gmock-matchers.h

Member Function Documentation

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

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

View newest version in sPHENIX GitHub at line 1162 of file gmock-matchers.h

References testing::internal::StrEqualityMatcher< StringType >::DescribeToHelper(), and testing::internal::StrEqualityMatcher< StringType >::expect_eq_.

+ Here is the call graph for this function:

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

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

View newest version in sPHENIX GitHub at line 1158 of file gmock-matchers.h

References testing::internal::StrEqualityMatcher< StringType >::DescribeToHelper(), and testing::internal::StrEqualityMatcher< StringType >::expect_eq_.

+ Here is the call graph for this function:

template<typename StringType >
void testing::internal::StrEqualityMatcher< StringType >::DescribeToHelper ( bool  expect_eq,
::std::ostream *  os 
) const
inlineprivate

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

View newest version in sPHENIX GitHub at line 1167 of file gmock-matchers.h

References testing::internal::StrEqualityMatcher< StringType >::case_sensitive_, testing::internal::StrEqualityMatcher< StringType >::string_, and testing::internal::UniversalPrint().

Referenced by testing::internal::StrEqualityMatcher< StringType >::DescribeNegationTo(), and testing::internal::StrEqualityMatcher< StringType >::DescribeTo().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

template<typename StringType >
testing::internal::StrEqualityMatcher< StringType >::GTEST_DISALLOW_ASSIGN_ ( StrEqualityMatcher< StringType >  )
private
template<typename StringType >
template<typename CharType >
bool testing::internal::StrEqualityMatcher< StringType >::MatchAndExplain ( CharType *  s,
MatchResultListener listener 
) const
inline

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

View newest version in sPHENIX GitHub at line 1138 of file gmock-matchers.h

References testing::internal::StrEqualityMatcher< StringType >::expect_eq_.

template<typename StringType >
template<typename MatcheeStringType >
bool testing::internal::StrEqualityMatcher< StringType >::MatchAndExplain ( const MatcheeStringType &  s,
MatchResultListener  
) const
inline

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

View newest version in sPHENIX GitHub at line 1150 of file gmock-matchers.h

References testing::internal::StrEqualityMatcher< StringType >::case_sensitive_, testing::internal::CaseInsensitiveStringEquals(), testing::internal::StrEqualityMatcher< StringType >::expect_eq_, and testing::internal::StrEqualityMatcher< StringType >::string_.

+ Here is the call graph for this function:

Member Data Documentation

template<typename StringType >
const bool testing::internal::StrEqualityMatcher< StringType >::case_sensitive_
private
template<typename StringType >
const StringType testing::internal::StrEqualityMatcher< StringType >::string_
private

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