Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
testing::AssertionResult Class Reference

#include <JETSCAPE/blob/main/external_packages/googletest/googletest/include/gtest/gtest.h>

+ Collaboration diagram for testing::AssertionResult:

Public Member Functions

 AssertionResult (const AssertionResult &other)
 
template<typename T >
 AssertionResult (const T &success, typename internal::EnableIf< !internal::ImplicitlyConvertible< T, AssertionResult >::value >::type *=NULL)
 
AssertionResultoperator= (AssertionResult other)
 
 operator bool () const
 
AssertionResult operator! () const
 
const char * message () const
 
const char * failure_message () 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)
 
void swap (AssertionResult &other)
 

Private Attributes

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

Detailed Description

Definition at line 256 of file gtest.h.

View newest version in sPHENIX GitHub at line 256 of file gtest.h

Constructor & Destructor Documentation

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

Definition at line 987 of file gtest.cc.

View newest version in sPHENIX GitHub at line 987 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.

View newest version in sPHENIX GitHub 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.

View newest version in sPHENIX GitHub at line 320 of file gtest.h

References testing::Message::GetString().

+ Here is the call graph for this function:

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

Definition at line 302 of file gtest.h.

View newest version in sPHENIX GitHub at line 302 of file gtest.h

References gtest_output_test::message.

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

Definition at line 297 of file gtest.h.

View newest version in sPHENIX GitHub at line 297 of file gtest.h

Referenced by testing::internal::GetBoolAssertionFailureMessage(), and TEST().

+ Here is the caller graph for this function:

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

Definition at line 288 of file gtest.h.

View newest version in sPHENIX GitHub at line 288 of file gtest.h

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

Definition at line 1002 of file gtest.cc.

View newest version in sPHENIX GitHub at line 1002 of file gtest.cc

References testing::internal::scoped_ptr< T >::get(), message_, and success_.

+ Here is the call graph for this function:

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

Definition at line 305 of file gtest.h.

View newest version in sPHENIX GitHub 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.

View newest version in sPHENIX GitHub at line 312 of file gtest.h

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

Definition at line 282 of file gtest.h.

View newest version in sPHENIX GitHub at line 282 of file gtest.h

References swap().

+ Here is the call graph for this function:

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

Definition at line 995 of file gtest.cc.

View newest version in sPHENIX GitHub at line 995 of file gtest.cc

References message_, success_, and swap().

+ Here is the call graph for this function:

Member Data Documentation

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

Definition at line 335 of file gtest.h.

View newest version in sPHENIX GitHub at line 335 of file gtest.h

Referenced by operator!(), and swap().

bool testing::AssertionResult::success_
private

Definition at line 330 of file gtest.h.

View newest version in sPHENIX GitHub at line 330 of file gtest.h

Referenced by operator!(), and swap().


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