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 371 of file gtest.h.

Member Typedef Documentation

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

Definition at line 377 of file gtest.h.

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

Definition at line 378 of file gtest.h.

Constructor & Destructor Documentation

Test::~Test ( )
virtual

Definition at line 2182 of file gtest.cc.

Test::Test ( )
protected

Definition at line 2177 of file gtest.cc.

Member Function Documentation

void testing::Test::DeleteSelf_ ( )
inlineprivate

Definition at line 453 of file gtest.h.

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

Definition at line 407 of file gtest.h.

bool Test::HasFatalFailure ( )
static

Definition at line 2449 of file gtest.cc.

bool Test::HasNonfatalFailure ( )
static

Definition at line 2454 of file gtest.cc.

bool Test::HasSameFixtureClass ( )
staticprivate

Definition at line 2231 of file gtest.cc.

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

Definition at line 2199 of file gtest.cc.

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

Definition at line 2204 of file gtest.cc.

void Test::Run ( )
private

Definition at line 2427 of file gtest.cc.

void Test::SetUp ( )
protectedvirtual
virtual Setup_should_be_spelled_SetUp* testing::Test::Setup ( )
inlineprivatevirtual

Definition at line 475 of file gtest.h.

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

Definition at line 389 of file gtest.h.

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

Definition at line 397 of file gtest.h.

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

Friends And Related Function Documentation

friend class TestInfo
friend

Definition at line 373 of file gtest.h.

Member Data Documentation

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

Definition at line 456 of file gtest.h.


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


rc_tagdetect_client
Author(s): Monika Florek-Jasinska , Raphael Schaller
autogenerated on Sat Feb 13 2021 03:42:18