#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) | |
const char * | failure_message () const |
const char * | message () const |
operator bool () const | |
AssertionResult | operator! () const |
template<typename T > | |
AssertionResult & | operator<< (const T &value) |
AssertionResult & | operator<< (::std::ostream &(*basic_manipulator)(::std::ostream &stream)) |
AssertionResult & | operator= (AssertionResult other) |
Private Member Functions | |
void | AppendMessage (const Message &a_message) |
void | swap (AssertionResult &other) |
Private Attributes | |
internal::scoped_ptr < ::std::string > | message_ |
bool | success_ |
testing::AssertionResult::AssertionResult | ( | const AssertionResult & | other | ) |
testing::AssertionResult::AssertionResult | ( | const T & | success, |
typename internal::EnableIf< !internal::ImplicitlyConvertible< T, AssertionResult >::value >::type * | = NULL |
||
) | [inline, explicit] |
void testing::AssertionResult::AppendMessage | ( | const Message & | a_message | ) | [inline, private] |
const char* testing::AssertionResult::failure_message | ( | ) | const [inline] |
const char* testing::AssertionResult::message | ( | ) | const [inline] |
AssertionResult& testing::AssertionResult::operator<< | ( | const T & | value | ) | [inline] |
AssertionResult& testing::AssertionResult::operator<< | ( | ::std::ostream &(*)(::std::ostream &stream) | basic_manipulator | ) | [inline] |
AssertionResult& testing::AssertionResult::operator= | ( | AssertionResult | other | ) | [inline] |
void testing::AssertionResult::swap | ( | AssertionResult & | other | ) | [private] |
internal::scoped_ptr< ::std::string> testing::AssertionResult::message_ [private] |
bool testing::AssertionResult::success_ [private] |