CHROMA
|
#include <gtest.h>
Classes | |
struct | Setup_should_be_spelled_SetUp |
Public Types | |
typedef internal::SetUpTestCaseFunc | SetUpTestCaseFunc |
typedef internal::TearDownTestCaseFunc | TearDownTestCaseFunc |
Public Member Functions | |
virtual | ~Test () |
Static Public Member Functions | |
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 | |
Test () | |
virtual void | SetUp () |
virtual void | TearDown () |
Private Member Functions | |
virtual void | TestBody ()=0 |
void | Run () |
void | DeleteSelf_ () |
virtual Setup_should_be_spelled_SetUp * | Setup () |
GTEST_DISALLOW_COPY_AND_ASSIGN_ (Test) | |
Static Private Member Functions | |
static bool | HasSameFixtureClass () |
Private Attributes | |
const internal::GTestFlagSaver *const | gtest_flag_saver_ |
Friends | |
class | TestInfo |
typedef internal::SetUpTestCaseFunc testing::Test::SetUpTestCaseFunc |
typedef internal::TearDownTestCaseFunc testing::Test::TearDownTestCaseFunc |
|
virtual |
Definition at line 3380 of file gtest-all.cc.
References gtest_flag_saver_.
|
protected |
Definition at line 3375 of file gtest-all.cc.
|
inlineprivate |
Definition at line 17842 of file gtest.h.
Referenced by testing::TestInfo::Run().
|
private |
|
static |
Definition at line 3647 of file gtest-all.cc.
References testing::internal::UnitTestImpl::current_test_result(), testing::internal::GetUnitTestImpl(), and testing::TestResult::HasFatalFailure().
Referenced by testing::TestInfo::Run(), and testing::internal::UnitTestImpl::RunAllTests().
|
static |
Definition at line 3652 of file gtest-all.cc.
References testing::internal::UnitTestImpl::current_test_result(), and testing::internal::GetUnitTestImpl().
|
staticprivate |
Definition at line 3429 of file gtest-all.cc.
References ADD_FAILURE, testing::internal::UnitTestImpl::current_test_case(), testing::internal::UnitTestImpl::current_test_info(), testing::TestInfo::fixture_class_id_, testing::internal::GetTestTypeId(), testing::internal::GetUnitTestImpl(), testing::TestInfo::name(), testing::TestInfo::test_case_name(), and testing::TestCase::test_info_list().
|
static |
Definition at line 3397 of file gtest-all.cc.
References testing::UnitTest::GetInstance(), and testing::UnitTest::RecordProperty().
Referenced by RecordProperty().
|
static |
Definition at line 3402 of file gtest-all.cc.
References testing::Message::GetString(), and RecordProperty().
|
private |
Definition at line 3625 of file gtest-all.cc.
References testing::internal::GetUnitTestImpl(), testing::internal::HandleExceptionsInMethodIfSupported(), testing::internal::UnitTestImpl::os_stack_trace_getter(), and testing::internal::OsStackTraceGetterInterface::UponLeavingGTest().
Referenced by testing::TestInfo::Run().
|
protectedvirtual |
Reimplemented in SymmFixtureT<::testing::TestWithParam< enum PlusMinus > >, SymmFixtureT<::testing::TestWithParam< std::string > >, and SymmFixtureT<::testing::Test >.
Definition at line 3387 of file gtest-all.cc.
|
inlineprivatevirtual |
|
protectedvirtual |
Reimplemented in SymmFixtureT<::testing::TestWithParam< enum PlusMinus > >, SymmFixtureT<::testing::TestWithParam< std::string > >, SymmFixtureT<::testing::Test >, and FGMRESDRTests.
Definition at line 3393 of file gtest-all.cc.
|
inlinestatic |
|
privatepure virtual |
|
private |