#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 |
Definition at line 19377 of file cares/cares/test/gmock-1.8.0/gtest/gtest.h.
| TestCase< Proto >::TestCase | ( | const char * | name, |
| const char * | a_type_param, | ||
| Test::SetUpTestCaseFunc | set_up_tc, | ||
| Test::TearDownTestCaseFunc | tear_down_tc | ||
| ) |
Definition at line 4168 of file gmock-gtest-all.cc.
Definition at line 4180 of file gmock-gtest-all.cc.
|
inline |
Definition at line 19448 of file cares/cares/test/gmock-1.8.0/gtest/gtest.h.
Definition at line 4201 of file gmock-gtest-all.cc.
|
private |
Definition at line 4235 of file gmock-gtest-all.cc.
|
inlinestaticprivate |
Definition at line 19477 of file cares/cares/test/gmock-1.8.0/gtest/gtest.h.
Definition at line 4140 of file gmock-gtest-all.cc.
|
inline |
Definition at line 19440 of file cares/cares/test/gmock-1.8.0/gtest/gtest.h.
|
inline |
Definition at line 19437 of file cares/cares/test/gmock-1.8.0/gtest/gtest.h.
Definition at line 4130 of file gmock-gtest-all.cc.
Definition at line 4194 of file gmock-gtest-all.cc.
Definition at line 4187 of file gmock-gtest-all.cc.
|
private |
|
inline |
Definition at line 19399 of file cares/cares/test/gmock-1.8.0/gtest/gtest.h.
|
inline |
Definition at line 19434 of file cares/cares/test/gmock-1.8.0/gtest/gtest.h.
Definition at line 4135 of file gmock-gtest-all.cc.
Definition at line 4145 of file gmock-gtest-all.cc.
|
private |
Definition at line 4207 of file gmock-gtest-all.cc.
|
inlineprivate |
Definition at line 19486 of file cares/cares/test/gmock-1.8.0/gtest/gtest.h.
|
inlineprivate |
Definition at line 19490 of file cares/cares/test/gmock-1.8.0/gtest/gtest.h.
|
inlineprivate |
Definition at line 19467 of file cares/cares/test/gmock-1.8.0/gtest/gtest.h.
|
inline |
Definition at line 19410 of file cares/cares/test/gmock-1.8.0/gtest/gtest.h.
Definition at line 19519 of file cares/cares/test/gmock-1.8.0/gtest/gtest.h.
|
private |
Definition at line 4241 of file gmock-gtest-all.cc.
Definition at line 4125 of file gmock-gtest-all.cc.
|
inlineprivate |
Definition at line 19455 of file cares/cares/test/gmock-1.8.0/gtest/gtest.h.
Definition at line 19458 of file cares/cares/test/gmock-1.8.0/gtest/gtest.h.
Definition at line 4150 of file gmock-gtest-all.cc.
Definition at line 19509 of file cares/cares/test/gmock-1.8.0/gtest/gtest.h.
Definition at line 19498 of file cares/cares/test/gmock-1.8.0/gtest/gtest.h.
Definition at line 19493 of file cares/cares/test/gmock-1.8.0/gtest/gtest.h.
Definition at line 19514 of file cares/cares/test/gmock-1.8.0/gtest/gtest.h.
|
inlinestaticprivate |
Definition at line 19504 of file cares/cares/test/gmock-1.8.0/gtest/gtest.h.
Definition at line 4155 of file gmock-gtest-all.cc.
|
inline |
Definition at line 19403 of file cares/cares/test/gmock-1.8.0/gtest/gtest.h.
|
private |
Definition at line 4246 of file gmock-gtest-all.cc.
|
friend |
Definition at line 19452 of file cares/cares/test/gmock-1.8.0/gtest/gtest.h.
|
friend |
Definition at line 19451 of file cares/cares/test/gmock-1.8.0/gtest/gtest.h.
|
private |
Definition at line 19551 of file cares/cares/test/gmock-1.8.0/gtest/gtest.h.
|
private |
Definition at line 19548 of file cares/cares/test/gmock-1.8.0/gtest/gtest.h.
|
private |
Definition at line 19530 of file cares/cares/test/gmock-1.8.0/gtest/gtest.h.
|
private |
Definition at line 19542 of file cares/cares/test/gmock-1.8.0/gtest/gtest.h.
|
private |
Definition at line 19546 of file cares/cares/test/gmock-1.8.0/gtest/gtest.h.
|
private |
Definition at line 19544 of file cares/cares/test/gmock-1.8.0/gtest/gtest.h.
|
private |
Definition at line 19540 of file cares/cares/test/gmock-1.8.0/gtest/gtest.h.
|
private |
Definition at line 19536 of file cares/cares/test/gmock-1.8.0/gtest/gtest.h.
|
private |
Definition at line 19533 of file cares/cares/test/gmock-1.8.0/gtest/gtest.h.