tesseract v5.3.3.20231005
testing::CurrentTestInfoTest Class Reference
Inheritance diagram for testing::CurrentTestInfoTest:
testing::Test

Static Protected Member Functions

static void SetUpTestSuite ()
 
static void TearDownTestSuite ()
 

Additional Inherited Members

- Public Member Functions inherited from testing::Test
virtual ~Test ()
 
- Static Public Member Functions inherited from testing::Test
static void SetUpTestSuite ()
 
static void TearDownTestSuite ()
 
static void TearDownTestCase ()
 
static void SetUpTestCase ()
 
static bool HasFatalFailure ()
 
static bool HasNonfatalFailure ()
 
static bool IsSkipped ()
 
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 inherited from testing::Test
 Test ()
 
virtual void SetUp ()
 
virtual void TearDown ()
 

Detailed Description

Definition at line 6378 of file gtest_unittest.cc.

Member Function Documentation

◆ SetUpTestSuite()

static void testing::CurrentTestInfoTest::SetUpTestSuite ( )
inlinestaticprotected

Definition at line 6382 of file gtest_unittest.cc.

6382 {
6383 // There should be no tests running at this point.
6384 const TestInfo* test_info =
6386 EXPECT_TRUE(test_info == nullptr)
6387 << "There should be no tests running at this point.";
6388 }
#define EXPECT_TRUE(condition)
Definition: gtest.h:1982
const TestInfo * current_test_info() const GTEST_LOCK_EXCLUDED_(mutex_)
Definition: gtest.cc:5469
static UnitTest * GetInstance()
Definition: gtest.cc:5123

◆ TearDownTestSuite()

static void testing::CurrentTestInfoTest::TearDownTestSuite ( )
inlinestaticprotected

Definition at line 6392 of file gtest_unittest.cc.

6392 {
6393 const TestInfo* test_info =
6395 EXPECT_TRUE(test_info == nullptr)
6396 << "There should be no tests running at this point.";
6397 }

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