|
Monero
|
#include <gtest.h>

Public Member Functions | |
| TestCase (const char *name, const char *a_type_param, Test::SetUpTestCaseFunc set_up_tc, Test::TearDownTestCaseFunc tear_down_tc) | |
| TestCase (const char *name, const char *a_type_param, Test::SetUpTestCaseFunc set_up_tc, Test::TearDownTestCaseFunc tear_down_tc) | |
| virtual | ~TestCase () |
| virtual | ~TestCase () |
| const char * | name () const |
| const char * | name () const |
| const char * | type_param () const |
| const char * | type_param () const |
| bool | should_run () const |
| bool | should_run () const |
| int | successful_test_count () const |
| int | successful_test_count () const |
| int | failed_test_count () const |
| int | failed_test_count () const |
| int | reportable_disabled_test_count () const |
| int | reportable_disabled_test_count () const |
| int | disabled_test_count () const |
| int | disabled_test_count () const |
| int | reportable_test_count () const |
| int | reportable_test_count () const |
| int | test_to_run_count () const |
| int | test_to_run_count () const |
| int | total_test_count () const |
| int | total_test_count () const |
| bool | Passed () const |
| bool | Passed () const |
| bool | Failed () const |
| bool | Failed () const |
| TimeInMillis | elapsed_time () const |
| TimeInMillis | elapsed_time () const |
| const TestInfo * | GetTestInfo (int i) const |
| const TestInfo * | GetTestInfo (int i) const |
| const TestResult & | ad_hoc_test_result () const |
| const TestResult & | ad_hoc_test_result () const |
Private Member Functions | |
| std::vector< TestInfo * > & | test_info_list () |
| const std::vector< TestInfo * > & | test_info_list () const |
| std::vector< TestInfo * > & | test_info_list () |
| const std::vector< TestInfo * > & | test_info_list () const |
| TestInfo * | GetMutableTestInfo (int i) |
| TestInfo * | GetMutableTestInfo (int i) |
| void | set_should_run (bool should) |
| void | set_should_run (bool should) |
| void | AddTestInfo (TestInfo *test_info) |
| void | AddTestInfo (TestInfo *test_info) |
| void | ClearResult () |
| void | ClearResult () |
| void | Run () |
| void | Run () |
| void | RunSetUpTestCase () |
| void | RunSetUpTestCase () |
| void | RunTearDownTestCase () |
| void | RunTearDownTestCase () |
| void | ShuffleTests (internal::Random *random) |
| void | ShuffleTests (internal::Random *random) |
| void | UnshuffleTests () |
| void | UnshuffleTests () |
| GTEST_DISALLOW_COPY_AND_ASSIGN_ (TestCase) | |
| GTEST_DISALLOW_COPY_AND_ASSIGN_ (TestCase) | |
Static Private Member Functions | |
| static void | ClearTestCaseResult (TestCase *test_case) |
| static void | ClearTestCaseResult (TestCase *test_case) |
| static bool | TestPassed (const TestInfo *test_info) |
| static bool | TestPassed (const TestInfo *test_info) |
| static bool | TestFailed (const TestInfo *test_info) |
| static bool | TestFailed (const TestInfo *test_info) |
| static bool | TestReportableDisabled (const TestInfo *test_info) |
| static bool | TestReportableDisabled (const TestInfo *test_info) |
| static bool | TestDisabled (const TestInfo *test_info) |
| static bool | TestDisabled (const TestInfo *test_info) |
| static bool | TestReportable (const TestInfo *test_info) |
| static bool | TestReportable (const TestInfo *test_info) |
| static bool | ShouldRunTest (const TestInfo *test_info) |
| static bool | ShouldRunTest (const TestInfo *test_info) |
Private Attributes | |
| std::string | name_ |
| const internal::scoped_ptr< const ::std::string > | type_param_ |
| std::vector< TestInfo * > | test_info_list_ |
| std::vector< int > | test_indices_ |
| Test::SetUpTestCaseFunc | set_up_tc_ |
| Test::TearDownTestCaseFunc | tear_down_tc_ |
| bool | should_run_ |
| TimeInMillis | elapsed_time_ |
| TestResult | ad_hoc_test_result_ |
Friends | |
| class | Test |
| class | internal::UnitTestImpl |
| testing::TestCase::TestCase | ( | const char * | name, |
| const char * | a_type_param, | ||
| Test::SetUpTestCaseFunc | set_up_tc, | ||
| Test::TearDownTestCaseFunc | tear_down_tc ) |
| testing::TestCase::TestCase | ( | const char * | name, |
| const char * | a_type_param, | ||
| Test::SetUpTestCaseFunc | set_up_tc, | ||
| Test::TearDownTestCaseFunc | tear_down_tc ) |
|
virtual |
|
virtual |
|
inline |
|
inline |
|
private |
|
private |
|
private |
|
private |
|
inlinestaticprivate |
|
inlinestaticprivate |
| int testing::TestCase::disabled_test_count | ( | ) | const |
| int testing::TestCase::disabled_test_count | ( | ) | const |
|
inline |
|
inline |
|
inline |
|
inline |
| int testing::TestCase::failed_test_count | ( | ) | const |
| int testing::TestCase::failed_test_count | ( | ) | const |
|
private |
|
private |
| const TestInfo * testing::TestCase::GetTestInfo | ( | int | i | ) | const |
| const TestInfo * testing::TestCase::GetTestInfo | ( | int | i | ) | const |
|
inline |
|
inline |
|
inline |
|
inline |
| int testing::TestCase::reportable_disabled_test_count | ( | ) | const |
| int testing::TestCase::reportable_disabled_test_count | ( | ) | const |
| int testing::TestCase::reportable_test_count | ( | ) | const |
| int testing::TestCase::reportable_test_count | ( | ) | const |
|
private |
|
private |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inline |
|
inline |
|
inlinestaticprivate |
|
inlinestaticprivate |
|
private |
|
private |
| int testing::TestCase::successful_test_count | ( | ) | const |
| int testing::TestCase::successful_test_count | ( | ) | const |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
| int testing::TestCase::test_to_run_count | ( | ) | const |
| int testing::TestCase::test_to_run_count | ( | ) | const |
|
inlinestaticprivate |
|
inlinestaticprivate |
|
inlinestaticprivate |
|
inlinestaticprivate |
|
inlinestaticprivate |
|
inlinestaticprivate |
|
inlinestaticprivate |
|
inlinestaticprivate |
|
inlinestaticprivate |
|
inlinestaticprivate |
| int testing::TestCase::total_test_count | ( | ) | const |
| int testing::TestCase::total_test_count | ( | ) | const |
|
inline |
|
inline |
|
private |
|
private |
|
friend |
|
friend |
|
private |
|
private |
|
private |
|
private |
|
private |