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

#include <gtest.h>

List of all members.

Public Member Functions

const TestCasecurrent_test_case () const
const TestInfocurrent_test_info () const
int disabled_test_count () const
TimeInMillis elapsed_time () const
bool Failed () const
int failed_test_case_count () const
int failed_test_count () const
const TestCaseGetTestCase (int i) const
TestEventListenerslisteners ()
const char * original_working_dir () const
bool Passed () const
int random_seed () const
int Run () GTEST_MUST_USE_RESULT_
int successful_test_case_count () const
int successful_test_count () const
int test_case_to_run_count () const
int test_to_run_count () const
int total_test_case_count () const
int total_test_count () const

Static Public Member Functions

static UnitTestGetInstance ()

Private Member Functions

EnvironmentAddEnvironment (Environment *env)
void AddTestPartResult (TestPartResult::Type result_type, const char *file_name, int line_number, const internal::String &message, const internal::String &os_stack_trace)
TestCaseGetMutableTestCase (int i)
 GTEST_DISALLOW_COPY_AND_ASSIGN_ (UnitTest)
internal::UnitTestImplimpl ()
const internal::UnitTestImplimpl () const
void PopGTestTrace ()
void PushGTestTrace (const internal::TraceInfo &trace)
void RecordPropertyForCurrentTest (const char *key, const char *value)
 UnitTest ()
virtual ~UnitTest ()

Private Attributes

internal::UnitTestImplimpl_
internal::Mutex mutex_

Friends

EnvironmentAddGlobalTestEnvironment (Environment *env)
class internal::AssertHelper
internal::UnitTestImplinternal::GetUnitTestImpl ()
void internal::ReportFailureInUnknownLocation (TestPartResult::Type result_type, const internal::String &message)
class internal::ScopedTrace
class Test

Detailed Description

Definition at line 1093 of file gtest.h.


Constructor & Destructor Documentation

Definition at line 3913 of file gtest.cc.

testing::UnitTest::~UnitTest ( ) [private, virtual]

Definition at line 3918 of file gtest.cc.


Member Function Documentation

Definition at line 3734 of file gtest.cc.

void testing::UnitTest::AddTestPartResult ( TestPartResult::Type  result_type,
const char *  file_name,
int  line_number,
const internal::String message,
const internal::String os_stack_trace 
) [private]

Definition at line 3748 of file gtest.cc.

Definition at line 3886 of file gtest.cc.

Definition at line 3894 of file gtest.cc.

Definition at line 3684 of file gtest.cc.

Definition at line 3695 of file gtest.cc.

bool testing::UnitTest::Failed ( ) const

Definition at line 3704 of file gtest.cc.

Definition at line 3660 of file gtest.cc.

Definition at line 3681 of file gtest.cc.

Definition at line 3633 of file gtest.cc.

Definition at line 3714 of file gtest.cc.

const TestCase * testing::UnitTest::GetTestCase ( int  i) const

Definition at line 3708 of file gtest.cc.

Definition at line 1208 of file gtest.h.

const internal::UnitTestImpl* testing::UnitTest::impl ( ) const [inline, private]

Definition at line 1209 of file gtest.h.

Definition at line 3720 of file gtest.cc.

Definition at line 3879 of file gtest.cc.

bool testing::UnitTest::Passed ( ) const

Definition at line 3700 of file gtest.cc.

Definition at line 3932 of file gtest.cc.

void testing::UnitTest::PushGTestTrace ( const internal::TraceInfo trace) [private]

Definition at line 3925 of file gtest.cc.

Definition at line 3900 of file gtest.cc.

void testing::UnitTest::RecordPropertyForCurrentTest ( const char *  key,
const char *  value 
) [private]

Definition at line 3811 of file gtest.cc.

Definition at line 3822 of file gtest.cc.

Definition at line 3655 of file gtest.cc.

Definition at line 3676 of file gtest.cc.

Definition at line 3671 of file gtest.cc.

Definition at line 3692 of file gtest.cc.

Definition at line 3665 of file gtest.cc.

Definition at line 3689 of file gtest.cc.


Friends And Related Function Documentation

Definition at line 1267 of file gtest.h.

friend class internal::AssertHelper [friend]

Definition at line 1214 of file gtest.h.

void internal::ReportFailureInUnknownLocation ( TestPartResult::Type  result_type,
const internal::String message 
) [friend]
friend class internal::ScopedTrace [friend]

Definition at line 1215 of file gtest.h.

friend class Test [friend]

Definition at line 1213 of file gtest.h.


Member Data Documentation

Definition at line 1243 of file gtest.h.

Definition at line 1237 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