Electroneum
Loading...
Searching...
No Matches
testing::UnitTest Class Reference

#include <gtest.h>

Public Member Functions

int Run () GTEST_MUST_USE_RESULT_
const char * original_working_dir () const
const TestCasecurrent_test_case () const GTEST_LOCK_EXCLUDED_(mutex_)
const TestInfocurrent_test_info () const GTEST_LOCK_EXCLUDED_(mutex_)
int random_seed () 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 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
const TestResultad_hoc_test_result () const
TestEventListenerslisteners ()
int Run () GTEST_MUST_USE_RESULT_
const char * original_working_dir () const
const TestCasecurrent_test_case () const GTEST_LOCK_EXCLUDED_(mutex_)
const TestInfocurrent_test_info () const GTEST_LOCK_EXCLUDED_(mutex_)
int random_seed () 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 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
const TestResultad_hoc_test_result () const
TestEventListenerslisteners ()

Static Public Member Functions

static UnitTest * GetInstance ()
static UnitTest * GetInstance ()

Friends

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

Detailed Description

Definition at line 1151 of file gtest.h.

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
Here is the call graph for this function:
Here is the caller graph for this function:

◆ current_test_case() [2/2]

const TestCase * testing::UnitTest::current_test_case ( ) const
Here is the call graph for this function:

◆ current_test_info() [1/2]

const TestInfo * testing::UnitTest::current_test_info ( ) const
Here is the call graph for this function:
Here is the caller graph for this function:

◆ current_test_info() [2/2]

const TestInfo * testing::UnitTest::current_test_info ( ) const
Here is the call graph for this function:

◆ 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

◆ GetInstance() [1/2]

UnitTest * testing::UnitTest::GetInstance ( )
static
Here is the caller graph for this function:

◆ GetInstance() [2/2]

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

◆ listeners() [1/2]

TestEventListeners & testing::UnitTest::listeners ( )
Here is the call graph for this function:

◆ listeners() [2/2]

TestEventListeners & testing::UnitTest::listeners ( )
Here is the call graph for this function:

◆ original_working_dir() [1/2]

const char * testing::UnitTest::original_working_dir ( ) const
Here is the call graph for this function:
Here is the caller graph for this function:

◆ original_working_dir() [2/2]

const char * testing::UnitTest::original_working_dir ( ) const
Here is the call graph for this function:

◆ 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
Here is the call graph for this function:
Here is the caller graph for this function:

◆ random_seed() [2/2]

int testing::UnitTest::random_seed ( ) const
Here is the call graph for this function:

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

◆ 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

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

◆ AddGlobalTestEnvironment [1/2]

Environment * AddGlobalTestEnvironment ( Environment * env)
friend

Definition at line 1350 of file gtest.h.

1350 {
1351 return UnitTest::GetInstance()->AddEnvironment(env);
1352}
static UnitTest * GetInstance()

◆ AddGlobalTestEnvironment [2/2]

Environment * AddGlobalTestEnvironment ( Environment * env)
friend

Definition at line 1350 of file gtest.h.

1350 {
1351 return UnitTest::GetInstance()->AddEnvironment(env);
1352}

◆ internal::AssertHelper

Definition at line 1293 of file gtest.h.

◆ internal::GetUnitTestImpl [1/2]

◆ internal::GetUnitTestImpl [2/2]

◆ 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::ScopedTrace

Definition at line 1294 of file gtest.h.

◆ internal::StreamingListenerTest

internal::StreamingListenerTest
friend

Definition at line 1295 of file gtest.h.

◆ internal::UnitTestRecordPropertyTestHelper

internal::UnitTestRecordPropertyTestHelper
friend

Definition at line 1296 of file gtest.h.

◆ Test

Test
friend

Definition at line 1292 of file gtest.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/include/gtest/gtest.h
  • /home/abuild/rpmbuild/BUILD/electroneum-5.1.3.1-build/electroneum-5.1.3.1/tests/gtest/include/gtest/gtest.h