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

Protected Member Functions

virtual ~NonFatalFailureInSetUpTest ()
 
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 420 of file gtest_output_test_.cc.

Constructor & Destructor Documentation

◆ ~NonFatalFailureInSetUpTest()

virtual NonFatalFailureInSetUpTest::~NonFatalFailureInSetUpTest ( )
inlineprotectedvirtual

Definition at line 422 of file gtest_output_test_.cc.

422 {
423 Deinit();
424 }

Member Function Documentation

◆ SetUp()

virtual void NonFatalFailureInSetUpTest::SetUp ( )
inlineprotectedvirtual

Reimplemented from testing::Test.

Definition at line 426 of file gtest_output_test_.cc.

426 {
427 printf("(expecting 4 failures)\n");
428 ADD_FAILURE() << "Expected failure #1, in SetUp().";
429 }
#define ADD_FAILURE()
Definition gtest.h:1844
LOGGING_API void printf(Category category, const char *format,...)
Definition Logging.cpp:30

◆ TearDown()

virtual void NonFatalFailureInSetUpTest::TearDown ( )
inlineprotectedvirtual

Reimplemented from testing::Test.

Definition at line 431 of file gtest_output_test_.cc.

431 {
432 FAIL() << "Expected failure #3, in TearDown().";
433 }
#define FAIL()
Definition gtest.h:1858

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