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

◆ AssertionResult() [1/2]

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

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

◆ AssertionResult() [2/2]

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

Definition at line 17675 of file gtest.h.

Member Function Documentation

◆ AppendMessage()

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

Definition at line 17710 of file gtest.h.

◆ failure_message()

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

Definition at line 17692 of file gtest.h.

◆ GTEST_DISALLOW_ASSIGN_()

testing::AssertionResult::GTEST_DISALLOW_ASSIGN_ ( AssertionResult  )
private

◆ message()

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

Definition at line 17687 of file gtest.h.

◆ operator bool()

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

Definition at line 17678 of file gtest.h.

◆ operator!()

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

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

◆ operator<<() [1/2]

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

Definition at line 17695 of file gtest.h.

◆ operator<<() [2/2]

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

Definition at line 17702 of file gtest.h.

Member Data Documentation

◆ message_

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

Definition at line 17722 of file gtest.h.

◆ success_

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 Mon Feb 28 2022 22:18:07