Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | Friends
testing::TestResult Class Reference

#include <gtest.h>

List of all members.

Public Member Functions

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
 TestResult ()
int total_part_count () const
 ~TestResult ()

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

Detailed Description

Definition at line 512 of file gtest.h.


Constructor & Destructor Documentation

Definition at line 1774 of file gtest.cc.

Definition at line 1780 of file gtest.cc.


Member Function Documentation

void testing::TestResult::AddTestPartResult ( const TestPartResult test_part_result) [private]

Definition at line 1807 of file gtest.cc.

void testing::TestResult::Clear ( ) [private]

Definition at line 1845 of file gtest.cc.

Definition at line 1802 of file gtest.cc.

int testing::TestResult::death_test_count ( ) const [inline, private]

Definition at line 590 of file gtest.h.

Definition at line 540 of file gtest.h.

Definition at line 1853 of file gtest.cc.

Definition at line 1786 of file gtest.cc.

Definition at line 1795 of file gtest.cc.

Definition at line 1867 of file gtest.cc.

Definition at line 1877 of file gtest.cc.

Definition at line 593 of file gtest.h.

bool testing::TestResult::Passed ( ) const [inline]

Definition at line 528 of file gtest.h.

void testing::TestResult::RecordProperty ( const TestProperty test_property) [private]

Definition at line 1814 of file gtest.cc.

void testing::TestResult::set_elapsed_time ( TimeInMillis  elapsed) [inline, private]

Definition at line 572 of file gtest.h.

const std::vector<TestPartResult>& testing::TestResult::test_part_results ( ) const [inline, private]

Definition at line 562 of file gtest.h.

const std::vector<TestProperty>& testing::TestResult::test_properties ( ) const [inline, private]

Definition at line 567 of file gtest.h.

Definition at line 1888 of file gtest.cc.

Definition at line 1883 of file gtest.cc.

bool testing::TestResult::ValidateTestProperty ( const TestProperty test_property) [static, private]

Definition at line 1831 of file gtest.cc.


Friends And Related Function Documentation

Definition at line 555 of file gtest.h.

friend class internal::ExecDeathTest [friend]

Definition at line 556 of file gtest.h.

friend class internal::TestResultAccessor [friend]

Definition at line 557 of file gtest.h.

friend class internal::UnitTestImpl [friend]

Definition at line 558 of file gtest.h.

friend class internal::WindowsDeathTest [friend]

Definition at line 559 of file gtest.h.

friend class TestInfo [friend]

Definition at line 553 of file gtest.h.

friend class UnitTest [friend]

Definition at line 554 of file gtest.h.


Member Data Documentation

Definition at line 610 of file gtest.h.

Definition at line 612 of file gtest.h.

Definition at line 606 of file gtest.h.

Definition at line 603 of file gtest.h.

Definition at line 608 of file gtest.h.


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


pcl
Author(s): Open Perception
autogenerated on Wed Aug 26 2015 15:47:37