proxygen
testing::CurrentTestInfoTest Class Reference
Inheritance diagram for testing::CurrentTestInfoTest:
testing::Test testing::Test testing::Test

Static Protected Member Functions

static void SetUpTestCase ()
 
static void TearDownTestCase ()
 
static void SetUpTestCase ()
 
static void TearDownTestCase ()
 
static void SetUpTestCase ()
 
static void TearDownTestCase ()
 

Additional Inherited Members

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

Detailed Description

Definition at line 6509 of file gtest_unittest.cc.

Member Function Documentation

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

Definition at line 6513 of file gtest_unittest.cc.

References testing::UnitTest::current_test_info(), EXPECT_TRUE, and testing::UnitTest::GetInstance().

6513  {
6514  // There should be no tests running at this point.
6515  const TestInfo* test_info =
6517  EXPECT_TRUE(test_info == NULL)
6518  << "There should be no tests running at this point.";
6519  }
const TestInfo * current_test_info() const GTEST_LOCK_EXCLUDED_(mutex_)
Definition: gtest.cc:4279
#define EXPECT_TRUE(condition)
Definition: gtest.h:1859
static UnitTest * GetInstance()
Definition: gtest.cc:3972
static void testing::CurrentTestInfoTest::SetUpTestCase ( )
inlinestaticprotected

Definition at line 6513 of file gtest_unittest.cc.

References testing::UnitTest::current_test_info(), EXPECT_TRUE, and testing::UnitTest::GetInstance().

6513  {
6514  // There should be no tests running at this point.
6515  const TestInfo* test_info =
6517  EXPECT_TRUE(test_info == NULL)
6518  << "There should be no tests running at this point.";
6519  }
const TestInfo * current_test_info() const GTEST_LOCK_EXCLUDED_(mutex_)
Definition: gtest.cc:4279
#define EXPECT_TRUE(condition)
Definition: gtest.h:1859
static UnitTest * GetInstance()
Definition: gtest.cc:3972
static void testing::CurrentTestInfoTest::SetUpTestCase ( )
inlinestaticprotected

Definition at line 6513 of file gtest_unittest.cc.

References testing::UnitTest::current_test_info(), EXPECT_TRUE, and testing::UnitTest::GetInstance().

6513  {
6514  // There should be no tests running at this point.
6515  const TestInfo* test_info =
6517  EXPECT_TRUE(test_info == NULL)
6518  << "There should be no tests running at this point.";
6519  }
const TestInfo * current_test_info() const GTEST_LOCK_EXCLUDED_(mutex_)
Definition: gtest.cc:4279
#define EXPECT_TRUE(condition)
Definition: gtest.h:1859
static UnitTest * GetInstance()
Definition: gtest.cc:3972
static void testing::CurrentTestInfoTest::TearDownTestCase ( )
inlinestaticprotected

Definition at line 6523 of file gtest_unittest.cc.

References ASSERT_TRUE, testing::UnitTest::current_test_info(), EXPECT_EQ, EXPECT_FATAL_FAILURE, EXPECT_STREQ, EXPECT_TRUE, FAIL, testing::UnitTest::GetInstance(), testing::TestInfo::name(), testing::internal::TEST(), testing::TestInfo::test_case_name(), and testing::internal::TEST_F().

6523  {
6524  const TestInfo* test_info =
6526  EXPECT_TRUE(test_info == NULL)
6527  << "There should be no tests running at this point.";
6528  }
const TestInfo * current_test_info() const GTEST_LOCK_EXCLUDED_(mutex_)
Definition: gtest.cc:4279
#define EXPECT_TRUE(condition)
Definition: gtest.h:1859
static UnitTest * GetInstance()
Definition: gtest.cc:3972
static void testing::CurrentTestInfoTest::TearDownTestCase ( )
inlinestaticprotected

Definition at line 6523 of file gtest_unittest.cc.

References testing::UnitTest::current_test_info(), EXPECT_TRUE, and testing::UnitTest::GetInstance().

6523  {
6524  const TestInfo* test_info =
6526  EXPECT_TRUE(test_info == NULL)
6527  << "There should be no tests running at this point.";
6528  }
const TestInfo * current_test_info() const GTEST_LOCK_EXCLUDED_(mutex_)
Definition: gtest.cc:4279
#define EXPECT_TRUE(condition)
Definition: gtest.h:1859
static UnitTest * GetInstance()
Definition: gtest.cc:3972
static void testing::CurrentTestInfoTest::TearDownTestCase ( )
inlinestaticprotected

Definition at line 6523 of file gtest_unittest.cc.

References ASSERT_TRUE, testing::UnitTest::current_test_info(), EXPECT_EQ, EXPECT_FATAL_FAILURE, EXPECT_STREQ, EXPECT_TRUE, FAIL, testing::UnitTest::GetInstance(), testing::TestInfo::name(), testing::internal::TEST(), testing::TestInfo::test_case_name(), and testing::internal::TEST_F().

6523  {
6524  const TestInfo* test_info =
6526  EXPECT_TRUE(test_info == NULL)
6527  << "There should be no tests running at this point.";
6528  }
const TestInfo * current_test_info() const GTEST_LOCK_EXCLUDED_(mutex_)
Definition: gtest.cc:4279
#define EXPECT_TRUE(condition)
Definition: gtest.h:1859
static UnitTest * GetInstance()
Definition: gtest.cc:3972

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