Monero
Loading...
Searching...
No Matches
Classes | Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | Friends | List of all members
testing::Test Class Referenceabstract

#include <gtest.h>

Inheritance diagram for testing::Test:
Inheritance graph
[legend]
Collaboration diagram for testing::Test:
Collaboration graph
[legend]

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]

typedef internal::SetUpTestCaseFunc testing::Test::SetUpTestCaseFunc

◆ SetUpTestCaseFunc [2/2]

typedef internal::SetUpTestCaseFunc testing::Test::SetUpTestCaseFunc

◆ TearDownTestCaseFunc [1/2]

typedef internal::TearDownTestCaseFunc testing::Test::TearDownTestCaseFunc

◆ TearDownTestCaseFunc [2/2]

typedef internal::TearDownTestCaseFunc testing::Test::TearDownTestCaseFunc

Constructor & Destructor Documentation

◆ ~Test() [1/2]

Test::~Test ( )
virtual

◆ Test() [1/2]

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]

static bool testing::Test::HasFailure ( )
inlinestatic

◆ HasFailure() [2/2]

static bool testing::Test::HasFailure ( )
inlinestatic

◆ HasFatalFailure() [1/2]

bool Test::HasFatalFailure ( )
static

◆ HasFatalFailure() [2/2]

static bool testing::Test::HasFatalFailure ( )
static

◆ HasNonfatalFailure() [1/2]

bool Test::HasNonfatalFailure ( )
static

◆ HasNonfatalFailure() [2/2]

static bool testing::Test::HasNonfatalFailure ( )
static

◆ HasSameFixtureClass() [1/2]

bool Test::HasSameFixtureClass ( )
staticprivate

◆ HasSameFixtureClass() [2/2]

static bool testing::Test::HasSameFixtureClass ( )
staticprivate

◆ RecordProperty() [1/4]

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

◆ RecordProperty() [2/4]

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

◆ RecordProperty() [3/4]

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

◆ RecordProperty() [4/4]

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

◆ Run() [1/2]

void Test::Run ( )
private

◆ Run() [2/2]

void testing::Test::Run ( )
private

◆ SetUp() [1/2]

void Test::SetUp ( )
protectedvirtual

◆ Setup() [1/2]

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

◆ SetUp() [2/2]

virtual void testing::Test::SetUp ( )
protectedvirtual

◆ Setup() [2/2]

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

◆ SetUpTestCase() [1/2]

static void testing::Test::SetUpTestCase ( )
inlinestatic

◆ SetUpTestCase() [2/2]

static void testing::Test::SetUpTestCase ( )
inlinestatic

◆ TearDown() [1/2]

void Test::TearDown ( )
protectedvirtual

◆ TearDown() [2/2]

virtual void testing::Test::TearDown ( )
protectedvirtual

◆ TearDownTestCase() [1/2]

static void testing::Test::TearDownTestCase ( )
inlinestatic

◆ TearDownTestCase() [2/2]

static 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

Friends And Related Symbol Documentation

◆ TestInfo

TestInfo
friend

Member Data Documentation

◆ gtest_flag_saver_

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

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