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

#include <gtest.h>

Public Member Functions

 AssertionResult (bool success)
 
 AssertionResult (const AssertionResult &other)
 
const char * failure_message () const
 
const char * message () const
 
 operator bool () const
 
AssertionResult operator! () const
 
AssertionResultoperator<< (::std::ostream &(*basic_manipulator)(::std::ostream &stream))
 
template<typename T >
AssertionResultoperator<< (const T &value)
 

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 256 of file gtest.h.

Constructor & Destructor Documentation

◆ AssertionResult() [1/2]

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

Definition at line 955 of file gtest.cc.

◆ AssertionResult() [2/2]

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

Definition at line 262 of file gtest.h.

Member Function Documentation

◆ AppendMessage()

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

Definition at line 297 of file gtest.h.

◆ failure_message()

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

Definition at line 279 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 274 of file gtest.h.

◆ operator bool()

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

Definition at line 265 of file gtest.h.

◆ operator!()

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

Definition at line 963 of file gtest.cc.

◆ operator<<() [1/2]

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

Definition at line 289 of file gtest.h.

◆ operator<<() [2/2]

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

Definition at line 282 of file gtest.h.

Member Data Documentation

◆ message_

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

Definition at line 309 of file gtest.h.

◆ success_

bool testing::AssertionResult::success_
private

Definition at line 304 of file gtest.h.


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


fcl
Author(s):
autogenerated on Fri Jun 11 2021 02:38:06