Electroneum
Loading...
Searching...
No Matches
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)
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))
 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))

Detailed Description

Definition at line 256 of file gtest.h.

Constructor & Destructor Documentation

◆ AssertionResult() [1/4]

testing::AssertionResult::AssertionResult ( const AssertionResult & other)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ AssertionResult() [2/4]

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.

277 : success_(success) {}
Here is the call graph for this function:

◆ AssertionResult() [3/4]

testing::AssertionResult::AssertionResult ( const AssertionResult & other)
Here is the call graph for this function:

◆ AssertionResult() [4/4]

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.

277 : success_(success) {}
Here is the call graph for this function:

Member Function Documentation

◆ failure_message() [1/2]

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

Definition at line 302 of file gtest.h.

302{ return message(); }
const char * message() const
Definition gtest.h:297
Here is the call graph for this function:

◆ failure_message() [2/2]

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

Definition at line 302 of file gtest.h.

302{ return message(); }
Here is the call graph for this function:

◆ message() [1/2]

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

Definition at line 297 of file gtest.h.

297 {
298 return message_.get() != NULL ? message_->c_str() : "";
299 }

◆ message() [2/2]

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

Definition at line 297 of file gtest.h.

297 {
298 return message_.get() != NULL ? message_->c_str() : "";
299 }

◆ operator bool() [1/2]

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

Definition at line 288 of file gtest.h.

288{ return success_; } // NOLINT

◆ operator bool() [2/2]

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

Definition at line 288 of file gtest.h.

288{ return success_; } // NOLINT

◆ operator!() [1/2]

AssertionResult testing::AssertionResult::operator! ( ) const
Here is the call graph for this function:

◆ operator!() [2/2]

AssertionResult testing::AssertionResult::operator! ( ) const
Here is the call graph for this function:

◆ operator<<() [1/4]

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

Definition at line 312 of file gtest.h.

313 {
314 AppendMessage(Message() << basic_manipulator);
315 return *this;
316 }
Here is the call graph for this function:

◆ operator<<() [2/4]

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

Definition at line 312 of file gtest.h.

313 {
314 AppendMessage(Message() << basic_manipulator);
315 return *this;
316 }
Here is the call graph for this function:

◆ operator<<() [3/4]

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

Definition at line 305 of file gtest.h.

305 {
306 AppendMessage(Message() << value);
307 return *this;
308 }
const GenericPointer< typename T::ValueType > T2 value
Definition pointer.h:1225
Here is the call graph for this function:

◆ operator<<() [4/4]

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

Definition at line 305 of file gtest.h.

305 {
306 AppendMessage(Message() << value);
307 return *this;
308 }
Here is the call graph for this function:

◆ operator=() [1/2]

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

Definition at line 282 of file gtest.h.

282 {
283 swap(other);
284 return *this;
285 }
Here is the call graph for this function:

◆ operator=() [2/2]

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

Definition at line 282 of file gtest.h.

282 {
283 swap(other);
284 return *this;
285 }
Here is the call graph for this function:

The documentation for this class was generated from the following files:
  • /home/abuild/rpmbuild/BUILD/electroneum-5.1.3.1-build/electroneum-5.1.3.1/external/rapidjson/thirdparty/gtest/googletest/include/gtest/gtest.h
  • /home/abuild/rpmbuild/BUILD/electroneum-5.1.3.1-build/electroneum-5.1.3.1/tests/gtest/include/gtest/gtest.h