GrPPI  1.0
Generic and Reusable Parallel Pattern Interface
Public Member Functions | Static Public Member Functions | Friends | List of all members
testing::UnitTest Class Reference

#include <gtest.h>

Public Member Functions

int Run () GTEST_MUST_USE_RESULT_
 
const char * original_working_dir () const
 
const TestSuitecurrent_test_suite () const GTEST_LOCK_EXCLUDED_(mutex_)
 
const TestCase * current_test_case () const GTEST_LOCK_EXCLUDED_(mutex_)
 
const TestInfocurrent_test_info () const GTEST_LOCK_EXCLUDED_(mutex_)
 
int random_seed () const
 
internal::ParameterizedTestSuiteRegistryparameterized_test_registry () GTEST_LOCK_EXCLUDED_(mutex_)
 
int successful_test_suite_count () const
 
int failed_test_suite_count () const
 
int total_test_suite_count () const
 
int test_suite_to_run_count () const
 
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 skipped_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 TestSuiteGetTestSuite (int i) const
 
const TestCase * GetTestCase (int i) const
 
const TestResultad_hoc_test_result () const
 
TestEventListenerslisteners ()
 
int Run () GTEST_MUST_USE_RESULT_
 
const char * original_working_dir () const
 
const TestSuitecurrent_test_suite () const GTEST_LOCK_EXCLUDED_(mutex_)
 
const TestCase * current_test_case () const GTEST_LOCK_EXCLUDED_(mutex_)
 
const TestInfocurrent_test_info () const GTEST_LOCK_EXCLUDED_(mutex_)
 
int random_seed () const
 
internal::ParameterizedTestSuiteRegistryparameterized_test_registry () GTEST_LOCK_EXCLUDED_(mutex_)
 
int successful_test_suite_count () const
 
int failed_test_suite_count () const
 
int total_test_suite_count () const
 
int test_suite_to_run_count () const
 
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 skipped_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 TestSuiteGetTestSuite (int i) const
 
const TestCase * GetTestCase (int i) const
 
const TestResultad_hoc_test_result () const
 
TestEventListenerslisteners ()
 

Static Public Member Functions

static UnitTestGetInstance ()
 
static UnitTestGetInstance ()
 

Friends

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

Member Function Documentation

◆ ad_hoc_test_result() [1/2]

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

◆ ad_hoc_test_result() [2/2]

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

◆ current_test_case() [1/2]

const TestCase* testing::UnitTest::current_test_case ( ) const

◆ current_test_case() [2/2]

const TestCase* testing::UnitTest::current_test_case ( ) const

◆ current_test_info() [1/2]

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

◆ current_test_info() [2/2]

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

◆ current_test_suite() [1/2]

const TestSuite* testing::UnitTest::current_test_suite ( ) const

◆ current_test_suite() [2/2]

const TestSuite* testing::UnitTest::current_test_suite ( ) const

◆ disabled_test_count() [1/2]

int testing::UnitTest::disabled_test_count ( ) const

◆ disabled_test_count() [2/2]

int testing::UnitTest::disabled_test_count ( ) const

◆ elapsed_time() [1/2]

TimeInMillis testing::UnitTest::elapsed_time ( ) const

◆ elapsed_time() [2/2]

TimeInMillis testing::UnitTest::elapsed_time ( ) const

◆ Failed() [1/2]

bool testing::UnitTest::Failed ( ) const

◆ Failed() [2/2]

bool testing::UnitTest::Failed ( ) const

◆ failed_test_case_count() [1/2]

int testing::UnitTest::failed_test_case_count ( ) const

◆ failed_test_case_count() [2/2]

int testing::UnitTest::failed_test_case_count ( ) const

◆ failed_test_count() [1/2]

int testing::UnitTest::failed_test_count ( ) const

◆ failed_test_count() [2/2]

int testing::UnitTest::failed_test_count ( ) const

◆ failed_test_suite_count() [1/2]

int testing::UnitTest::failed_test_suite_count ( ) const

◆ failed_test_suite_count() [2/2]

int testing::UnitTest::failed_test_suite_count ( ) const

◆ GetInstance() [1/2]

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

◆ GetInstance() [2/2]

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

◆ GetTestCase() [1/2]

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

◆ GetTestCase() [2/2]

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

◆ GetTestSuite() [1/2]

const TestSuite* testing::UnitTest::GetTestSuite ( int  i) const

◆ GetTestSuite() [2/2]

const TestSuite* testing::UnitTest::GetTestSuite ( int  i) const

◆ listeners() [1/2]

TestEventListeners& testing::UnitTest::listeners ( )

◆ listeners() [2/2]

TestEventListeners& testing::UnitTest::listeners ( )

◆ original_working_dir() [1/2]

const char* testing::UnitTest::original_working_dir ( ) const

◆ original_working_dir() [2/2]

const char* testing::UnitTest::original_working_dir ( ) const

◆ parameterized_test_registry() [1/2]

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

◆ parameterized_test_registry() [2/2]

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

◆ Passed() [1/2]

bool testing::UnitTest::Passed ( ) const

◆ Passed() [2/2]

bool testing::UnitTest::Passed ( ) const

◆ random_seed() [1/2]

int testing::UnitTest::random_seed ( ) const

◆ random_seed() [2/2]

int testing::UnitTest::random_seed ( ) const

◆ reportable_disabled_test_count() [1/2]

int testing::UnitTest::reportable_disabled_test_count ( ) const

◆ reportable_disabled_test_count() [2/2]

int testing::UnitTest::reportable_disabled_test_count ( ) const

◆ reportable_test_count() [1/2]

int testing::UnitTest::reportable_test_count ( ) const

◆ reportable_test_count() [2/2]

int testing::UnitTest::reportable_test_count ( ) const

◆ Run() [1/2]

int testing::UnitTest::Run ( )

◆ Run() [2/2]

int testing::UnitTest::Run ( )

◆ skipped_test_count() [1/2]

int testing::UnitTest::skipped_test_count ( ) const

◆ skipped_test_count() [2/2]

int testing::UnitTest::skipped_test_count ( ) const

◆ start_timestamp() [1/2]

TimeInMillis testing::UnitTest::start_timestamp ( ) const

◆ start_timestamp() [2/2]

TimeInMillis testing::UnitTest::start_timestamp ( ) const

◆ successful_test_case_count() [1/2]

int testing::UnitTest::successful_test_case_count ( ) const

◆ successful_test_case_count() [2/2]

int testing::UnitTest::successful_test_case_count ( ) const

◆ successful_test_count() [1/2]

int testing::UnitTest::successful_test_count ( ) const

◆ successful_test_count() [2/2]

int testing::UnitTest::successful_test_count ( ) const

◆ successful_test_suite_count() [1/2]

int testing::UnitTest::successful_test_suite_count ( ) const

◆ successful_test_suite_count() [2/2]

int testing::UnitTest::successful_test_suite_count ( ) const

◆ test_case_to_run_count() [1/2]

int testing::UnitTest::test_case_to_run_count ( ) const

◆ test_case_to_run_count() [2/2]

int testing::UnitTest::test_case_to_run_count ( ) const

◆ test_suite_to_run_count() [1/2]

int testing::UnitTest::test_suite_to_run_count ( ) const

◆ test_suite_to_run_count() [2/2]

int testing::UnitTest::test_suite_to_run_count ( ) const

◆ test_to_run_count() [1/2]

int testing::UnitTest::test_to_run_count ( ) const

◆ test_to_run_count() [2/2]

int testing::UnitTest::test_to_run_count ( ) const

◆ total_test_case_count() [1/2]

int testing::UnitTest::total_test_case_count ( ) const

◆ total_test_case_count() [2/2]

int testing::UnitTest::total_test_case_count ( ) const

◆ total_test_count() [1/2]

int testing::UnitTest::total_test_count ( ) const

◆ total_test_count() [2/2]

int testing::UnitTest::total_test_count ( ) const

◆ total_test_suite_count() [1/2]

int testing::UnitTest::total_test_suite_count ( ) const

◆ total_test_suite_count() [2/2]

int testing::UnitTest::total_test_suite_count ( ) const

Friends And Related Function Documentation

◆ AddGlobalTestEnvironment [1/2]

Environment* AddGlobalTestEnvironment ( Environment env)
friend

◆ AddGlobalTestEnvironment [2/2]

Environment* AddGlobalTestEnvironment ( Environment env)
friend

◆ internal::AssertHelper

◆ internal::GetIgnoredParameterizedTestSuites [1/2]

std::set<std::string>* internal::GetIgnoredParameterizedTestSuites ( )
friend

◆ internal::GetIgnoredParameterizedTestSuites [2/2]

std::set<std::string>* internal::GetIgnoredParameterizedTestSuites ( )
friend

◆ internal::GetUnitTestImpl [1/2]

internal::UnitTestImpl* internal::GetUnitTestImpl ( )
friend

◆ internal::GetUnitTestImpl [2/2]

internal::UnitTestImpl* internal::GetUnitTestImpl ( )
friend

◆ internal::ReportFailureInUnknownLocation [1/2]

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

◆ internal::ReportFailureInUnknownLocation [2/2]

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

◆ internal::StreamingListenerTest

internal::StreamingListenerTest
friend

◆ internal::UnitTestRecordPropertyTestHelper

internal::UnitTestRecordPropertyTestHelper
friend

◆ ScopedTrace

ScopedTrace
friend

◆ Test

Test
friend

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