Electroneum
Loading...
Searching...
No Matches
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

 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
 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

Friends

class ::testing::UnitTest

Detailed Description

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

Member Enumeration Documentation

◆ ReactionToSharding [1/2]

Enumerator
HONOR_SHARDING_PROTOCOL 
IGNORE_SHARDING_PROTOCOL 
HONOR_SHARDING_PROTOCOL 
IGNORE_SHARDING_PROTOCOL 

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

◆ ReactionToSharding [2/2]

Enumerator
HONOR_SHARDING_PROTOCOL 
IGNORE_SHARDING_PROTOCOL 
HONOR_SHARDING_PROTOCOL 
IGNORE_SHARDING_PROTOCOL 

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

Constructor & Destructor Documentation

◆ UnitTestImpl() [1/2]

testing::internal::UnitTestImpl::UnitTestImpl ( UnitTest * parent)
explicit
Here is the call graph for this function:

◆ ~UnitTestImpl() [1/2]

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

◆ UnitTestImpl() [2/2]

testing::internal::UnitTestImpl::UnitTestImpl ( UnitTest * parent)
explicit
Here is the call graph for this function:

◆ ~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

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

597{ return &ad_hoc_test_result_; }
Here is the caller graph for this function:

◆ ad_hoc_test_result() [2/2]

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

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

597{ return &ad_hoc_test_result_; }

◆ AddTestInfo() [1/2]

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

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

647 {
648 // In order to support thread-safe death tests, we need to
649 // remember the original working directory when the test program
650 // was first invoked. We cannot do this in RUN_ALL_TESTS(), as
651 // the user may have changed the current directory before calling
652 // RUN_ALL_TESTS(). Therefore we capture the current directory in
653 // AddTestInfo(), which is called to register a TEST or TEST_F
654 // before main() is reached.
655 if (original_working_dir_.IsEmpty()) {
656 original_working_dir_.Set(FilePath::GetCurrentDir());
657 GTEST_CHECK_(!original_working_dir_.IsEmpty())
658 << "Failed to get the current working directory.";
659 }
660
661 GetTestCase(test_info->test_case_name(),
662 test_info->type_param(),
663 set_up_tc,
664 tear_down_tc)->AddTestInfo(test_info);
665 }
static FilePath GetCurrentDir()
const TestCase * GetTestCase(int i) const
#define GTEST_CHECK_(condition)
Here is the call graph for this function:

◆ 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 645 of file gtest-internal-inl.h.

647 {
648 // In order to support thread-safe death tests, we need to
649 // remember the original working directory when the test program
650 // was first invoked. We cannot do this in RUN_ALL_TESTS(), as
651 // the user may have changed the current directory before calling
652 // RUN_ALL_TESTS(). Therefore we capture the current directory in
653 // AddTestInfo(), which is called to register a TEST or TEST_F
654 // before main() is reached.
655 if (original_working_dir_.IsEmpty()) {
656 original_working_dir_.Set(FilePath::GetCurrentDir());
657 GTEST_CHECK_(!original_working_dir_.IsEmpty())
658 << "Failed to get the current working directory.";
659 }
660
661 GetTestCase(test_info->test_case_name(),
662 test_info->type_param(),
663 set_up_tc,
664 tear_down_tc)->AddTestInfo(test_info);
665 }
Here is the call graph for this function:

◆ catch_exceptions() [1/2]

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

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

803{ return catch_exceptions_; }

◆ catch_exceptions() [2/2]

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

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

803{ return catch_exceptions_; }

◆ ClearAdHocTestResult() [1/2]

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

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

707 {
708 ad_hoc_test_result_.Clear();
709 }

◆ ClearAdHocTestResult() [2/2]

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

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

707 {
708 ad_hoc_test_result_.Clear();
709 }

◆ ClearNonAdHocTestResult() [1/2]

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

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

702 {
703 ForEach(test_cases_, TestCase::ClearTestCaseResult);
704 }
void ForEach(const Container &c, Functor functor)
Here is the call graph for this function:

◆ ClearNonAdHocTestResult() [2/2]

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

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

702 {
703 ForEach(test_cases_, TestCase::ClearTestCaseResult);
704 }
Here is the call graph for this function:

◆ ConfigureXmlOutput() [1/2]

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

◆ ConfigureXmlOutput() [2/2]

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

◆ current_test_case() [1/2]

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

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

733{ return current_test_case_; }

◆ current_test_case() [2/2]

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

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

733{ return current_test_case_; }

◆ current_test_info() [1/4]

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

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

734{ return current_test_info_; }

◆ current_test_info() [2/4]

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

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

734{ return current_test_info_; }

◆ current_test_info() [3/4]

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

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

735{ return current_test_info_; }

◆ current_test_info() [4/4]

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

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

735{ return current_test_info_; }

◆ current_test_result() [1/2]

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

◆ current_test_result() [2/2]

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

◆ 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

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

564{ return elapsed_time_; }

◆ elapsed_time() [2/2]

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

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

564{ return elapsed_time_; }

◆ environments() [1/2]

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

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

739{ return environments_; }

◆ environments() [2/2]

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

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

739{ return environments_; }

◆ Failed() [1/2]

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

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

571 {
573 }
bool Failed() const
const TestResult * ad_hoc_test_result() const
Here is the call graph for this function:
Here is the caller graph for this function:

◆ Failed() [2/2]

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

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

571 {
573 }
Here is the call graph for this function:

◆ failed_test_case_count() [1/2]

int testing::internal::UnitTestImpl::failed_test_case_count ( ) const
Here is the caller graph for this function:

◆ failed_test_case_count() [2/2]

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

◆ 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

◆ 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 ( )

◆ GetMutableTestCase() [1/2]

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

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

584 {
585 const int index = GetElementOr(test_case_indices_, i, -1);
586 return index < 0 ? NULL : test_cases_[index];
587 }
E GetElementOr(const std::vector< E > &v, int i, E default_value)
Here is the call graph for this function:

◆ GetMutableTestCase() [2/2]

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

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

584 {
585 const int index = GetElementOr(test_case_indices_, i, -1);
586 return index < 0 ? NULL : test_cases_[index];
587 }
Here is the call graph for this function:

◆ GetTestCase() [1/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 )

◆ 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 )

◆ GetTestCase() [3/4]

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

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

577 {
578 const int index = GetElementOr(test_case_indices_, i, -1);
579 return index < 0 ? NULL : test_cases_[i];
580 }
Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetTestCase() [4/4]

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

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

577 {
578 const int index = GetElementOr(test_case_indices_, i, -1);
579 return index < 0 ? NULL : test_cases_[i];
580 }
Here is the call graph for this function:

◆ GetTestPartResultReporterForCurrentThread() [1/2]

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

◆ GetTestPartResultReporterForCurrentThread() [2/2]

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

◆ gtest_trace_stack() [1/4]

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

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

742 {
743 return *(gtest_trace_stack_.pointer());
744 }

◆ gtest_trace_stack() [2/4]

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

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

742 {
743 return *(gtest_trace_stack_.pointer());
744 }

◆ gtest_trace_stack() [3/4]

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

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

745 {
746 return gtest_trace_stack_.get();
747 }

◆ gtest_trace_stack() [4/4]

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

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

745 {
746 return gtest_trace_stack_.get();
747 }

◆ listeners() [1/2]

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

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

590{ return &listeners_; }

◆ listeners() [2/2]

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

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

590{ return &listeners_; }

◆ 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 ( )

◆ Passed() [1/2]

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

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

567{ return !Failed(); }
Here is the call graph for this function:

◆ Passed() [2/2]

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

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

567{ return !Failed(); }
Here is the call graph for this function:

◆ 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

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

792{ return &random_; }

◆ random() [2/2]

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

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

792{ return &random_; }

◆ random_seed() [1/2]

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

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

789{ return random_seed_; }

◆ random_seed() [2/2]

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

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

789{ return random_seed_; }

◆ 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_current_test_case() [1/2]

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

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

676 {
677 current_test_case_ = a_current_test_case;
678 }

◆ set_current_test_case() [2/2]

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

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

676 {
677 current_test_case_ = a_current_test_case;
678 }

◆ set_current_test_info() [1/2]

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

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

683 {
684 current_test_info_ = a_current_test_info;
685 }

◆ set_current_test_info() [2/2]

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

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

683 {
684 current_test_info_ = a_current_test_info;
685 }

◆ 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 ( )

◆ start_timestamp() [1/2]

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

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

561{ return start_timestamp_; }

◆ start_timestamp() [2/2]

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

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

561{ return start_timestamp_; }

◆ successful_test_case_count() [1/2]

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

◆ successful_test_case_count() [2/2]

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

◆ 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

◆ test_case_to_run_count() [1/2]

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

◆ test_case_to_run_count() [2/2]

int testing::internal::UnitTestImpl::test_case_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() [1/2]

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

◆ total_test_case_count() [2/2]

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

◆ 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

◆ UnshuffleTests() [1/2]

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

◆ UnshuffleTests() [2/2]

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

◆ ::testing::UnitTest

friend class ::testing::UnitTest
friend

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


The documentation for this class was generated from the following files:
  • /home/abuild/rpmbuild/BUILD/electroneum-5.1.3.1-build/electroneum-5.1.3.1/external/rapidjson/thirdparty/gtest/googletest/src/gtest-internal-inl.h
  • /home/abuild/rpmbuild/BUILD/electroneum-5.1.3.1-build/electroneum-5.1.3.1/tests/gtest/src/gtest-internal-inl.h