#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 bool | HasFailure () |
static bool | HasFatalFailure () |
static bool | HasNonfatalFailure () |
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 () |
Protected Member Functions | |
virtual void | SetUp () |
virtual void | TearDown () |
Test () | |
Private Member Functions | |
void | DeleteSelf_ () |
GTEST_DISALLOW_COPY_AND_ASSIGN_ (Test) | |
void | Run () |
virtual Setup_should_be_spelled_SetUp * | Setup () |
virtual void | TestBody ()=0 |
Static Private Member Functions | |
static bool | HasSameFixtureClass () |
Private Attributes | |
const internal::GTestFlagSaver *const | gtest_flag_saver_ |
Friends | |
class | TestInfo |
testing::Test::~Test | ( | ) | [virtual] |
testing::Test::Test | ( | ) | [protected] |
void testing::Test::DeleteSelf_ | ( | ) | [inline, private] |
testing::Test::GTEST_DISALLOW_COPY_AND_ASSIGN_ | ( | Test | ) | [private] |
static bool testing::Test::HasFailure | ( | ) | [inline, static] |
bool testing::Test::HasFatalFailure | ( | ) | [static] |
bool testing::Test::HasNonfatalFailure | ( | ) | [static] |
bool testing::Test::HasSameFixtureClass | ( | ) | [static, private] |
void testing::Test::RecordProperty | ( | const std::string & | key, |
const std::string & | value | ||
) | [static] |
void testing::Test::RecordProperty | ( | const std::string & | key, |
int | value | ||
) | [static] |
void testing::Test::Run | ( | ) | [private] |
void testing::Test::SetUp | ( | ) | [protected, virtual] |
Reimplemented in ProtectedFixtureMethodsTest, testing::InitGoogleTestTest, testing::SetUpTestCaseTest, Predicate5Test, Predicate4Test, Predicate3Test, Predicate2Test, FatalFailureInSetUpTest, NonFatalFailureInSetUpTest, FatalFailureInFixtureConstructorTest, NonFatalFailureInFixtureConstructorTest, testing::internal::ListenerTest, QueueTest, Predicate1Test, QueueTest, CommonTest< T >, QuickTest, PropertyOne, and PropertyTwo.
virtual Setup_should_be_spelled_SetUp* testing::Test::Setup | ( | ) | [inline, private, virtual] |
static void testing::Test::SetUpTestCase | ( | ) | [inline, static] |
Reimplemented in testing::CurrentTestInfoTest, testing::SetUpTestCaseTest, testing::internal::ListenerTest, and CommonTest< T >.
void testing::Test::TearDown | ( | ) | [protected, virtual] |
Reimplemented in ProtectedFixtureMethodsTest, Predicate5Test, Predicate4Test, Predicate3Test, Predicate2Test, FatalFailureInSetUpTest, NonFatalFailureInSetUpTest, FatalFailureInFixtureConstructorTest, NonFatalFailureInFixtureConstructorTest, testing::internal::ListenerTest, Predicate1Test, CommonTest< T >, QuickTest, PropertyOne, and PropertyTwo.
static void testing::Test::TearDownTestCase | ( | ) | [inline, static] |
Reimplemented in testing::CurrentTestInfoTest, testing::SetUpTestCaseTest, testing::internal::ListenerTest, and CommonTest< T >.
virtual void testing::Test::TestBody | ( | ) | [private, pure virtual] |
const internal::GTestFlagSaver* const testing::Test::gtest_flag_saver_ [private] |