Classes | Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | Friends
testing::Test Class Reference

#include <gtest.h>

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

List of all members.

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_SetUp
Setup ()
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

Definition at line 17766 of file gtest.h.

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_ ( ) [inline, private]

Definition at line 17842 of file gtest.h.

static bool testing::Test::HasFailure ( ) [inline, static]

Definition at line 17796 of file gtest.h.

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

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

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

bool testing::Test::HasSameFixtureClass ( ) [static, private]

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 ( ) [protected, virtual]

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

virtual Setup_should_be_spelled_SetUp* testing::Test::Setup ( ) [inline, private, virtual]

Definition at line 17864 of file gtest.h.

static void testing::Test::SetUpTestCase ( ) [inline, static]

Definition at line 17778 of file gtest.h.

void testing::Test::TearDown ( ) [protected, virtual]

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

static void testing::Test::TearDownTestCase ( ) [inline, static]

Definition at line 17786 of file gtest.h.

virtual void testing::Test::TestBody ( ) [private, pure virtual]

Friends And Related Function Documentation

friend class TestInfo [friend]

Definition at line 17762 of file gtest.h.


Member Data Documentation

Definition at line 17845 of file gtest.h.


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


self_test
Author(s): Kevin Watts, Brice Rebsamen , Jeremy Leibs and Blaise Gassend
autogenerated on Tue Mar 26 2019 03:09:49