MADNESS  version 0.9
Public Member Functions | Static Public Member Functions | Friends | List of all members
testing::UnitTest Class Reference

#include <gtest.h>

Public Member Functions

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

Static Public Member Functions

static UnitTestGetInstance ()
 

Friends

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

Member Function Documentation

const TestResult & testing::UnitTest::ad_hoc_test_result ( ) const
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
const TestCase * testing::UnitTest::GetTestCase ( int  i) const
TestEventListeners & testing::UnitTest::listeners ( )
const char * testing::UnitTest::original_working_dir ( ) const
bool testing::UnitTest::Passed ( ) const
int testing::UnitTest::random_seed ( ) const
int testing::UnitTest::reportable_disabled_test_count ( ) const
int testing::UnitTest::reportable_test_count ( ) const
int testing::UnitTest::Run ( )
internal::TimeInMillis testing::UnitTest::start_timestamp ( ) const
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
void internal::ReportFailureInUnknownLocation ( TestPartResult::Type  result_type,
const std::string &  message 
)
friend
friend class internal::ScopedTrace
friend
friend class internal::StreamingListenerTest
friend
friend class internal::UnitTestRecordPropertyTestHelper
friend
friend class Test
friend

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