Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
FatalFailureInSetUpTest Class Reference
Inheritance diagram for FatalFailureInSetUpTest:
Collaboration diagram for FatalFailureInSetUpTest:

Protected Member Functions

virtual ~FatalFailureInSetUpTest ()
 
virtual void SetUp ()
 
virtual void TearDown ()
 
- Protected Member Functions inherited from testing::Test
 Test ()
 

Additional Inherited Members

- Public Types inherited from testing::Test
typedef internal::SetUpTestCaseFunc SetUpTestCaseFunc
 
typedef internal::TearDownTestCaseFunc TearDownTestCaseFunc
 
- Public Member Functions inherited from testing::Test
virtual ~Test ()
 
- Static Public Member Functions inherited from testing::Test
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)
 

Detailed Description

Definition at line 445 of file gtest_output_test_.cc.

Constructor & Destructor Documentation

◆ ~FatalFailureInSetUpTest()

virtual FatalFailureInSetUpTest::~FatalFailureInSetUpTest ( )
inlineprotectedvirtual

Definition at line 447 of file gtest_output_test_.cc.

447 {
448 Deinit();
449 }

Member Function Documentation

◆ SetUp()

virtual void FatalFailureInSetUpTest::SetUp ( )
inlineprotectedvirtual

Reimplemented from testing::Test.

Definition at line 451 of file gtest_output_test_.cc.

451 {
452 printf("(expecting 3 failures)\n");
453 FAIL() << "Expected failure #1, in SetUp().";
454 }
#define FAIL()
Definition gtest.h:1858
LOGGING_API void printf(Category category, const char *format,...)
Definition Logging.cpp:30

◆ TearDown()

virtual void FatalFailureInSetUpTest::TearDown ( )
inlineprotectedvirtual

Reimplemented from testing::Test.

Definition at line 456 of file gtest_output_test_.cc.

456 {
457 FAIL() << "Expected failure #2, in TearDown().";
458 }

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