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

Member Typedef Documentation

◆ SetUpTestCaseFunc

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

Definition at line 353 of file gtest.h.

◆ TearDownTestCaseFunc

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

Definition at line 354 of file gtest.h.

Constructor & Destructor Documentation

◆ ~Test()

testing::Test::~Test ( )
virtual

Definition at line 1899 of file gtest.cc.

◆ Test()

testing::Test::Test ( )
protected

Definition at line 1894 of file gtest.cc.

Member Function Documentation

◆ DeleteSelf_()

void testing::Test::DeleteSelf_ ( )
inlineprivate

Definition at line 429 of file gtest.h.

◆ GTEST_DISALLOW_COPY_AND_ASSIGN_()

testing::Test::GTEST_DISALLOW_COPY_AND_ASSIGN_ ( Test  )
private

◆ HasFailure()

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

Definition at line 383 of file gtest.h.

◆ HasFatalFailure()

bool testing::Test::HasFatalFailure ( )
static

Definition at line 2166 of file gtest.cc.

◆ HasNonfatalFailure()

bool testing::Test::HasNonfatalFailure ( )
static

Definition at line 2171 of file gtest.cc.

◆ HasSameFixtureClass()

bool testing::Test::HasSameFixtureClass ( )
staticprivate

Definition at line 1948 of file gtest.cc.

◆ RecordProperty() [1/2]

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

Definition at line 1916 of file gtest.cc.

◆ RecordProperty() [2/2]

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

Definition at line 1921 of file gtest.cc.

◆ Run()

void testing::Test::Run ( )
private

Definition at line 2144 of file gtest.cc.

◆ SetUp()

void testing::Test::SetUp ( )
protectedvirtual

Reimplemented in fcl::detail::ExtractClosestPoint.

Definition at line 1906 of file gtest.cc.

◆ Setup()

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

Definition at line 451 of file gtest.h.

◆ SetUpTestCase()

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

Definition at line 365 of file gtest.h.

◆ TearDown()

void testing::Test::TearDown ( )
protectedvirtual

Definition at line 1912 of file gtest.cc.

◆ TearDownTestCase()

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

Definition at line 373 of file gtest.h.

◆ TestBody()

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

Friends And Related Function Documentation

◆ TestInfo

friend class TestInfo
friend

Definition at line 349 of file gtest.h.

Member Data Documentation

◆ gtest_flag_saver_

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

Definition at line 432 of file gtest.h.


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


fcl
Author(s):
autogenerated on Sat Jan 2 2021 03:39:23