Public Types | Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
testing::internal::UnitTestImpl Class Reference

#include <gtest-internal-inl.h>

Public Types

enum  ReactionToSharding { HONOR_SHARDING_PROTOCOL, IGNORE_SHARDING_PROTOCOL, HONOR_SHARDING_PROTOCOL, IGNORE_SHARDING_PROTOCOL }
 
enum  ReactionToSharding { HONOR_SHARDING_PROTOCOL, IGNORE_SHARDING_PROTOCOL, HONOR_SHARDING_PROTOCOL, IGNORE_SHARDING_PROTOCOL }
 

Public Member Functions

const TestResultad_hoc_test_result () const
 
const TestResultad_hoc_test_result () const
 
void AddTestInfo (internal::SetUpTestSuiteFunc set_up_tc, internal::TearDownTestSuiteFunc tear_down_tc, TestInfo *test_info)
 
void AddTestInfo (Test::SetUpTestCaseFunc set_up_tc, Test::TearDownTestCaseFunc tear_down_tc, TestInfo *test_info)
 
bool catch_exceptions () const
 
bool catch_exceptions () const
 
void ClearAdHocTestResult ()
 
void ClearAdHocTestResult ()
 
void ClearNonAdHocTestResult ()
 
void ClearNonAdHocTestResult ()
 
void ConfigureXmlOutput ()
 
void ConfigureXmlOutput ()
 
const TestCasecurrent_test_case () const
 
TestInfocurrent_test_info ()
 
TestInfocurrent_test_info ()
 
const TestInfocurrent_test_info () const
 
const TestInfocurrent_test_info () const
 
TestResultcurrent_test_result ()
 
TestResultcurrent_test_result ()
 
const TestSuitecurrent_test_suite () const
 
std::string CurrentOsStackTraceExceptTop (int skip_count) GTEST_NO_INLINE_
 
std::string CurrentOsStackTraceExceptTop (int skip_count) GTEST_NO_INLINE_ GTEST_NO_TAIL_CALL_
 
int disabled_test_count () const
 
int disabled_test_count () const
 
TimeInMillis elapsed_time () const
 
TimeInMillis elapsed_time () const
 
std::vector< Environment * > & environments ()
 
std::vector< Environment * > & environments ()
 
bool Failed () const
 
bool Failed () const
 
int failed_test_case_count () const
 
int failed_test_count () const
 
int failed_test_count () const
 
int failed_test_suite_count () const
 
int FilterTests (ReactionToSharding shard_tests)
 
int FilterTests (ReactionToSharding shard_tests)
 
TestPartResultReporterInterfaceGetGlobalTestPartResultReporter ()
 
TestPartResultReporterInterfaceGetGlobalTestPartResultReporter ()
 
TestSuiteGetMutableSuiteCase (int i)
 
TestCaseGetMutableTestCase (int i)
 
TestCaseGetTestCase (const char *test_case_name, const char *type_param, internal::SetUpTestSuiteFunc set_up_tc, internal::TearDownTestSuiteFunc tear_down_tc)
 
TestCaseGetTestCase (const char *test_case_name, const char *type_param, Test::SetUpTestCaseFunc set_up_tc, Test::TearDownTestCaseFunc tear_down_tc)
 
const TestCaseGetTestCase (int i) const
 
const TestCaseGetTestCase (int i) const
 
TestPartResultReporterInterfaceGetTestPartResultReporterForCurrentThread ()
 
TestPartResultReporterInterfaceGetTestPartResultReporterForCurrentThread ()
 
TestSuiteGetTestSuite (const char *test_suite_name, const char *type_param, internal::SetUpTestSuiteFunc set_up_tc, internal::TearDownTestSuiteFunc tear_down_tc)
 
const TestSuiteGetTestSuite (int i) const
 
std::vector< TraceInfo > & gtest_trace_stack ()
 
std::vector< TraceInfo > & gtest_trace_stack ()
 
const std::vector< TraceInfo > & gtest_trace_stack () const
 
const std::vector< TraceInfo > & gtest_trace_stack () const
 
std::set< std::string > * ignored_parameterized_test_suites ()
 
TestEventListenerslisteners ()
 
TestEventListenerslisteners ()
 
void ListTestsMatchingFilter ()
 
void ListTestsMatchingFilter ()
 
OsStackTraceGetterInterfaceos_stack_trace_getter ()
 
OsStackTraceGetterInterfaceos_stack_trace_getter ()
 
internal::ParameterizedTestSuiteRegistryparameterized_test_registry ()
 
internal::ParameterizedTestCaseRegistryparameterized_test_registry ()
 
bool Passed () const
 
bool Passed () const
 
void PostFlagParsingInit ()
 
void PostFlagParsingInit ()
 
internal::Randomrandom ()
 
internal::Randomrandom ()
 
int random_seed () const
 
int random_seed () const
 
void RecordProperty (const TestProperty &test_property)
 
void RecordProperty (const TestProperty &test_property)
 
void RegisterParameterizedTests ()
 
void RegisterParameterizedTests ()
 
int reportable_disabled_test_count () const
 
int reportable_disabled_test_count () const
 
int reportable_test_count () const
 
int reportable_test_count () const
 
bool RunAllTests ()
 
bool RunAllTests ()
 
void set_current_test_case (TestCase *a_current_test_case)
 
void set_current_test_info (TestInfo *a_current_test_info)
 
void set_current_test_info (TestInfo *a_current_test_info)
 
void set_current_test_suite (TestSuite *a_current_test_suite)
 
void set_os_stack_trace_getter (OsStackTraceGetterInterface *getter)
 
void set_os_stack_trace_getter (OsStackTraceGetterInterface *getter)
 
void SetGlobalTestPartResultReporter (TestPartResultReporterInterface *reporter)
 
void SetGlobalTestPartResultReporter (TestPartResultReporterInterface *reporter)
 
void SetTestPartResultReporterForCurrentThread (TestPartResultReporterInterface *reporter)
 
void SetTestPartResultReporterForCurrentThread (TestPartResultReporterInterface *reporter)
 
void ShuffleTests ()
 
void ShuffleTests ()
 
int skipped_test_count () const
 
TimeInMillis start_timestamp () const
 
TimeInMillis start_timestamp () const
 
int successful_test_case_count () const
 
int successful_test_count () const
 
int successful_test_count () const
 
int successful_test_suite_count () const
 
int test_case_to_run_count () const
 
int test_suite_to_run_count () const
 
int test_to_run_count () const
 
int test_to_run_count () const
 
int total_test_case_count () const
 
int total_test_count () const
 
int total_test_count () const
 
int total_test_suite_count () const
 
internal::TypeParameterizedTestSuiteRegistrytype_parameterized_test_registry ()
 
 UnitTestImpl (UnitTest *parent)
 
 UnitTestImpl (UnitTest *parent)
 
void UnshuffleTests ()
 
void UnshuffleTests ()
 
virtual ~UnitTestImpl ()
 
virtual ~UnitTestImpl ()
 

Private Member Functions

 GTEST_DISALLOW_COPY_AND_ASSIGN_ (UnitTestImpl)
 
 GTEST_DISALLOW_COPY_AND_ASSIGN_ (UnitTestImpl)
 
void set_catch_exceptions (bool value)
 
void set_catch_exceptions (bool value)
 

Private Attributes

TestResult ad_hoc_test_result_
 
bool catch_exceptions_
 
TestCasecurrent_test_case_
 
TestInfocurrent_test_info_
 
TestSuitecurrent_test_suite_
 
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_
 
std::set< std::string > ignored_parameterized_test_suites_
 
int last_death_test_case_
 
int last_death_test_suite_
 
TestEventListeners listeners_
 
internal::FilePath original_working_dir_
 
OsStackTraceGetterInterfaceos_stack_trace_getter_
 
internal::ParameterizedTestSuiteRegistry parameterized_test_registry_
 
internal::ParameterizedTestCaseRegistry parameterized_test_registry_
 
bool parameterized_tests_registered_
 
UnitTest *const parent_
 
internal::ThreadLocal< TestPartResultReporterInterface * > per_thread_test_part_result_reporter_
 
bool post_flag_parse_init_performed_
 
internal::Random random_
 
int random_seed_
 
TimeInMillis start_timestamp_
 
std::vector< inttest_case_indices_
 
std::vector< TestCase * > test_cases_
 
std::vector< inttest_suite_indices_
 
std::vector< TestSuite * > test_suites_
 
internal::TypeParameterizedTestSuiteRegistry type_parameterized_test_registry_
 

Friends

class ::testing::UnitTest
 

Detailed Description

Definition at line 906 of file gmock-gtest-all.cc.

Member Enumeration Documentation

◆ ReactionToSharding [1/2]

Enumerator
HONOR_SHARDING_PROTOCOL 
IGNORE_SHARDING_PROTOCOL 
HONOR_SHARDING_PROTOCOL 
IGNORE_SHARDING_PROTOCOL 

Definition at line 741 of file googletest/googletest/src/gtest-internal-inl.h.

◆ ReactionToSharding [2/2]

Enumerator
HONOR_SHARDING_PROTOCOL 
IGNORE_SHARDING_PROTOCOL 
HONOR_SHARDING_PROTOCOL 
IGNORE_SHARDING_PROTOCOL 

Definition at line 1124 of file gmock-gtest-all.cc.

Constructor & Destructor Documentation

◆ UnitTestImpl() [1/2]

testing::internal::UnitTestImpl::UnitTestImpl ( UnitTest parent)
explicit

◆ ~UnitTestImpl() [1/2]

testing::internal::UnitTestImpl::~UnitTestImpl ( )
virtual

◆ UnitTestImpl() [2/2]

testing::internal::UnitTestImpl::UnitTestImpl ( UnitTest parent)
explicit

◆ ~UnitTestImpl() [2/2]

virtual testing::internal::UnitTestImpl::~UnitTestImpl ( )
virtual

Member Function Documentation

◆ ad_hoc_test_result() [1/2]

const TestResult* testing::internal::UnitTestImpl::ad_hoc_test_result ( ) const
inline

◆ ad_hoc_test_result() [2/2]

const TestResult* testing::internal::UnitTestImpl::ad_hoc_test_result ( ) const
inline

Definition at line 1004 of file gmock-gtest-all.cc.

◆ AddTestInfo() [1/2]

void testing::internal::UnitTestImpl::AddTestInfo ( internal::SetUpTestSuiteFunc  set_up_tc,
internal::TearDownTestSuiteFunc  tear_down_tc,
TestInfo test_info 
)
inline

◆ AddTestInfo() [2/2]

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

Definition at line 1052 of file gmock-gtest-all.cc.

◆ catch_exceptions() [1/2]

bool testing::internal::UnitTestImpl::catch_exceptions ( ) const
inline

◆ catch_exceptions() [2/2]

bool testing::internal::UnitTestImpl::catch_exceptions ( ) const
inline

Definition at line 1210 of file gmock-gtest-all.cc.

◆ ClearAdHocTestResult() [1/2]

void testing::internal::UnitTestImpl::ClearAdHocTestResult ( )
inline

◆ ClearAdHocTestResult() [2/2]

void testing::internal::UnitTestImpl::ClearAdHocTestResult ( )
inline

Definition at line 1114 of file gmock-gtest-all.cc.

◆ ClearNonAdHocTestResult() [1/2]

void testing::internal::UnitTestImpl::ClearNonAdHocTestResult ( )
inline

◆ ClearNonAdHocTestResult() [2/2]

void testing::internal::UnitTestImpl::ClearNonAdHocTestResult ( )
inline

Definition at line 1109 of file gmock-gtest-all.cc.

◆ ConfigureXmlOutput() [1/2]

void testing::internal::UnitTestImpl::ConfigureXmlOutput ( )

◆ ConfigureXmlOutput() [2/2]

void testing::internal::UnitTestImpl::ConfigureXmlOutput ( )

◆ current_test_case()

const TestCase* testing::internal::UnitTestImpl::current_test_case ( ) const
inline

Definition at line 1140 of file gmock-gtest-all.cc.

◆ current_test_info() [1/4]

TestInfo* testing::internal::UnitTestImpl::current_test_info ( )
inline

◆ current_test_info() [2/4]

TestInfo* testing::internal::UnitTestImpl::current_test_info ( )
inline

Definition at line 1141 of file gmock-gtest-all.cc.

◆ current_test_info() [3/4]

const TestInfo* testing::internal::UnitTestImpl::current_test_info ( ) const
inline

◆ current_test_info() [4/4]

const TestInfo* testing::internal::UnitTestImpl::current_test_info ( ) const
inline

Definition at line 1142 of file gmock-gtest-all.cc.

◆ current_test_result() [1/2]

TestResult* testing::internal::UnitTestImpl::current_test_result ( )

◆ current_test_result() [2/2]

TestResult * testing::internal::UnitTestImpl::current_test_result ( )

◆ current_test_suite()

const TestSuite* testing::internal::UnitTestImpl::current_test_suite ( ) const
inline

◆ CurrentOsStackTraceExceptTop() [1/2]

std::string testing::internal::UnitTestImpl::CurrentOsStackTraceExceptTop ( int  skip_count)

◆ CurrentOsStackTraceExceptTop() [2/2]

std::string testing::internal::UnitTestImpl::CurrentOsStackTraceExceptTop ( int  skip_count)

◆ disabled_test_count() [1/2]

int testing::internal::UnitTestImpl::disabled_test_count ( ) const

◆ disabled_test_count() [2/2]

int testing::internal::UnitTestImpl::disabled_test_count ( ) const

◆ elapsed_time() [1/2]

TimeInMillis testing::internal::UnitTestImpl::elapsed_time ( ) const
inline

◆ elapsed_time() [2/2]

TimeInMillis testing::internal::UnitTestImpl::elapsed_time ( ) const
inline

Definition at line 971 of file gmock-gtest-all.cc.

◆ environments() [1/2]

std::vector<Environment*>& testing::internal::UnitTestImpl::environments ( )
inline

◆ environments() [2/2]

std::vector<Environment*>& testing::internal::UnitTestImpl::environments ( )
inline

Definition at line 1146 of file gmock-gtest-all.cc.

◆ Failed() [1/2]

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

◆ Failed() [2/2]

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

Definition at line 978 of file gmock-gtest-all.cc.

◆ failed_test_case_count()

int testing::internal::UnitTestImpl::failed_test_case_count ( ) const

Definition at line 2183 of file gmock-gtest-all.cc.

◆ failed_test_count() [1/2]

int testing::internal::UnitTestImpl::failed_test_count ( ) const

◆ failed_test_count() [2/2]

int testing::internal::UnitTestImpl::failed_test_count ( ) const

◆ failed_test_suite_count()

int testing::internal::UnitTestImpl::failed_test_suite_count ( ) const

◆ FilterTests() [1/2]

int testing::internal::UnitTestImpl::FilterTests ( ReactionToSharding  shard_tests)

◆ FilterTests() [2/2]

int testing::internal::UnitTestImpl::FilterTests ( ReactionToSharding  shard_tests)

◆ GetGlobalTestPartResultReporter() [1/2]

TestPartResultReporterInterface* testing::internal::UnitTestImpl::GetGlobalTestPartResultReporter ( )

◆ GetGlobalTestPartResultReporter() [2/2]

TestPartResultReporterInterface * testing::internal::UnitTestImpl::GetGlobalTestPartResultReporter ( )

◆ GetMutableSuiteCase()

TestSuite* testing::internal::UnitTestImpl::GetMutableSuiteCase ( int  i)
inline

◆ GetMutableTestCase()

TestCase* testing::internal::UnitTestImpl::GetMutableTestCase ( int  i)
inline

Definition at line 991 of file gmock-gtest-all.cc.

◆ GetTestCase() [1/4]

TestCase* testing::internal::UnitTestImpl::GetTestCase ( const char *  test_case_name,
const char *  type_param,
internal::SetUpTestSuiteFunc  set_up_tc,
internal::TearDownTestSuiteFunc  tear_down_tc 
)
inline

◆ GetTestCase() [2/4]

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 5950 of file gmock-gtest-all.cc.

◆ GetTestCase() [3/4]

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

◆ GetTestCase() [4/4]

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

Definition at line 984 of file gmock-gtest-all.cc.

◆ GetTestPartResultReporterForCurrentThread() [1/2]

TestPartResultReporterInterface* testing::internal::UnitTestImpl::GetTestPartResultReporterForCurrentThread ( )

◆ GetTestPartResultReporterForCurrentThread() [2/2]

TestPartResultReporterInterface * testing::internal::UnitTestImpl::GetTestPartResultReporterForCurrentThread ( )

◆ GetTestSuite() [1/2]

TestSuite * testing::internal::UnitTestImpl::GetTestSuite ( const char *  test_suite_name,
const char *  type_param,
internal::SetUpTestSuiteFunc  set_up_tc,
internal::TearDownTestSuiteFunc  tear_down_tc 
)

◆ GetTestSuite() [2/2]

const TestSuite* testing::internal::UnitTestImpl::GetTestSuite ( int  i) const
inline

◆ GTEST_DISALLOW_COPY_AND_ASSIGN_() [1/2]

testing::internal::UnitTestImpl::GTEST_DISALLOW_COPY_AND_ASSIGN_ ( UnitTestImpl  )
private

◆ GTEST_DISALLOW_COPY_AND_ASSIGN_() [2/2]

testing::internal::UnitTestImpl::GTEST_DISALLOW_COPY_AND_ASSIGN_ ( UnitTestImpl  )
private

◆ gtest_trace_stack() [1/4]

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

◆ gtest_trace_stack() [2/4]

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

Definition at line 1149 of file gmock-gtest-all.cc.

◆ gtest_trace_stack() [3/4]

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

◆ gtest_trace_stack() [4/4]

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

Definition at line 1152 of file gmock-gtest-all.cc.

◆ ignored_parameterized_test_suites()

std::set<std::string>* testing::internal::UnitTestImpl::ignored_parameterized_test_suites ( )
inline

◆ listeners() [1/2]

TestEventListeners* testing::internal::UnitTestImpl::listeners ( )
inline

◆ listeners() [2/2]

TestEventListeners* testing::internal::UnitTestImpl::listeners ( )
inline

Definition at line 997 of file gmock-gtest-all.cc.

◆ ListTestsMatchingFilter() [1/2]

void testing::internal::UnitTestImpl::ListTestsMatchingFilter ( )

◆ ListTestsMatchingFilter() [2/2]

void testing::internal::UnitTestImpl::ListTestsMatchingFilter ( )

◆ os_stack_trace_getter() [1/2]

OsStackTraceGetterInterface* testing::internal::UnitTestImpl::os_stack_trace_getter ( )

◆ os_stack_trace_getter() [2/2]

OsStackTraceGetterInterface * testing::internal::UnitTestImpl::os_stack_trace_getter ( )

◆ parameterized_test_registry() [1/2]

internal::ParameterizedTestSuiteRegistry& testing::internal::UnitTestImpl::parameterized_test_registry ( )
inline

◆ parameterized_test_registry() [2/2]

internal::ParameterizedTestCaseRegistry& testing::internal::UnitTestImpl::parameterized_test_registry ( )
inline

Definition at line 1077 of file gmock-gtest-all.cc.

◆ Passed() [1/2]

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

◆ Passed() [2/2]

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

Definition at line 974 of file gmock-gtest-all.cc.

◆ PostFlagParsingInit() [1/2]

void testing::internal::UnitTestImpl::PostFlagParsingInit ( )

◆ PostFlagParsingInit() [2/2]

void testing::internal::UnitTestImpl::PostFlagParsingInit ( )

◆ random() [1/2]

internal::Random* testing::internal::UnitTestImpl::random ( )
inline

◆ random() [2/2]

internal::Random* testing::internal::UnitTestImpl::random ( )
inline

Definition at line 1199 of file gmock-gtest-all.cc.

◆ random_seed() [1/2]

int testing::internal::UnitTestImpl::random_seed ( ) const
inline

◆ random_seed() [2/2]

int testing::internal::UnitTestImpl::random_seed ( ) const
inline

Definition at line 1196 of file gmock-gtest-all.cc.

◆ RecordProperty() [1/2]

void testing::internal::UnitTestImpl::RecordProperty ( const TestProperty test_property)

◆ RecordProperty() [2/2]

void testing::internal::UnitTestImpl::RecordProperty ( const TestProperty test_property)

◆ RegisterParameterizedTests() [1/2]

void testing::internal::UnitTestImpl::RegisterParameterizedTests ( )

◆ RegisterParameterizedTests() [2/2]

void testing::internal::UnitTestImpl::RegisterParameterizedTests ( )

◆ reportable_disabled_test_count() [1/2]

int testing::internal::UnitTestImpl::reportable_disabled_test_count ( ) const

◆ reportable_disabled_test_count() [2/2]

int testing::internal::UnitTestImpl::reportable_disabled_test_count ( ) const

◆ reportable_test_count() [1/2]

int testing::internal::UnitTestImpl::reportable_test_count ( ) const

◆ reportable_test_count() [2/2]

int testing::internal::UnitTestImpl::reportable_test_count ( ) const

◆ RunAllTests() [1/2]

bool testing::internal::UnitTestImpl::RunAllTests ( )

◆ RunAllTests() [2/2]

bool testing::internal::UnitTestImpl::RunAllTests ( )

◆ set_catch_exceptions() [1/2]

void testing::internal::UnitTestImpl::set_catch_exceptions ( bool  value)
inlineprivate

◆ set_catch_exceptions() [2/2]

void testing::internal::UnitTestImpl::set_catch_exceptions ( bool  value)
inlineprivate

Definition at line 1217 of file gmock-gtest-all.cc.

◆ set_current_test_case()

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

Definition at line 1083 of file gmock-gtest-all.cc.

◆ set_current_test_info() [1/2]

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

◆ set_current_test_info() [2/2]

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

Definition at line 1090 of file gmock-gtest-all.cc.

◆ set_current_test_suite()

void testing::internal::UnitTestImpl::set_current_test_suite ( TestSuite a_current_test_suite)
inline

◆ set_os_stack_trace_getter() [1/2]

void testing::internal::UnitTestImpl::set_os_stack_trace_getter ( OsStackTraceGetterInterface getter)

◆ set_os_stack_trace_getter() [2/2]

void testing::internal::UnitTestImpl::set_os_stack_trace_getter ( OsStackTraceGetterInterface getter)

◆ SetGlobalTestPartResultReporter() [1/2]

void testing::internal::UnitTestImpl::SetGlobalTestPartResultReporter ( TestPartResultReporterInterface reporter)

◆ SetGlobalTestPartResultReporter() [2/2]

void testing::internal::UnitTestImpl::SetGlobalTestPartResultReporter ( TestPartResultReporterInterface reporter)

◆ SetTestPartResultReporterForCurrentThread() [1/2]

void testing::internal::UnitTestImpl::SetTestPartResultReporterForCurrentThread ( TestPartResultReporterInterface reporter)

◆ SetTestPartResultReporterForCurrentThread() [2/2]

void testing::internal::UnitTestImpl::SetTestPartResultReporterForCurrentThread ( TestPartResultReporterInterface reporter)

◆ ShuffleTests() [1/2]

void testing::internal::UnitTestImpl::ShuffleTests ( )

◆ ShuffleTests() [2/2]

void testing::internal::UnitTestImpl::ShuffleTests ( )

◆ skipped_test_count()

int testing::internal::UnitTestImpl::skipped_test_count ( ) const

◆ start_timestamp() [1/2]

TimeInMillis testing::internal::UnitTestImpl::start_timestamp ( ) const
inline

◆ start_timestamp() [2/2]

TimeInMillis testing::internal::UnitTestImpl::start_timestamp ( ) const
inline

Definition at line 968 of file gmock-gtest-all.cc.

◆ successful_test_case_count()

int testing::internal::UnitTestImpl::successful_test_case_count ( ) const

Definition at line 2178 of file gmock-gtest-all.cc.

◆ successful_test_count() [1/2]

int testing::internal::UnitTestImpl::successful_test_count ( ) const

◆ successful_test_count() [2/2]

int testing::internal::UnitTestImpl::successful_test_count ( ) const

◆ successful_test_suite_count()

int testing::internal::UnitTestImpl::successful_test_suite_count ( ) const

◆ test_case_to_run_count()

int testing::internal::UnitTestImpl::test_case_to_run_count ( ) const

Definition at line 2194 of file gmock-gtest-all.cc.

◆ test_suite_to_run_count()

int testing::internal::UnitTestImpl::test_suite_to_run_count ( ) const

◆ test_to_run_count() [1/2]

int testing::internal::UnitTestImpl::test_to_run_count ( ) const

◆ test_to_run_count() [2/2]

int testing::internal::UnitTestImpl::test_to_run_count ( ) const

◆ total_test_case_count()

int testing::internal::UnitTestImpl::total_test_case_count ( ) const

Definition at line 2188 of file gmock-gtest-all.cc.

◆ total_test_count() [1/2]

int testing::internal::UnitTestImpl::total_test_count ( ) const

◆ total_test_count() [2/2]

int testing::internal::UnitTestImpl::total_test_count ( ) const

◆ total_test_suite_count()

int testing::internal::UnitTestImpl::total_test_suite_count ( ) const

◆ type_parameterized_test_registry()

internal::TypeParameterizedTestSuiteRegistry& testing::internal::UnitTestImpl::type_parameterized_test_registry ( )
inline

◆ UnshuffleTests() [1/2]

void testing::internal::UnitTestImpl::UnshuffleTests ( )

◆ UnshuffleTests() [2/2]

void testing::internal::UnitTestImpl::UnshuffleTests ( )

Friends And Related Function Documentation

◆ ::testing::UnitTest

friend class ::testing::UnitTest
friend

Definition at line 1213 of file gmock-gtest-all.cc.

Member Data Documentation

◆ ad_hoc_test_result_

TestResult testing::internal::UnitTestImpl::ad_hoc_test_result_
private

Definition at line 1287 of file gmock-gtest-all.cc.

◆ catch_exceptions_

bool testing::internal::UnitTestImpl::catch_exceptions_
private

Definition at line 1327 of file gmock-gtest-all.cc.

◆ current_test_case_

TestCase* testing::internal::UnitTestImpl::current_test_case_
private

Definition at line 1271 of file gmock-gtest-all.cc.

◆ current_test_info_

TestInfo * testing::internal::UnitTestImpl::current_test_info_
private

Definition at line 1277 of file gmock-gtest-all.cc.

◆ current_test_suite_

TestSuite* testing::internal::UnitTestImpl::current_test_suite_
private

◆ default_global_test_part_result_reporter_

DefaultGlobalTestPartResultReporter testing::internal::UnitTestImpl::default_global_test_part_result_reporter_
private

Definition at line 1227 of file gmock-gtest-all.cc.

◆ default_per_thread_test_part_result_reporter_

DefaultPerThreadTestPartResultReporter testing::internal::UnitTestImpl::default_per_thread_test_part_result_reporter_
private

Definition at line 1229 of file gmock-gtest-all.cc.

◆ elapsed_time_

TimeInMillis testing::internal::UnitTestImpl::elapsed_time_
private

Definition at line 1313 of file gmock-gtest-all.cc.

◆ environments_

std::vector< Environment * > testing::internal::UnitTestImpl::environments_
private

Definition at line 1243 of file gmock-gtest-all.cc.

◆ global_test_part_result_reporter_mutex_

internal::Mutex testing::internal::UnitTestImpl::global_test_part_result_reporter_mutex_
private

Definition at line 1235 of file gmock-gtest-all.cc.

◆ global_test_part_result_repoter_

TestPartResultReporterInterface * testing::internal::UnitTestImpl::global_test_part_result_repoter_
private

Definition at line 1232 of file gmock-gtest-all.cc.

◆ gtest_trace_stack_

internal::ThreadLocal< std::vector< TraceInfo > > testing::internal::UnitTestImpl::gtest_trace_stack_
private

Definition at line 1323 of file gmock-gtest-all.cc.

◆ ignored_parameterized_test_suites_

std::set<std::string> testing::internal::UnitTestImpl::ignored_parameterized_test_suites_
private

◆ last_death_test_case_

int testing::internal::UnitTestImpl::last_death_test_case_
private

Definition at line 1265 of file gmock-gtest-all.cc.

◆ last_death_test_suite_

int testing::internal::UnitTestImpl::last_death_test_suite_
private

◆ listeners_

TestEventListeners testing::internal::UnitTestImpl::listeners_
private

Definition at line 1291 of file gmock-gtest-all.cc.

◆ original_working_dir_

internal::FilePath testing::internal::UnitTestImpl::original_working_dir_
private

Definition at line 1224 of file gmock-gtest-all.cc.

◆ os_stack_trace_getter_

OsStackTraceGetterInterface * testing::internal::UnitTestImpl::os_stack_trace_getter_
private

Definition at line 1297 of file gmock-gtest-all.cc.

◆ parameterized_test_registry_ [1/2]

internal::ParameterizedTestSuiteRegistry testing::internal::UnitTestImpl::parameterized_test_registry_
private

◆ parameterized_test_registry_ [2/2]

internal::ParameterizedTestCaseRegistry testing::internal::UnitTestImpl::parameterized_test_registry_
private

Definition at line 1258 of file gmock-gtest-all.cc.

◆ parameterized_tests_registered_

bool testing::internal::UnitTestImpl::parameterized_tests_registered_
private

Definition at line 1261 of file gmock-gtest-all.cc.

◆ parent_

UnitTest *const testing::internal::UnitTestImpl::parent_
private

Definition at line 1220 of file gmock-gtest-all.cc.

◆ per_thread_test_part_result_reporter_

internal::ThreadLocal< TestPartResultReporterInterface * > testing::internal::UnitTestImpl::per_thread_test_part_result_reporter_
private

Definition at line 1239 of file gmock-gtest-all.cc.

◆ post_flag_parse_init_performed_

bool testing::internal::UnitTestImpl::post_flag_parse_init_performed_
private

Definition at line 1300 of file gmock-gtest-all.cc.

◆ random_

internal::Random testing::internal::UnitTestImpl::random_
private

Definition at line 1306 of file gmock-gtest-all.cc.

◆ random_seed_

int testing::internal::UnitTestImpl::random_seed_
private

Definition at line 1303 of file gmock-gtest-all.cc.

◆ start_timestamp_

TimeInMillis testing::internal::UnitTestImpl::start_timestamp_
private

Definition at line 1310 of file gmock-gtest-all.cc.

◆ test_case_indices_

std::vector<int> testing::internal::UnitTestImpl::test_case_indices_
private

Definition at line 1253 of file gmock-gtest-all.cc.

◆ test_cases_

std::vector<TestCase*> testing::internal::UnitTestImpl::test_cases_
private

Definition at line 1247 of file gmock-gtest-all.cc.

◆ test_suite_indices_

std::vector<int> testing::internal::UnitTestImpl::test_suite_indices_
private

◆ test_suites_

std::vector<TestSuite*> testing::internal::UnitTestImpl::test_suites_
private

◆ type_parameterized_test_registry_

internal::TypeParameterizedTestSuiteRegistry testing::internal::UnitTestImpl::type_parameterized_test_registry_
private

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


grpc
Author(s):
autogenerated on Fri May 16 2025 03:03:50