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)
 
 AssertionResult (bool success)
 
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))
 

Private Member Functions

void AppendMessage (const Message &a_message)
 
 GTEST_DISALLOW_ASSIGN_ (AssertionResult)
 

Private Attributes

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

Detailed Description

Definition at line 17669 of file gtest.h.

Constructor & Destructor Documentation

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

Definition at line 2436 of file gtest-all.cc.

testing::AssertionResult::AssertionResult ( bool  success)
inlineexplicit

Definition at line 17675 of file gtest.h.

Member Function Documentation

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

Definition at line 17710 of file gtest.h.

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

Definition at line 17692 of file gtest.h.

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

Definition at line 17687 of file gtest.h.

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

Definition at line 17678 of file gtest.h.

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

Definition at line 2444 of file gtest-all.cc.

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

Definition at line 17695 of file gtest.h.

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

Definition at line 17702 of file gtest.h.

Member Data Documentation

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

Definition at line 17722 of file gtest.h.

bool testing::AssertionResult::success_
private

Definition at line 17717 of file gtest.h.


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


diagnostic_aggregator
Author(s): Kevin Watts, Brice Rebsamen
autogenerated on Thu Oct 8 2020 03:19:28