Public Member Functions | Private Member Functions | Private Attributes | List of all members
testing::AssertionResult Class Reference

#include <gtest.h>

Public Member Functions

 AssertionResult (const AssertionResult &other)
 
template<typename T >
 AssertionResult (const T &success, typename internal::EnableIf< !internal::ImplicitlyConvertible< T, AssertionResult >::value >::type *=NULL)
 
const char * failure_message () const
 
const char * message () const
 
 operator bool () const
 
AssertionResult operator! () const
 
template<typename T >
AssertionResultoperator<< (const T &value)
 
AssertionResultoperator<< (::std::ostream &(*basic_manipulator)(::std::ostream &stream))
 
AssertionResultoperator= (AssertionResult other)
 

Private Member Functions

void AppendMessage (const Message &a_message)
 
void swap (AssertionResult &other)
 

Private Attributes

internal::scoped_ptr< ::std::string > message_
 
bool success_
 

Detailed Description

Definition at line 256 of file gtest.h.

Constructor & Destructor Documentation

testing::AssertionResult::AssertionResult ( const AssertionResult other)

Definition at line 950 of file gtest.cc.

template<typename T >
testing::AssertionResult::AssertionResult ( const T &  success,
typename internal::EnableIf< !internal::ImplicitlyConvertible< T, AssertionResult >::value >::type *  = NULL 
)
inlineexplicit

Definition at line 272 of file gtest.h.

Member Function Documentation

void testing::AssertionResult::AppendMessage ( const Message a_message)
inlineprivate

Definition at line 320 of file gtest.h.

const char* testing::AssertionResult::failure_message ( ) const
inline

Definition at line 302 of file gtest.h.

const char* testing::AssertionResult::message ( ) const
inline

Definition at line 297 of file gtest.h.

testing::AssertionResult::operator bool ( ) const
inline

Definition at line 288 of file gtest.h.

AssertionResult testing::AssertionResult::operator! ( ) const

Definition at line 965 of file gtest.cc.

template<typename T >
AssertionResult& testing::AssertionResult::operator<< ( const T &  value)
inline

Definition at line 305 of file gtest.h.

AssertionResult& testing::AssertionResult::operator<< ( ::std::ostream &(*)(::std::ostream &stream)  basic_manipulator)
inline

Definition at line 312 of file gtest.h.

AssertionResult& testing::AssertionResult::operator= ( AssertionResult  other)
inline

Definition at line 282 of file gtest.h.

void testing::AssertionResult::swap ( AssertionResult other)
private

Definition at line 958 of file gtest.cc.

Member Data Documentation

internal::scoped_ptr< ::std::string> testing::AssertionResult::message_
private

Definition at line 335 of file gtest.h.

bool testing::AssertionResult::success_
private

Definition at line 330 of file gtest.h.


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


rc_tagdetect_client
Author(s): Monika Florek-Jasinska , Raphael Schaller
autogenerated on Sat Feb 13 2021 03:42:18