#include <gtest.h>
Public Member Functions | |
| const TestResult & | ad_hoc_test_result () const |
| int | disabled_test_count () const |
| TimeInMillis | elapsed_time () const |
| bool | Failed () const |
| int | failed_test_count () const |
| const TestInfo * | GetTestInfo (int i) const |
| const char * | name () const |
| bool | Passed () const |
| int | reportable_disabled_test_count () const |
| int | reportable_test_count () const |
| bool | should_run () const |
| int | successful_test_count () const |
| int | test_to_run_count () const |
| TestCase (const char *name, const char *a_type_param, Test::SetUpTestCaseFunc set_up_tc, Test::TearDownTestCaseFunc tear_down_tc) | |
| int | total_test_count () const |
| const char * | type_param () const |
| virtual | ~TestCase () |
Private Member Functions | |
| void | AddTestInfo (TestInfo *test_info) |
| void | ClearResult () |
| TestInfo * | GetMutableTestInfo (int i) |
| GTEST_DISALLOW_COPY_AND_ASSIGN_ (TestCase) | |
| void | Run () |
| void | RunSetUpTestCase () |
| void | RunTearDownTestCase () |
| void | set_should_run (bool should) |
| void | ShuffleTests (internal::Random *random) |
| std::vector< TestInfo * > & | test_info_list () |
| const std::vector< TestInfo * > & | test_info_list () const |
| void | UnshuffleTests () |
Static Private Member Functions | |
| static void | ClearTestCaseResult (TestCase *test_case) |
| static bool | ShouldRunTest (const TestInfo *test_info) |
| static bool | TestDisabled (const TestInfo *test_info) |
| static bool | TestFailed (const TestInfo *test_info) |
| static bool | TestPassed (const TestInfo *test_info) |
| static bool | TestReportable (const TestInfo *test_info) |
| static bool | TestReportableDisabled (const TestInfo *test_info) |
Private Attributes | |
| TestResult | ad_hoc_test_result_ |
| TimeInMillis | elapsed_time_ |
| std::string | name_ |
| Test::SetUpTestCaseFunc | set_up_tc_ |
| bool | should_run_ |
| Test::TearDownTestCaseFunc | tear_down_tc_ |
| std::vector< int > | test_indices_ |
| std::vector< TestInfo * > | test_info_list_ |
| const internal::scoped_ptr < const ::std::string > | type_param_ |
Friends | |
| class | internal::UnitTestImpl |
| class | Test |
| testing::TestCase::TestCase | ( | const char * | name, |
| const char * | a_type_param, | ||
| Test::SetUpTestCaseFunc | set_up_tc, | ||
| Test::TearDownTestCaseFunc | tear_down_tc | ||
| ) |
Definition at line 3874 of file gtest-all.cc.
| testing::TestCase::~TestCase | ( | ) | [virtual] |
Definition at line 3886 of file gtest-all.cc.
| const TestResult& testing::TestCase::ad_hoc_test_result | ( | ) | const [inline] |
| void testing::TestCase::AddTestInfo | ( | TestInfo * | test_info | ) | [private] |
Definition at line 3907 of file gtest-all.cc.
| void testing::TestCase::ClearResult | ( | ) | [private] |
Definition at line 3941 of file gtest-all.cc.
| static void testing::TestCase::ClearTestCaseResult | ( | TestCase * | test_case | ) | [inline, static, private] |
| int testing::TestCase::disabled_test_count | ( | ) | const |
Definition at line 3846 of file gtest-all.cc.
| TimeInMillis testing::TestCase::elapsed_time | ( | ) | const [inline] |
| bool testing::TestCase::Failed | ( | ) | const [inline] |
| int testing::TestCase::failed_test_count | ( | ) | const |
Definition at line 3836 of file gtest-all.cc.
| TestInfo * testing::TestCase::GetMutableTestInfo | ( | int | i | ) | [private] |
Definition at line 3900 of file gtest-all.cc.
| const TestInfo * testing::TestCase::GetTestInfo | ( | int | i | ) | const |
Definition at line 3893 of file gtest-all.cc.
| testing::TestCase::GTEST_DISALLOW_COPY_AND_ASSIGN_ | ( | TestCase | ) | [private] |
| const char* testing::TestCase::name | ( | ) | const [inline] |
| bool testing::TestCase::Passed | ( | ) | const [inline] |
| int testing::TestCase::reportable_disabled_test_count | ( | ) | const |
Definition at line 3841 of file gtest-all.cc.
| int testing::TestCase::reportable_test_count | ( | ) | const |
Definition at line 3851 of file gtest-all.cc.
| void testing::TestCase::Run | ( | ) | [private] |
Definition at line 3913 of file gtest-all.cc.
| void testing::TestCase::RunSetUpTestCase | ( | ) | [inline, private] |
| void testing::TestCase::RunTearDownTestCase | ( | ) | [inline, private] |
| void testing::TestCase::set_should_run | ( | bool | should | ) | [inline, private] |
| bool testing::TestCase::should_run | ( | ) | const [inline] |
| static bool testing::TestCase::ShouldRunTest | ( | const TestInfo * | test_info | ) | [inline, static, private] |
| void testing::TestCase::ShuffleTests | ( | internal::Random * | random | ) | [private] |
Definition at line 3947 of file gtest-all.cc.
| int testing::TestCase::successful_test_count | ( | ) | const |
Definition at line 3831 of file gtest-all.cc.
| std::vector<TestInfo*>& testing::TestCase::test_info_list | ( | ) | [inline, private] |
| const std::vector<TestInfo*>& testing::TestCase::test_info_list | ( | ) | const [inline, private] |
| int testing::TestCase::test_to_run_count | ( | ) | const |
Definition at line 3856 of file gtest-all.cc.
| static bool testing::TestCase::TestDisabled | ( | const TestInfo * | test_info | ) | [inline, static, private] |
| static bool testing::TestCase::TestFailed | ( | const TestInfo * | test_info | ) | [inline, static, private] |
| static bool testing::TestCase::TestPassed | ( | const TestInfo * | test_info | ) | [inline, static, private] |
| static bool testing::TestCase::TestReportable | ( | const TestInfo * | test_info | ) | [inline, static, private] |
| static bool testing::TestCase::TestReportableDisabled | ( | const TestInfo * | test_info | ) | [inline, static, private] |
| int testing::TestCase::total_test_count | ( | ) | const |
Definition at line 3861 of file gtest-all.cc.
| const char* testing::TestCase::type_param | ( | ) | const [inline] |
| void testing::TestCase::UnshuffleTests | ( | ) | [private] |
Definition at line 3952 of file gtest-all.cc.
friend class internal::UnitTestImpl [friend] |
TimeInMillis testing::TestCase::elapsed_time_ [private] |
std::string testing::TestCase::name_ [private] |
bool testing::TestCase::should_run_ [private] |
std::vector<int> testing::TestCase::test_indices_ [private] |
std::vector<TestInfo*> testing::TestCase::test_info_list_ [private] |
const internal::scoped_ptr<const ::std::string> testing::TestCase::type_param_ [private] |