- 3.0.1 core module.
testing::TestResult Class Reference

#include <gtest.h>

Public Member Functions

 TestResult ()
 
 ~TestResult ()
 
int total_part_count () const
 
int test_property_count () const
 
bool Passed () const
 
bool Skipped () const
 
bool Failed () const
 
bool HasFatalFailure () const
 
bool HasNonfatalFailure () const
 
TimeInMillis elapsed_time () const
 
const TestPartResult & GetTestPartResult (int i) const
 
const TestPropertyGetTestProperty (int i) const
 

Friends

class TestInfo
 
class TestSuite
 
class UnitTest
 
class internal::DefaultGlobalTestPartResultReporter
 
class internal::ExecDeathTest
 
class internal::TestResultAccessor
 
class internal::UnitTestImpl
 
class internal::WindowsDeathTest
 
class internal::FuchsiaDeathTest
 

Constructor & Destructor Documentation

testing::TestResult::TestResult ( )
testing::TestResult::~TestResult ( )

Member Function Documentation

bool testing::TestResult::Passed ( ) const
inline
bool testing::TestResult::HasFatalFailure ( ) const
bool testing::TestResult::HasNonfatalFailure ( ) const

Friends And Related Function Documentation

friend class TestInfo
friend
friend class TestSuite
friend
friend class UnitTest
friend
friend class internal::DefaultGlobalTestPartResultReporter
friend
friend class internal::ExecDeathTest
friend
friend class internal::TestResultAccessor
friend
friend class internal::UnitTestImpl
friend
friend class internal::WindowsDeathTest
friend
friend class internal::FuchsiaDeathTest
friend

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