Electroneum
testing::Test Class Referenceabstract

#include <gtest.h>

Inheritance diagram for testing::Test:

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

Friends

class TestInfo
 

Detailed Description

Definition at line 371 of file gtest.h.

Member Typedef Documentation

◆ SetUpTestCaseFunc [1/2]

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

Definition at line 377 of file gtest.h.

◆ SetUpTestCaseFunc [2/2]

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

Definition at line 377 of file gtest.h.

◆ TearDownTestCaseFunc [1/2]

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

Definition at line 378 of file gtest.h.

◆ TearDownTestCaseFunc [2/2]

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

Definition at line 378 of file gtest.h.

Constructor & Destructor Documentation

◆ ~Test() [1/2]

virtual testing::Test::~Test ( )
virtual

◆ Test() [1/2]

testing::Test::Test ( )
protected

◆ ~Test() [2/2]

virtual testing::Test::~Test ( )
virtual

◆ Test() [2/2]

testing::Test::Test ( )
protected

Member Function Documentation

◆ HasFailure() [1/2]

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

Definition at line 407 of file gtest.h.

407 { return HasFatalFailure() || HasNonfatalFailure(); }
static bool HasNonfatalFailure()
static bool HasFatalFailure()

◆ HasFailure() [2/2]

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

Definition at line 407 of file gtest.h.

407 { return HasFatalFailure() || HasNonfatalFailure(); }
static bool HasNonfatalFailure()
static bool HasFatalFailure()

◆ HasFatalFailure() [1/2]

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

◆ HasFatalFailure() [2/2]

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

◆ HasNonfatalFailure() [1/2]

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

◆ HasNonfatalFailure() [2/2]

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

◆ RecordProperty() [1/4]

static void testing::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]

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

◆ RecordProperty() [4/4]

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

◆ SetUp() [1/2]

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

◆ SetUp() [2/2]

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

◆ SetUpTestCase() [1/2]

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

Definition at line 389 of file gtest.h.

389 {}

◆ SetUpTestCase() [2/2]

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

Definition at line 389 of file gtest.h.

389 {}

◆ TearDown() [1/2]

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

◆ TearDown() [2/2]

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

◆ TearDownTestCase() [1/2]

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

Definition at line 397 of file gtest.h.

397 {}

◆ TearDownTestCase() [2/2]

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

Definition at line 397 of file gtest.h.

397 {}

Friends And Related Function Documentation

◆ TestInfo

TestInfo
friend

Definition at line 373 of file gtest.h.


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