Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
testing::UnitTest Class Reference

#include <gtest.h>

Public Member Functions

const TestResultad_hoc_test_result () const
 
const TestResultad_hoc_test_result () const
 
const TestResultad_hoc_test_result () const
 
const TestResultad_hoc_test_result () const
 
const TestCasecurrent_test_case () const GTEST_LOCK_EXCLUDED_(mutex_)
 
const TestCasecurrent_test_case () const GTEST_LOCK_EXCLUDED_(mutex_)
 
const TestCasecurrent_test_case () const GTEST_LOCK_EXCLUDED_(mutex_)
 
const TestCasecurrent_test_case () const GTEST_LOCK_EXCLUDED_(mutex_)
 
const TestInfocurrent_test_info () const GTEST_LOCK_EXCLUDED_(mutex_)
 
const TestInfocurrent_test_info () const GTEST_LOCK_EXCLUDED_(mutex_)
 
const TestInfocurrent_test_info () const GTEST_LOCK_EXCLUDED_(mutex_)
 
const TestInfocurrent_test_info () const GTEST_LOCK_EXCLUDED_(mutex_)
 
int disabled_test_count () const
 
int disabled_test_count () const
 
int disabled_test_count () const
 
int disabled_test_count () const
 
TimeInMillis elapsed_time () const
 
TimeInMillis elapsed_time () const
 
TimeInMillis elapsed_time () const
 
TimeInMillis elapsed_time () const
 
bool Failed () const
 
bool Failed () const
 
bool Failed () const
 
bool Failed () const
 
int failed_test_case_count () const
 
int failed_test_case_count () const
 
int failed_test_case_count () const
 
int failed_test_case_count () const
 
int failed_test_count () const
 
int failed_test_count () const
 
int failed_test_count () const
 
int failed_test_count () const
 
const TestCaseGetTestCase (int i) const
 
const TestCaseGetTestCase (int i) const
 
const TestCaseGetTestCase (int i) const
 
const TestCaseGetTestCase (int i) const
 
TestEventListenerslisteners ()
 
TestEventListenerslisteners ()
 
TestEventListenerslisteners ()
 
TestEventListenerslisteners ()
 
const char * original_working_dir () const
 
const char * original_working_dir () const
 
const char * original_working_dir () const
 
const char * original_working_dir () const
 
internal::ParameterizedTestCaseRegistryparameterized_test_registry () GTEST_LOCK_EXCLUDED_(mutex_)
 
internal::ParameterizedTestCaseRegistryparameterized_test_registry () GTEST_LOCK_EXCLUDED_(mutex_)
 
bool Passed () const
 
bool Passed () const
 
bool Passed () const
 
bool Passed () const
 
int random_seed () const
 
int random_seed () const
 
int random_seed () const
 
int random_seed () const
 
int reportable_disabled_test_count () const
 
int reportable_disabled_test_count () const
 
int reportable_disabled_test_count () const
 
int reportable_disabled_test_count () const
 
int reportable_test_count () const
 
int reportable_test_count () const
 
int reportable_test_count () const
 
int reportable_test_count () const
 
int Run () GTEST_MUST_USE_RESULT_
 
int Run () GTEST_MUST_USE_RESULT_
 
int Run () GTEST_MUST_USE_RESULT_
 
int Run () GTEST_MUST_USE_RESULT_
 
TimeInMillis start_timestamp () const
 
TimeInMillis start_timestamp () const
 
TimeInMillis start_timestamp () const
 
TimeInMillis start_timestamp () const
 
int successful_test_case_count () const
 
int successful_test_case_count () const
 
int successful_test_case_count () const
 
int successful_test_case_count () const
 
int successful_test_count () const
 
int successful_test_count () const
 
int successful_test_count () const
 
int successful_test_count () const
 
int test_case_to_run_count () const
 
int test_case_to_run_count () const
 
int test_case_to_run_count () const
 
int test_case_to_run_count () const
 
int test_to_run_count () const
 
int test_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_case_count () const
 
int total_test_case_count () const
 
int total_test_case_count () const
 
int total_test_count () const
 
int total_test_count () const
 
int total_test_count () const
 
int total_test_count () const
 

Static Public Member Functions

static UnitTestGetInstance ()
 
static UnitTestGetInstance ()
 
static UnitTestGetInstance ()
 
static UnitTestGetInstance ()
 

Private Member Functions

EnvironmentAddEnvironment (Environment *env)
 
EnvironmentAddEnvironment (Environment *env)
 
EnvironmentAddEnvironment (Environment *env)
 
EnvironmentAddEnvironment (Environment *env)
 
void AddTestPartResult (TestPartResult::Type result_type, const char *file_name, int line_number, const std::string &message, const std::string &os_stack_trace) GTEST_LOCK_EXCLUDED_(mutex_)
 
void AddTestPartResult (TestPartResult::Type result_type, const char *file_name, int line_number, const std::string &message, const std::string &os_stack_trace) GTEST_LOCK_EXCLUDED_(mutex_)
 
void AddTestPartResult (TestPartResult::Type result_type, const char *file_name, int line_number, const std::string &message, const std::string &os_stack_trace) GTEST_LOCK_EXCLUDED_(mutex_)
 
void AddTestPartResult (TestPartResult::Type result_type, const char *file_name, int line_number, const std::string &message, const std::string &os_stack_trace) GTEST_LOCK_EXCLUDED_(mutex_)
 
TestCaseGetMutableTestCase (int i)
 
TestCaseGetMutableTestCase (int i)
 
TestCaseGetMutableTestCase (int i)
 
TestCaseGetMutableTestCase (int i)
 
 GTEST_DISALLOW_COPY_AND_ASSIGN_ (UnitTest)
 
 GTEST_DISALLOW_COPY_AND_ASSIGN_ (UnitTest)
 
 GTEST_DISALLOW_COPY_AND_ASSIGN_ (UnitTest)
 
 GTEST_DISALLOW_COPY_AND_ASSIGN_ (UnitTest)
 
internal::UnitTestImplimpl ()
 
internal::UnitTestImplimpl ()
 
const internal::UnitTestImplimpl () const
 
const internal::UnitTestImplimpl () const
 
internal::UnitTestImplimpl ()
 
internal::UnitTestImplimpl ()
 
const internal::UnitTestImplimpl () const
 
const internal::UnitTestImplimpl () const
 
void PopGTestTrace () GTEST_LOCK_EXCLUDED_(mutex_)
 
void PopGTestTrace () GTEST_LOCK_EXCLUDED_(mutex_)
 
void PopGTestTrace () GTEST_LOCK_EXCLUDED_(mutex_)
 
void PopGTestTrace () GTEST_LOCK_EXCLUDED_(mutex_)
 
void PushGTestTrace (const internal::TraceInfo &trace) GTEST_LOCK_EXCLUDED_(mutex_)
 
void PushGTestTrace (const internal::TraceInfo &trace) GTEST_LOCK_EXCLUDED_(mutex_)
 
void PushGTestTrace (const internal::TraceInfo &trace) GTEST_LOCK_EXCLUDED_(mutex_)
 
void PushGTestTrace (const internal::TraceInfo &trace) GTEST_LOCK_EXCLUDED_(mutex_)
 
void RecordProperty (const std::string &key, const std::string &value)
 
void RecordProperty (const std::string &key, const std::string &value)
 
void RecordProperty (const std::string &key, const std::string &value)
 
void RecordProperty (const std::string &key, const std::string &value)
 
 UnitTest ()
 
 UnitTest ()
 
 UnitTest ()
 
 UnitTest ()
 
virtual ~UnitTest ()
 
virtual ~UnitTest ()
 
virtual ~UnitTest ()
 
virtual ~UnitTest ()
 

Private Attributes

internal::UnitTestImplimpl_
 
internal::Mutex mutex_
 

Friends

EnvironmentAddGlobalTestEnvironment (Environment *env)
 
EnvironmentAddGlobalTestEnvironment (Environment *env)
 
EnvironmentAddGlobalTestEnvironment (Environment *env)
 
EnvironmentAddGlobalTestEnvironment (Environment *env)
 
class internal::AssertHelper
 
internal::UnitTestImplinternal::GetUnitTestImpl ()
 
internal::UnitTestImplinternal::GetUnitTestImpl ()
 
internal::UnitTestImplinternal::GetUnitTestImpl ()
 
internal::UnitTestImplinternal::GetUnitTestImpl ()
 
void internal::ReportFailureInUnknownLocation (TestPartResult::Type result_type, const std::string &message)
 
void internal::ReportFailureInUnknownLocation (TestPartResult::Type result_type, const std::string &message)
 
void internal::ReportFailureInUnknownLocation (TestPartResult::Type result_type, const std::string &message)
 
void internal::ReportFailureInUnknownLocation (TestPartResult::Type result_type, const std::string &message)
 
class internal::ScopedTrace
 
class internal::StreamingListenerTest
 
class internal::UnitTestRecordPropertyTestHelper
 
class Test
 

Detailed Description

Definition at line 19741 of file gmock/fused-src/gtest/gtest.h.

Constructor & Destructor Documentation

testing::UnitTest::UnitTest ( )
private

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

testing::UnitTest::~UnitTest ( )
privatevirtual

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

testing::UnitTest::UnitTest ( )
private
virtual testing::UnitTest::~UnitTest ( )
privatevirtual
testing::UnitTest::UnitTest ( )
private
virtual testing::UnitTest::~UnitTest ( )
privatevirtual
testing::UnitTest::UnitTest ( )
private
virtual testing::UnitTest::~UnitTest ( )
privatevirtual

Member Function Documentation

const TestResult& testing::UnitTest::ad_hoc_test_result ( ) const
const TestResult& testing::UnitTest::ad_hoc_test_result ( ) const
const TestResult & testing::UnitTest::ad_hoc_test_result ( ) const

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

const TestResult& testing::UnitTest::ad_hoc_test_result ( ) const
Environment* testing::UnitTest::AddEnvironment ( Environment env)
private
Environment* testing::UnitTest::AddEnvironment ( Environment env)
private
Environment * testing::UnitTest::AddEnvironment ( Environment env)
private

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

Environment* testing::UnitTest::AddEnvironment ( Environment env)
private
void testing::UnitTest::AddTestPartResult ( TestPartResult::Type  result_type,
const char *  file_name,
int  line_number,
const std::string &  message,
const std::string &  os_stack_trace 
)
private
void testing::UnitTest::AddTestPartResult ( TestPartResult::Type  result_type,
const char *  file_name,
int  line_number,
const std::string &  message,
const std::string &  os_stack_trace 
)
private
void testing::UnitTest::AddTestPartResult ( TestPartResult::Type  result_type,
const char *  file_name,
int  line_number,
const std::string &  message,
const std::string &  os_stack_trace 
)
private

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

void testing::UnitTest::AddTestPartResult ( TestPartResult::Type  result_type,
const char *  file_name,
int  line_number,
const std::string &  message,
const std::string &  os_stack_trace 
)
private
const TestCase* testing::UnitTest::current_test_case ( ) const
const TestCase* testing::UnitTest::current_test_case ( ) const
const TestCase* testing::UnitTest::current_test_case ( ) const
const TestCase * testing::UnitTest::current_test_case ( ) const

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

const TestInfo* testing::UnitTest::current_test_info ( ) const
const TestInfo* testing::UnitTest::current_test_info ( ) const
const TestInfo * testing::UnitTest::current_test_info ( ) const

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

const TestInfo* testing::UnitTest::current_test_info ( ) const
int testing::UnitTest::disabled_test_count ( ) const
int testing::UnitTest::disabled_test_count ( ) const
int testing::UnitTest::disabled_test_count ( ) const
int testing::UnitTest::disabled_test_count ( ) const

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

TimeInMillis testing::UnitTest::elapsed_time ( ) const
TimeInMillis testing::UnitTest::elapsed_time ( ) const
internal::TimeInMillis testing::UnitTest::elapsed_time ( ) const

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

TimeInMillis testing::UnitTest::elapsed_time ( ) const
bool testing::UnitTest::Failed ( ) const
bool testing::UnitTest::Failed ( ) const
bool testing::UnitTest::Failed ( ) const

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

bool testing::UnitTest::Failed ( ) const
int testing::UnitTest::failed_test_case_count ( ) const
int testing::UnitTest::failed_test_case_count ( ) const
int testing::UnitTest::failed_test_case_count ( ) const

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

int testing::UnitTest::failed_test_case_count ( ) const
int testing::UnitTest::failed_test_count ( ) const
int testing::UnitTest::failed_test_count ( ) const
int testing::UnitTest::failed_test_count ( ) const
int testing::UnitTest::failed_test_count ( ) const

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

static UnitTest* testing::UnitTest::GetInstance ( )
static
static UnitTest* testing::UnitTest::GetInstance ( )
static
static UnitTest* testing::UnitTest::GetInstance ( )
static
UnitTest * testing::UnitTest::GetInstance ( )
static

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

TestCase* testing::UnitTest::GetMutableTestCase ( int  i)
private
TestCase* testing::UnitTest::GetMutableTestCase ( int  i)
private
TestCase * testing::UnitTest::GetMutableTestCase ( int  i)
private

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

TestCase* testing::UnitTest::GetMutableTestCase ( int  i)
private
const TestCase* testing::UnitTest::GetTestCase ( int  i) const
const TestCase* testing::UnitTest::GetTestCase ( int  i) const
const TestCase * testing::UnitTest::GetTestCase ( int  i) const

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

const TestCase* testing::UnitTest::GetTestCase ( int  i) const
testing::UnitTest::GTEST_DISALLOW_COPY_AND_ASSIGN_ ( UnitTest  )
private
testing::UnitTest::GTEST_DISALLOW_COPY_AND_ASSIGN_ ( UnitTest  )
private
testing::UnitTest::GTEST_DISALLOW_COPY_AND_ASSIGN_ ( UnitTest  )
private
testing::UnitTest::GTEST_DISALLOW_COPY_AND_ASSIGN_ ( UnitTest  )
private
internal::UnitTestImpl* testing::UnitTest::impl ( )
inlineprivate

Definition at line 1298 of file gtest/include/gtest/gtest.h.

internal::UnitTestImpl* testing::UnitTest::impl ( )
inlineprivate

Definition at line 1298 of file gmock/gtest/include/gtest/gtest.h.

const internal::UnitTestImpl* testing::UnitTest::impl ( ) const
inlineprivate

Definition at line 1299 of file gtest/include/gtest/gtest.h.

const internal::UnitTestImpl* testing::UnitTest::impl ( ) const
inlineprivate

Definition at line 1299 of file gmock/gtest/include/gtest/gtest.h.

internal::UnitTestImpl* testing::UnitTest::impl ( )
inlineprivate

Definition at line 19878 of file gmock/gtest/fused-src/gtest/gtest.h.

internal::UnitTestImpl* testing::UnitTest::impl ( )
inlineprivate

Definition at line 19878 of file gmock/fused-src/gtest/gtest.h.

const internal::UnitTestImpl* testing::UnitTest::impl ( ) const
inlineprivate

Definition at line 19879 of file gmock/gtest/fused-src/gtest/gtest.h.

const internal::UnitTestImpl* testing::UnitTest::impl ( ) const
inlineprivate

Definition at line 19879 of file gmock/fused-src/gtest/gtest.h.

TestEventListeners& testing::UnitTest::listeners ( )
TestEventListeners& testing::UnitTest::listeners ( )
TestEventListeners & testing::UnitTest::listeners ( )

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

TestEventListeners& testing::UnitTest::listeners ( )
const char* testing::UnitTest::original_working_dir ( ) const
const char* testing::UnitTest::original_working_dir ( ) const
const char* testing::UnitTest::original_working_dir ( ) const
const char * testing::UnitTest::original_working_dir ( ) const

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

internal::ParameterizedTestCaseRegistry& testing::UnitTest::parameterized_test_registry ( )
internal::ParameterizedTestCaseRegistry & testing::UnitTest::parameterized_test_registry ( )

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

bool testing::UnitTest::Passed ( ) const
bool testing::UnitTest::Passed ( ) const
bool testing::UnitTest::Passed ( ) const

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

bool testing::UnitTest::Passed ( ) const
void testing::UnitTest::PopGTestTrace ( )
private
void testing::UnitTest::PopGTestTrace ( )
private
void testing::UnitTest::PopGTestTrace ( )
private
void testing::UnitTest::PopGTestTrace ( )
private

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

void testing::UnitTest::PushGTestTrace ( const internal::TraceInfo trace)
private
void testing::UnitTest::PushGTestTrace ( const internal::TraceInfo trace)
private
void testing::UnitTest::PushGTestTrace ( const internal::TraceInfo trace)
private

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

void testing::UnitTest::PushGTestTrace ( const internal::TraceInfo trace)
private
int testing::UnitTest::random_seed ( ) const
int testing::UnitTest::random_seed ( ) const
int testing::UnitTest::random_seed ( ) const
int testing::UnitTest::random_seed ( ) const

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

void testing::UnitTest::RecordProperty ( const std::string &  key,
const std::string &  value 
)
private
void testing::UnitTest::RecordProperty ( const std::string &  key,
const std::string &  value 
)
private
void testing::UnitTest::RecordProperty ( const std::string &  key,
const std::string &  value 
)
private
void testing::UnitTest::RecordProperty ( const std::string &  key,
const std::string &  value 
)
private

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

int testing::UnitTest::reportable_disabled_test_count ( ) const
int testing::UnitTest::reportable_disabled_test_count ( ) const
int testing::UnitTest::reportable_disabled_test_count ( ) const

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

int testing::UnitTest::reportable_disabled_test_count ( ) const
int testing::UnitTest::reportable_test_count ( ) const
int testing::UnitTest::reportable_test_count ( ) const
int testing::UnitTest::reportable_test_count ( ) const
int testing::UnitTest::reportable_test_count ( ) const

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

int testing::UnitTest::Run ( )
int testing::UnitTest::Run ( )
int testing::UnitTest::Run ( )

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

int testing::UnitTest::Run ( )
TimeInMillis testing::UnitTest::start_timestamp ( ) const
TimeInMillis testing::UnitTest::start_timestamp ( ) const
internal::TimeInMillis testing::UnitTest::start_timestamp ( ) const

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

TimeInMillis testing::UnitTest::start_timestamp ( ) const
int testing::UnitTest::successful_test_case_count ( ) const
int testing::UnitTest::successful_test_case_count ( ) const
int testing::UnitTest::successful_test_case_count ( ) const
int testing::UnitTest::successful_test_case_count ( ) const

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

int testing::UnitTest::successful_test_count ( ) const
int testing::UnitTest::successful_test_count ( ) const
int testing::UnitTest::successful_test_count ( ) const

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

int testing::UnitTest::successful_test_count ( ) const
int testing::UnitTest::test_case_to_run_count ( ) const
int testing::UnitTest::test_case_to_run_count ( ) const
int testing::UnitTest::test_case_to_run_count ( ) const

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

int testing::UnitTest::test_case_to_run_count ( ) const
int testing::UnitTest::test_to_run_count ( ) const
int testing::UnitTest::test_to_run_count ( ) const
int testing::UnitTest::test_to_run_count ( ) const
int testing::UnitTest::test_to_run_count ( ) const

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

int testing::UnitTest::total_test_case_count ( ) const
int testing::UnitTest::total_test_case_count ( ) const
int testing::UnitTest::total_test_case_count ( ) const

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

int testing::UnitTest::total_test_case_count ( ) const
int testing::UnitTest::total_test_count ( ) const
int testing::UnitTest::total_test_count ( ) const
int testing::UnitTest::total_test_count ( ) const

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

int testing::UnitTest::total_test_count ( ) const

Friends And Related Function Documentation

Environment* AddGlobalTestEnvironment ( Environment env)
friend

Definition at line 19941 of file gmock/fused-src/gtest/gtest.h.

Environment* AddGlobalTestEnvironment ( Environment env)
friend

Definition at line 19941 of file gmock/fused-src/gtest/gtest.h.

Environment* AddGlobalTestEnvironment ( Environment env)
friend

Definition at line 19941 of file gmock/fused-src/gtest/gtest.h.

Environment* AddGlobalTestEnvironment ( Environment env)
friend

Definition at line 19941 of file gmock/fused-src/gtest/gtest.h.

Definition at line 19884 of file gmock/fused-src/gtest/gtest.h.

void internal::ReportFailureInUnknownLocation ( TestPartResult::Type  result_type,
const std::string &  message 
)
friend
void internal::ReportFailureInUnknownLocation ( TestPartResult::Type  result_type,
const std::string &  message 
)
friend
void internal::ReportFailureInUnknownLocation ( TestPartResult::Type  result_type,
const std::string &  message 
)
friend
void internal::ReportFailureInUnknownLocation ( TestPartResult::Type  result_type,
const std::string &  message 
)
friend

Definition at line 19885 of file gmock/fused-src/gtest/gtest.h.

internal::StreamingListenerTest
friend

Definition at line 19886 of file gmock/fused-src/gtest/gtest.h.

Definition at line 19887 of file gmock/fused-src/gtest/gtest.h.

Test
friend

Definition at line 19883 of file gmock/fused-src/gtest/gtest.h.

Member Data Documentation

internal::UnitTestImpl * testing::UnitTest::impl_
private

Definition at line 19917 of file gmock/fused-src/gtest/gtest.h.

internal::Mutex testing::UnitTest::mutex_
mutableprivate

Definition at line 19911 of file gmock/fused-src/gtest/gtest.h.


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


ros_opcua_impl_freeopcua
Author(s): Denis Štogl
autogenerated on Tue Jan 19 2021 03:12:10