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

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

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

 UnitTest ()
 
virtual ~UnitTest ()
 
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)
 

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
 

Constructor & Destructor Documentation

testing::UnitTest::UnitTest ( )
private
testing::UnitTest::~UnitTest ( )
privatevirtual

Member Function Documentation

Environment * testing::UnitTest::AddEnvironment ( Environment env)
private
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
const TestCase * testing::UnitTest::current_test_case ( ) const
const TestInfo * testing::UnitTest::current_test_info ( ) const
int testing::UnitTest::disabled_test_count ( ) const
internal::TimeInMillis testing::UnitTest::elapsed_time ( ) const
bool testing::UnitTest::Failed ( ) const
int testing::UnitTest::failed_test_case_count ( ) const
int testing::UnitTest::failed_test_count ( ) const
UnitTest * testing::UnitTest::GetInstance ( )
static
TestCase * testing::UnitTest::GetMutableTestCase ( int  i)
private
const TestCase * testing::UnitTest::GetTestCase ( int  i) const
testing::UnitTest::GTEST_DISALLOW_COPY_AND_ASSIGN_ ( UnitTest  )
private
internal::UnitTestImpl* testing::UnitTest::impl ( )
inlineprivate
const internal::UnitTestImpl* testing::UnitTest::impl ( ) const
inlineprivate
TestEventListeners & testing::UnitTest::listeners ( )
const char * testing::UnitTest::original_working_dir ( ) const
bool testing::UnitTest::Passed ( ) const
void testing::UnitTest::PopGTestTrace ( )
private
void testing::UnitTest::PushGTestTrace ( const internal::TraceInfo trace)
private
int testing::UnitTest::random_seed ( ) const
void testing::UnitTest::RecordPropertyForCurrentTest ( const char *  key,
const char *  value 
)
private
int testing::UnitTest::Run ( )
int testing::UnitTest::successful_test_case_count ( ) const
int testing::UnitTest::successful_test_count ( ) const
int testing::UnitTest::test_case_to_run_count ( ) const
int testing::UnitTest::test_to_run_count ( ) const
int testing::UnitTest::total_test_case_count ( ) const
int testing::UnitTest::total_test_count ( ) const

Friends And Related Function Documentation

Environment* AddGlobalTestEnvironment ( Environment env)
friend
friend class internal::AssertHelper
friend
friend class internal::ScopedTrace
friend
friend class Test
friend

Member Data Documentation

internal::UnitTestImpl* testing::UnitTest::impl_
private
internal::Mutex testing::UnitTest::mutex_
mutableprivate

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