Assimp  v4.1. (December 2018)
testing::internal::UnitTestImpl Class Reference

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 ()
 
std::string CurrentOsStackTraceExceptTop (int skip_count) GTEST_NO_INLINE_
 
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)
 
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
 
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 RecordProperty (const TestProperty &test_property)
 
void RegisterParameterizedTests ()
 
int reportable_disabled_test_count () const
 
int reportable_test_count () const
 
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 ()
 
TimeInMillis start_timestamp () const
 
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 ()
 

Friends

class ::testing::UnitTest
 

Member Enumeration Documentation

◆ ReactionToSharding

Enumerator
HONOR_SHARDING_PROTOCOL 
IGNORE_SHARDING_PROTOCOL 

Constructor & Destructor Documentation

◆ UnitTestImpl()

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

◆ ~UnitTestImpl()

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

Member Function Documentation

◆ ad_hoc_test_result()

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

◆ AddTestInfo()

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

◆ catch_exceptions()

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

◆ ClearAdHocTestResult()

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

◆ ClearNonAdHocTestResult()

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

◆ ConfigureXmlOutput()

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

◆ current_test_case()

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

◆ current_test_info() [1/2]

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

◆ current_test_info() [2/2]

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

◆ current_test_result()

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

◆ CurrentOsStackTraceExceptTop()

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

◆ disabled_test_count()

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

◆ elapsed_time()

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

◆ environments()

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

◆ Failed()

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

◆ failed_test_case_count()

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

◆ failed_test_count()

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

◆ FilterTests()

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

◆ GetGlobalTestPartResultReporter()

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

◆ GetMutableTestCase()

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

◆ GetTestCase() [1/2]

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/2]

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

◆ GetTestPartResultReporterForCurrentThread()

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

◆ gtest_trace_stack() [1/2]

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

◆ gtest_trace_stack() [2/2]

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

◆ listeners()

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

◆ ListTestsMatchingFilter()

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

◆ os_stack_trace_getter()

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

◆ Passed()

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

◆ PostFlagParsingInit()

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

◆ random()

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

◆ random_seed()

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

◆ RecordProperty()

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

◆ RegisterParameterizedTests()

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

◆ reportable_disabled_test_count()

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

◆ reportable_test_count()

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

◆ RunAllTests()

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

◆ set_current_test_case()

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

◆ set_current_test_info()

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

◆ set_os_stack_trace_getter()

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

◆ SetGlobalTestPartResultReporter()

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

◆ SetTestPartResultReporterForCurrentThread()

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

◆ ShuffleTests()

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

◆ start_timestamp()

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

◆ successful_test_case_count()

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

◆ successful_test_count()

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

◆ test_case_to_run_count()

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

◆ test_to_run_count()

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

◆ total_test_case_count()

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

◆ total_test_count()

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

◆ UnshuffleTests()

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