Public Types | Public Member Functions | Private Member Functions | Private Attributes | Friends
testing::internal::UnitTestImpl Class Reference

#include <gtest-internal-inl.h>

List of all members.

Public Types

enum  ReactionToSharding { HONOR_SHARDING_PROTOCOL, IGNORE_SHARDING_PROTOCOL }

Public Member Functions

const TestResultad_hoc_test_result () const
void AddTestInfo (Test::SetUpTestCaseFunc set_up_tc, Test::TearDownTestCaseFunc tear_down_tc, TestInfo *test_info)
bool catch_exceptions () const
void ClearAdHocTestResult ()
void ClearNonAdHocTestResult ()
void ConfigureXmlOutput ()
const TestCasecurrent_test_case () const
TestInfocurrent_test_info ()
const TestInfocurrent_test_info () const
TestResultcurrent_test_result ()
String CurrentOsStackTraceExceptTop (int skip_count)
int disabled_test_count () const
TimeInMillis elapsed_time () const
std::vector< Environment * > & environments ()
bool Failed () const
int failed_test_case_count () const
int failed_test_count () const
int FilterTests (ReactionToSharding shard_tests)
TestPartResultReporterInterfaceGetGlobalTestPartResultReporter ()
TestCaseGetMutableTestCase (int i)
const TestCaseGetTestCase (int i) const
TestCaseGetTestCase (const char *test_case_name, const char *type_param, Test::SetUpTestCaseFunc set_up_tc, Test::TearDownTestCaseFunc tear_down_tc)
TestPartResultReporterInterfaceGetTestPartResultReporterForCurrentThread ()
std::vector< TraceInfo > & gtest_trace_stack ()
const std::vector< TraceInfo > & gtest_trace_stack () const
TestEventListenerslisteners ()
void ListTestsMatchingFilter ()
OsStackTraceGetterInterfaceos_stack_trace_getter ()
bool Passed () const
void PostFlagParsingInit ()
internal::Randomrandom ()
int random_seed () const
void RegisterParameterizedTests ()
bool RunAllTests ()
void set_current_test_case (TestCase *a_current_test_case)
void set_current_test_info (TestInfo *a_current_test_info)
void set_os_stack_trace_getter (OsStackTraceGetterInterface *getter)
void SetGlobalTestPartResultReporter (TestPartResultReporterInterface *reporter)
void SetTestPartResultReporterForCurrentThread (TestPartResultReporterInterface *reporter)
void ShuffleTests ()
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
 UnitTestImpl (UnitTest *parent)
void UnshuffleTests ()
virtual ~UnitTestImpl ()

Private Member Functions

 GTEST_DISALLOW_COPY_AND_ASSIGN_ (UnitTestImpl)
void set_catch_exceptions (bool value)

Private Attributes

TestResult ad_hoc_test_result_
bool catch_exceptions_
TestCasecurrent_test_case_
TestInfocurrent_test_info_
DefaultGlobalTestPartResultReporter default_global_test_part_result_reporter_
DefaultPerThreadTestPartResultReporter default_per_thread_test_part_result_reporter_
TimeInMillis elapsed_time_
std::vector< Environment * > environments_
internal::Mutex global_test_part_result_reporter_mutex_
TestPartResultReporterInterfaceglobal_test_part_result_repoter_
internal::ThreadLocal
< std::vector< TraceInfo > > 
gtest_trace_stack_
int last_death_test_case_
TestEventListeners listeners_
internal::FilePath original_working_dir_
OsStackTraceGetterInterfaceos_stack_trace_getter_
UnitTest *const parent_
internal::ThreadLocal
< TestPartResultReporterInterface * > 
per_thread_test_part_result_reporter_
bool post_flag_parse_init_performed_
internal::Random random_
int random_seed_
std::vector< int > test_case_indices_
std::vector< TestCase * > test_cases_

Friends

class ::testing::UnitTest

Detailed Description

Definition at line 497 of file gtest-internal-inl.h.


Member Enumeration Documentation

Enumerator:
HONOR_SHARDING_PROTOCOL 
IGNORE_SHARDING_PROTOCOL 

Definition at line 699 of file gtest-internal-inl.h.


Constructor & Destructor Documentation

Definition at line 3939 of file gtest.cc.

Definition at line 3978 of file gtest.cc.


Member Function Documentation

Definition at line 585 of file gtest-internal-inl.h.

void testing::internal::UnitTestImpl::AddTestInfo ( Test::SetUpTestCaseFunc  set_up_tc,
Test::TearDownTestCaseFunc  tear_down_tc,
TestInfo test_info 
) [inline]

Definition at line 633 of file gtest-internal-inl.h.

Definition at line 785 of file gtest-internal-inl.h.

Definition at line 695 of file gtest-internal-inl.h.

Definition at line 690 of file gtest-internal-inl.h.

Definition at line 3999 of file gtest.cc.

Definition at line 715 of file gtest-internal-inl.h.

Definition at line 716 of file gtest-internal-inl.h.

Definition at line 717 of file gtest-internal-inl.h.

Definition at line 4477 of file gtest.cc.

Definition at line 759 of file gtest.cc.

Definition at line 735 of file gtest.cc.

Definition at line 552 of file gtest-internal-inl.h.

Definition at line 721 of file gtest-internal-inl.h.

bool testing::internal::UnitTestImpl::Failed ( ) const [inline]

Definition at line 559 of file gtest-internal-inl.h.

Definition at line 709 of file gtest.cc.

Definition at line 730 of file gtest.cc.

Definition at line 4377 of file gtest.cc.

Definition at line 679 of file gtest.cc.

Definition at line 572 of file gtest-internal-inl.h.

const TestCase* testing::internal::UnitTestImpl::GetTestCase ( int  i) const [inline]

Definition at line 565 of file gtest-internal-inl.h.

TestCase * testing::internal::UnitTestImpl::GetTestCase ( const char *  test_case_name,
const char *  type_param,
Test::SetUpTestCaseFunc  set_up_tc,
Test::TearDownTestCaseFunc  tear_down_tc 
)

Definition at line 4096 of file gtest.cc.

Definition at line 693 of file gtest.cc.

Definition at line 724 of file gtest-internal-inl.h.

const std::vector<TraceInfo>& testing::internal::UnitTestImpl::gtest_trace_stack ( ) const [inline]

Definition at line 727 of file gtest-internal-inl.h.

Definition at line 578 of file gtest-internal-inl.h.

Definition at line 4431 of file gtest.cc.

Definition at line 4467 of file gtest.cc.

bool testing::internal::UnitTestImpl::Passed ( ) const [inline]

Definition at line 555 of file gtest-internal-inl.h.

Definition at line 4035 of file gtest.cc.

Definition at line 774 of file gtest-internal-inl.h.

Definition at line 771 of file gtest-internal-inl.h.

Definition at line 2299 of file gtest.cc.

Definition at line 4145 of file gtest.cc.

void testing::internal::UnitTestImpl::set_catch_exceptions ( bool  value) [inline, private]

Definition at line 792 of file gtest-internal-inl.h.

void testing::internal::UnitTestImpl::set_current_test_case ( TestCase a_current_test_case) [inline]

Definition at line 664 of file gtest-internal-inl.h.

void testing::internal::UnitTestImpl::set_current_test_info ( TestInfo a_current_test_info) [inline]

Definition at line 671 of file gtest-internal-inl.h.

Definition at line 4456 of file gtest.cc.

Definition at line 685 of file gtest.cc.

Definition at line 698 of file gtest.cc.

Definition at line 4484 of file gtest.cc.

Definition at line 704 of file gtest.cc.

Definition at line 725 of file gtest.cc.

Definition at line 720 of file gtest.cc.

Definition at line 745 of file gtest.cc.

Definition at line 714 of file gtest.cc.

Definition at line 740 of file gtest.cc.

Definition at line 4499 of file gtest.cc.


Friends And Related Function Documentation

friend class ::testing::UnitTest [friend]

Definition at line 788 of file gtest-internal-inl.h.


Member Data Documentation

Definition at line 862 of file gtest-internal-inl.h.

Definition at line 898 of file gtest-internal-inl.h.

Definition at line 846 of file gtest-internal-inl.h.

Definition at line 852 of file gtest-internal-inl.h.

Definition at line 802 of file gtest-internal-inl.h.

Definition at line 804 of file gtest-internal-inl.h.

Definition at line 884 of file gtest-internal-inl.h.

Definition at line 818 of file gtest-internal-inl.h.

Definition at line 810 of file gtest-internal-inl.h.

Definition at line 807 of file gtest-internal-inl.h.

Definition at line 894 of file gtest-internal-inl.h.

Definition at line 840 of file gtest-internal-inl.h.

Definition at line 866 of file gtest-internal-inl.h.

Definition at line 799 of file gtest-internal-inl.h.

Definition at line 872 of file gtest-internal-inl.h.

Definition at line 795 of file gtest-internal-inl.h.

Definition at line 814 of file gtest-internal-inl.h.

Definition at line 875 of file gtest-internal-inl.h.

Definition at line 881 of file gtest-internal-inl.h.

Definition at line 878 of file gtest-internal-inl.h.

Definition at line 828 of file gtest-internal-inl.h.

Definition at line 822 of file gtest-internal-inl.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