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

Protected Member Functions

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

Constructor & Destructor Documentation

◆ NonFatalFailureInFixtureConstructorTest()

NonFatalFailureInFixtureConstructorTest::NonFatalFailureInFixtureConstructorTest ( )
inlineprotected

Definition at line 361 of file gtest_output_test_.cc.

361 {
362 printf("(expecting 5 failures)\n");
363 ADD_FAILURE() << "Expected failure #1, in the test fixture c'tor.";
364 }
#define ADD_FAILURE()
Definition gtest.h:1844
LOGGING_API void printf(Category category, const char *format,...)
Definition Logging.cpp:30

◆ ~NonFatalFailureInFixtureConstructorTest()

NonFatalFailureInFixtureConstructorTest::~NonFatalFailureInFixtureConstructorTest ( )
inlineprotected

Definition at line 366 of file gtest_output_test_.cc.

366 {
367 ADD_FAILURE() << "Expected failure #5, in the test fixture d'tor.";
368 }

Member Function Documentation

◆ SetUp()

virtual void NonFatalFailureInFixtureConstructorTest::SetUp ( )
inlineprotectedvirtual

Reimplemented from testing::Test.

Definition at line 370 of file gtest_output_test_.cc.

370 {
371 ADD_FAILURE() << "Expected failure #2, in SetUp().";
372 }

◆ TearDown()

virtual void NonFatalFailureInFixtureConstructorTest::TearDown ( )
inlineprotectedvirtual

Reimplemented from testing::Test.

Definition at line 374 of file gtest_output_test_.cc.

374 {
375 ADD_FAILURE() << "Expected failure #4, in TearDown.";
376 }

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