Monero
Loading...
Searching...
No Matches
testing::Test Class Referenceabstract

#include <gtest.h>

Inherited by testing::gmock_matchers_test::FloatingPointTest< float >, testing::gmock_matchers_test::FloatingPointTest< double >, FooTest, CommonTest< T >, DisabledTest, EncodedStreamTest, ExpectFailureTest, FailedTest, FatalFailureInFixtureConstructorTest, FatalFailureInSetUpTest, FileStreamTest, FooTest, GMockOutputTest, NonFatalFailureInFixtureConstructorTest, NonFatalFailureInSetUpTest, Predicate1Test, Predicate2Test, Predicate3Test, Predicate4Test, Predicate5Test, PrimeTableTest< T >, PropertyOne, PropertyRecordingTest, PropertyTwo, ProtectedFixtureMethodsTest, QueueTest, QuickTest, SuccessfulTest, TEST_F_before_TEST_in_same_test_case, TEST_before_TEST_F_in_same_test_case, TypeParamTest< T >, TypedTest< T >, WalletManagerMainnetTest, WalletManagerTest, WalletSubaddress, WalletTest1, WalletTest2, bar::MixedUpTestCaseTest, bar::MixedUpTestCaseWithSameTestNameTest, bootstrap_node_selector, foo::MixedUpTestCaseTest, foo::MixedUpTestCaseWithSameTestNameTest, testing::CodeLocationForTESTF, testing::CodeLocationForTYPEDTEST< T >, testing::CodeLocationForTYPEDTESTP< T >, testing::CurrentTestInfoTest, testing::InitGoogleTestTest, testing::SetUpTestCaseTest, testing::TestInfoTest, testing::gmock_generated_function_mockers_test::FunctionMockerTest, testing::gmock_matchers_test::BacktrackingBPMTest, testing::gmock_matchers_test::FloatingPointTest< RawType >, testing::gmock_matchers_test::UnorderedElementsAreTest, testing::internal::ListenerTest, and testing::internal::UnitTestRecordPropertyTestHelper.

Collaboration diagram for testing::Test:

Classes

struct  Setup_should_be_spelled_SetUp

Public Types

typedef internal::SetUpTestCaseFunc SetUpTestCaseFunc
typedef internal::TearDownTestCaseFunc TearDownTestCaseFunc
typedef internal::SetUpTestCaseFunc SetUpTestCaseFunc
typedef internal::TearDownTestCaseFunc TearDownTestCaseFunc

Public Member Functions

virtual ~Test ()
virtual ~Test ()

Static Public Member Functions

static void SetUpTestCase ()
static void TearDownTestCase ()
static bool HasFatalFailure ()
static bool HasNonfatalFailure ()
static bool HasFailure ()
static void RecordProperty (const std::string &key, const std::string &value)
static void RecordProperty (const std::string &key, int value)
static void SetUpTestCase ()
static void TearDownTestCase ()
static bool HasFatalFailure ()
static bool HasNonfatalFailure ()
static bool HasFailure ()
static void RecordProperty (const std::string &key, const std::string &value)
static void RecordProperty (const std::string &key, int value)

Protected Member Functions

 Test ()
virtual void SetUp ()
virtual void TearDown ()
 Test ()
virtual void SetUp ()
virtual void TearDown ()

Private Member Functions

virtual void TestBody ()=0
void Run ()
void DeleteSelf_ ()
virtual Setup_should_be_spelled_SetUpSetup ()
 GTEST_DISALLOW_COPY_AND_ASSIGN_ (Test)
virtual void TestBody ()=0
void Run ()
void DeleteSelf_ ()
virtual Setup_should_be_spelled_SetUpSetup ()
 GTEST_DISALLOW_COPY_AND_ASSIGN_ (Test)

Static Private Member Functions

static bool HasSameFixtureClass ()
static bool HasSameFixtureClass ()

Private Attributes

const internal::scoped_ptr< GTEST_FLAG_SAVER_gtest_flag_saver_

Friends

class TestInfo

Member Typedef Documentation

◆ SetUpTestCaseFunc [1/2]

◆ SetUpTestCaseFunc [2/2]

◆ TearDownTestCaseFunc [1/2]

◆ TearDownTestCaseFunc [2/2]

Constructor & Destructor Documentation

◆ ~Test() [1/2]

testing::Test::~Test ( )
virtual

◆ Test() [1/2]

testing::Test::Test ( )
protected

◆ ~Test() [2/2]

virtual testing::Test::~Test ( )
virtual

◆ Test() [2/2]

testing::Test::Test ( )
protected

Member Function Documentation

◆ DeleteSelf_() [1/2]

void testing::Test::DeleteSelf_ ( )
inlineprivate

◆ DeleteSelf_() [2/2]

void testing::Test::DeleteSelf_ ( )
inlineprivate

◆ GTEST_DISALLOW_COPY_AND_ASSIGN_() [1/2]

testing::Test::GTEST_DISALLOW_COPY_AND_ASSIGN_ ( Test )
private

◆ GTEST_DISALLOW_COPY_AND_ASSIGN_() [2/2]

testing::Test::GTEST_DISALLOW_COPY_AND_ASSIGN_ ( Test )
private

◆ HasFailure() [1/2]

bool testing::Test::HasFailure ( )
inlinestatic

◆ HasFailure() [2/2]

bool testing::Test::HasFailure ( )
inlinestatic

◆ HasFatalFailure() [1/2]

bool testing::Test::HasFatalFailure ( )
static

◆ HasFatalFailure() [2/2]

bool testing::Test::HasFatalFailure ( )
static

◆ HasNonfatalFailure() [1/2]

bool testing::Test::HasNonfatalFailure ( )
static

◆ HasNonfatalFailure() [2/2]

bool testing::Test::HasNonfatalFailure ( )
static

◆ HasSameFixtureClass() [1/2]

bool testing::Test::HasSameFixtureClass ( )
staticprivate

◆ HasSameFixtureClass() [2/2]

bool testing::Test::HasSameFixtureClass ( )
staticprivate

◆ RecordProperty() [1/4]

void testing::Test::RecordProperty ( const std::string & key,
const std::string & value )
static

◆ RecordProperty() [2/4]

void testing::Test::RecordProperty ( const std::string & key,
const std::string & value )
static

◆ RecordProperty() [3/4]

void testing::Test::RecordProperty ( const std::string & key,
int value )
static

◆ RecordProperty() [4/4]

void testing::Test::RecordProperty ( const std::string & key,
int value )
static

◆ Run() [1/2]

void testing::Test::Run ( )
private

◆ Run() [2/2]

void testing::Test::Run ( )
private

◆ SetUp() [1/2]

◆ SetUp() [2/2]

◆ Setup() [1/2]

virtual Setup_should_be_spelled_SetUp * testing::Test::Setup ( )
inlineprivatevirtual

◆ Setup() [2/2]

virtual Setup_should_be_spelled_SetUp * testing::Test::Setup ( )
inlineprivatevirtual

◆ SetUpTestCase() [1/2]

void testing::Test::SetUpTestCase ( )
inlinestatic

◆ SetUpTestCase() [2/2]

void testing::Test::SetUpTestCase ( )
inlinestatic

◆ TearDown() [1/2]

◆ TearDown() [2/2]

◆ TearDownTestCase() [1/2]

void testing::Test::TearDownTestCase ( )
inlinestatic

◆ TearDownTestCase() [2/2]

void testing::Test::TearDownTestCase ( )
inlinestatic

◆ TestBody() [1/2]

virtual void testing::Test::TestBody ( )
privatepure virtual

◆ TestBody() [2/2]

virtual void testing::Test::TestBody ( )
privatepure virtual

◆ TestInfo

TestInfo
friend

Member Data Documentation

◆ gtest_flag_saver_

const internal::scoped_ptr< GTEST_FLAG_SAVER_ > testing::Test::gtest_flag_saver_
private

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