Qucs-core  0.0.19
Public Types | Public Member Functions | Private Member Functions | Private Attributes | Friends
testing::internal::UnitTestImpl Class Reference

#include <gtest-internal-inl.h>

Collaboration diagram for testing::internal::UnitTestImpl:
Collaboration graph
[legend]

Public Types

enum  ReactionToSharding { HONOR_SHARDING_PROTOCOL, IGNORE_SHARDING_PROTOCOL }

Public Member Functions

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

Private Member Functions

void set_catch_exceptions (bool value)
 GTEST_DISALLOW_COPY_AND_ASSIGN_ (UnitTestImpl)

Private Attributes

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

Friends

class ::testing::UnitTest

Detailed Description

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


Member Enumeration Documentation

Enumerator:
HONOR_SHARDING_PROTOCOL 
IGNORE_SHARDING_PROTOCOL 

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


Constructor & Destructor Documentation


Member Function Documentation

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


Friends And Related Function Documentation

friend class ::testing::UnitTest [friend]

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


Field Documentation

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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