GNU Radio's DSD Package
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
 

Member Enumeration Documentation

◆ ReactionToSharding [1/2]

Enumerator
HONOR_SHARDING_PROTOCOL 
IGNORE_SHARDING_PROTOCOL 
HONOR_SHARDING_PROTOCOL 
IGNORE_SHARDING_PROTOCOL 

◆ ReactionToSharding [2/2]

Enumerator
HONOR_SHARDING_PROTOCOL 
IGNORE_SHARDING_PROTOCOL 
HONOR_SHARDING_PROTOCOL 
IGNORE_SHARDING_PROTOCOL 

Constructor & Destructor Documentation

◆ UnitTestImpl() [1/2]

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

◆ ~UnitTestImpl() [1/2]

virtual 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

◆ AddTestInfo() [1/2]

void testing::internal::UnitTestImpl::AddTestInfo ( Test::SetUpTestCaseFunc  set_up_tc,
Test::TearDownTestCaseFunc  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

◆ catch_exceptions() [1/2]

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

◆ catch_exceptions() [2/2]

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

◆ ClearAdHocTestResult() [1/2]

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

◆ ClearAdHocTestResult() [2/2]

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

◆ ClearNonAdHocTestResult() [1/2]

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

◆ ClearNonAdHocTestResult() [2/2]

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

◆ 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

◆ current_test_case() [2/2]

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

◆ 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

◆ 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

◆ 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

◆ elapsed_time() [2/2]

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

◆ environments() [1/2]

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

◆ environments() [2/2]

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

◆ Failed() [1/2]

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

◆ Failed() [2/2]

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

◆ failed_test_case_count() [1/2]

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

◆ 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

◆ GetMutableTestCase() [2/2]

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

◆ GetTestCase() [1/4]

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

◆ GetTestCase() [2/4]

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

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

◆ 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

◆ gtest_trace_stack() [2/4]

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

◆ 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

◆ listeners() [1/2]

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

◆ listeners() [2/2]

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

◆ 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

◆ Passed() [2/2]

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

◆ 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

◆ random_seed() [1/2]

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

◆ random_seed() [2/2]

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

◆ 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

◆ set_current_test_case() [2/2]

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

◆ 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

◆ 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

◆ start_timestamp() [2/2]

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

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

Friends And Related Function Documentation

◆ ::testing::UnitTest

friend class ::testing::UnitTest
friend

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