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

Protected Member Functions

 FatalFailureInFixtureConstructorTest ()
 
 ~FatalFailureInFixtureConstructorTest ()
 
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 384 of file gtest_output_test_.cc.

Constructor & Destructor Documentation

◆ FatalFailureInFixtureConstructorTest()

FatalFailureInFixtureConstructorTest::FatalFailureInFixtureConstructorTest ( )
inlineprotected

Definition at line 386 of file gtest_output_test_.cc.

386 {
387 printf("(expecting 2 failures)\n");
388 Init();
389 }
LOGGING_API void printf(Category category, const char *format,...)
Definition Logging.cpp:30
Definition lib.h:54

◆ ~FatalFailureInFixtureConstructorTest()

FatalFailureInFixtureConstructorTest::~FatalFailureInFixtureConstructorTest ( )
inlineprotected

Definition at line 391 of file gtest_output_test_.cc.

391 {
392 ADD_FAILURE() << "Expected failure #2, in the test fixture d'tor.";
393 }
#define ADD_FAILURE()
Definition gtest.h:1844

Member Function Documentation

◆ SetUp()

virtual void FatalFailureInFixtureConstructorTest::SetUp ( )
inlineprotectedvirtual

Reimplemented from testing::Test.

Definition at line 395 of file gtest_output_test_.cc.

395 {
396 ADD_FAILURE() << "UNEXPECTED failure in SetUp(). "
397 << "We should never get here, as the test fixture c'tor "
398 << "had a fatal failure.";
399 }

◆ TearDown()

virtual void FatalFailureInFixtureConstructorTest::TearDown ( )
inlineprotectedvirtual

Reimplemented from testing::Test.

Definition at line 401 of file gtest_output_test_.cc.

401 {
402 ADD_FAILURE() << "UNEXPECTED failure in TearDown(). "
403 << "We should never get here, as the test fixture c'tor "
404 << "had a fatal failure.";
405 }

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