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]

Classes

struct  Setup_should_be_spelled_SetUp
 

Public Types

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

Public Member Functions

virtual ~Test ()
 

Static Public Member Functions

static bool HasFailure ()
 
static bool HasFatalFailure ()
 
static bool HasNonfatalFailure ()
 
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 ()
 

Protected Member Functions

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

Private Member Functions

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

Static Private Member Functions

static bool HasSameFixtureClass ()
 

Private Attributes

const internal::GTestFlagSaver *const gtest_flag_saver_
 

Friends

class TestInfo
 

Detailed Description

Definition at line 17760 of file gtest.h.

Member Typedef Documentation

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

Definition at line 17766 of file gtest.h.

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

Definition at line 17767 of file gtest.h.

Constructor & Destructor Documentation

testing::Test::~Test ( )
virtual

Definition at line 3380 of file gtest-all.cc.

testing::Test::Test ( )
protected

Definition at line 3375 of file gtest-all.cc.

Member Function Documentation

void testing::Test::DeleteSelf_ ( )
inlineprivate

Definition at line 17842 of file gtest.h.

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

Definition at line 17796 of file gtest.h.

bool testing::Test::HasFatalFailure ( )
static

Definition at line 3647 of file gtest-all.cc.

bool testing::Test::HasNonfatalFailure ( )
static

Definition at line 3652 of file gtest-all.cc.

bool testing::Test::HasSameFixtureClass ( )
staticprivate

Definition at line 3429 of file gtest-all.cc.

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

Definition at line 3397 of file gtest-all.cc.

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

Definition at line 3402 of file gtest-all.cc.

void testing::Test::Run ( )
private

Definition at line 3625 of file gtest-all.cc.

void testing::Test::SetUp ( )
protectedvirtual

Definition at line 3387 of file gtest-all.cc.

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

Definition at line 17864 of file gtest.h.

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

Definition at line 17778 of file gtest.h.

void testing::Test::TearDown ( )
protectedvirtual

Definition at line 3393 of file gtest-all.cc.

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

Definition at line 17786 of file gtest.h.

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

Friends And Related Function Documentation

friend class TestInfo
friend

Definition at line 17762 of file gtest.h.

Member Data Documentation

const internal::GTestFlagSaver* const testing::Test::gtest_flag_saver_
private

Definition at line 17845 of file gtest.h.


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


diagnostic_aggregator
Author(s): Kevin Watts, Brice Rebsamen
autogenerated on Thu Oct 8 2020 03:19:28