MADNESS  version 0.9
Public Types | Public Member Functions | List of all members
testing::TestPartResult Class Reference

#include <gtest-test-part.h>

Public Types

enum  Type { kSuccess, kNonFatalFailure, kFatalFailure }
 

Public Member Functions

 TestPartResult (Type a_type, const char *a_file_name, int a_line_number, const char *a_message)
 
Type type () const
 
const char * file_name () const
 
int line_number () const
 
const char * summary () const
 
const char * message () const
 
bool passed () const
 
bool failed () const
 
bool nonfatally_failed () const
 
bool fatally_failed () const
 

Member Enumeration Documentation

Enumerator
kSuccess 
kNonFatalFailure 
kFatalFailure 

Constructor & Destructor Documentation

testing::TestPartResult::TestPartResult ( Type  a_type,
const char *  a_file_name,
int  a_line_number,
const char *  a_message 
)
inline

Member Function Documentation

bool testing::TestPartResult::failed ( ) const
inline
bool testing::TestPartResult::fatally_failed ( ) const
inline
const char* testing::TestPartResult::file_name ( ) const
inline

Referenced by testing::operator<<().

int testing::TestPartResult::line_number ( ) const
inline

Referenced by testing::operator<<().

const char* testing::TestPartResult::message ( ) const
inline
bool testing::TestPartResult::nonfatally_failed ( ) const
inline
bool testing::TestPartResult::passed ( ) const
inline
const char* testing::TestPartResult::summary ( ) const
inline
Type testing::TestPartResult::type ( ) const
inline

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