Orxonox  0.0.5 Codename: Arcturus
Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | Friends | List of all members
testing::TestResult Class Reference

#include </home/jenkins/workspace/orxonox_doxygen_trunk/src/external/gtest/include/gtest/gtest.h>

Public Member Functions

 TestResult ()
 
 ~TestResult ()
 
TimeInMillis elapsed_time () const
 
bool Failed () const
 
const TestPartResultGetTestPartResult (int i) const
 
const TestPropertyGetTestProperty (int i) const
 
bool HasFatalFailure () const
 
bool HasNonfatalFailure () const
 
bool Passed () const
 
int test_property_count () const
 
int total_part_count () const
 

Private Member Functions

void AddTestPartResult (const TestPartResult &test_part_result)
 
void Clear ()
 
void ClearTestPartResults ()
 
int death_test_count () const
 
 GTEST_DISALLOW_COPY_AND_ASSIGN_ (TestResult)
 
int increment_death_test_count ()
 
void RecordProperty (const TestProperty &test_property)
 
void set_elapsed_time (TimeInMillis elapsed)
 
const std::vector< TestPartResult > & test_part_results () const
 
const std::vector< TestProperty > & test_properties () const
 

Static Private Member Functions

static bool ValidateTestProperty (const TestProperty &test_property)
 

Private Attributes

int death_test_count_
 
TimeInMillis elapsed_time_
 
std::vector< TestPartResulttest_part_results_
 
internal::Mutex test_properites_mutex_
 
std::vector< TestPropertytest_properties_
 

Friends

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

Constructor & Destructor Documentation

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

Member Function Documentation

void testing::TestResult::AddTestPartResult ( const TestPartResult test_part_result)
private
void testing::TestResult::Clear ( )
private
void testing::TestResult::ClearTestPartResults ( )
private
int testing::TestResult::death_test_count ( ) const
inlineprivate
TimeInMillis testing::TestResult::elapsed_time ( ) const
inline
bool testing::TestResult::Failed ( ) const
const TestPartResult & testing::TestResult::GetTestPartResult ( int  i) const
const TestProperty & testing::TestResult::GetTestProperty ( int  i) const
testing::TestResult::GTEST_DISALLOW_COPY_AND_ASSIGN_ ( TestResult  )
private
bool testing::TestResult::HasFatalFailure ( ) const
bool testing::TestResult::HasNonfatalFailure ( ) const
int testing::TestResult::increment_death_test_count ( )
inlineprivate
bool testing::TestResult::Passed ( ) const
inline
void testing::TestResult::RecordProperty ( const TestProperty test_property)
private
void testing::TestResult::set_elapsed_time ( TimeInMillis  elapsed)
inlineprivate
const std::vector<TestPartResult>& testing::TestResult::test_part_results ( ) const
inlineprivate
const std::vector<TestProperty>& testing::TestResult::test_properties ( ) const
inlineprivate
int testing::TestResult::test_property_count ( ) const
int testing::TestResult::total_part_count ( ) const
bool testing::TestResult::ValidateTestProperty ( const TestProperty test_property)
staticprivate

Friends And Related Function Documentation

friend class internal::ExecDeathTest
friend
friend class internal::TestResultAccessor
friend
friend class internal::UnitTestImpl
friend
friend class internal::WindowsDeathTest
friend
friend class TestInfo
friend
friend class UnitTest
friend

Member Data Documentation

int testing::TestResult::death_test_count_
private
TimeInMillis testing::TestResult::elapsed_time_
private
std::vector<TestPartResult> testing::TestResult::test_part_results_
private
internal::Mutex testing::TestResult::test_properites_mutex_
private
std::vector<TestProperty> testing::TestResult::test_properties_
private

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