#include <gtest.h>
Public Member Functions | |
const TestResult & | ad_hoc_test_result () const |
const TestResult & | ad_hoc_test_result () const |
const TestResult & | ad_hoc_test_result () const |
const TestResult & | ad_hoc_test_result () const |
int | disabled_test_count () const |
int | disabled_test_count () const |
int | disabled_test_count () const |
int | disabled_test_count () const |
TimeInMillis | elapsed_time () const |
TimeInMillis | elapsed_time () const |
TimeInMillis | elapsed_time () const |
TimeInMillis | elapsed_time () const |
bool | Failed () const |
bool | Failed () const |
bool | Failed () const |
bool | Failed () const |
int | failed_test_count () const |
int | failed_test_count () const |
int | failed_test_count () const |
int | failed_test_count () const |
const TestInfo * | GetTestInfo (int i) const |
const TestInfo * | GetTestInfo (int i) const |
const TestInfo * | GetTestInfo (int i) const |
const TestInfo * | GetTestInfo (int i) const |
const char * | name () const |
const char * | name () const |
const char * | name () const |
const char * | name () const |
bool | Passed () const |
bool | Passed () const |
bool | Passed () const |
bool | Passed () const |
int | reportable_disabled_test_count () const |
int | reportable_disabled_test_count () const |
int | reportable_disabled_test_count () const |
int | reportable_disabled_test_count () const |
int | reportable_test_count () const |
int | reportable_test_count () const |
int | reportable_test_count () const |
int | reportable_test_count () const |
bool | should_run () const |
bool | should_run () const |
bool | should_run () const |
bool | should_run () const |
int | successful_test_count () const |
int | successful_test_count () const |
int | successful_test_count () const |
int | successful_test_count () const |
int | test_to_run_count () const |
int | test_to_run_count () const |
int | test_to_run_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) | |
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) | |
TestCase (const char *name, const char *a_type_param, Test::SetUpTestCaseFunc set_up_tc, Test::TearDownTestCaseFunc tear_down_tc) | |
int | total_test_count () const |
int | total_test_count () const |
int | total_test_count () const |
int | total_test_count () const |
const char * | type_param () const |
const char * | type_param () const |
const char * | type_param () const |
const char * | type_param () const |
virtual | ~TestCase () |
virtual | ~TestCase () |
virtual | ~TestCase () |
virtual | ~TestCase () |
Static Private Member Functions | |
static void | ClearTestCaseResult (TestCase *test_case) |
static void | ClearTestCaseResult (TestCase *test_case) |
static void | ClearTestCaseResult (TestCase *test_case) |
static void | ClearTestCaseResult (TestCase *test_case) |
static bool | ShouldRunTest (const TestInfo *test_info) |
static bool | ShouldRunTest (const TestInfo *test_info) |
static bool | ShouldRunTest (const TestInfo *test_info) |
static bool | ShouldRunTest (const TestInfo *test_info) |
static bool | TestDisabled (const TestInfo *test_info) |
static bool | TestDisabled (const TestInfo *test_info) |
static bool | TestDisabled (const TestInfo *test_info) |
static bool | TestDisabled (const TestInfo *test_info) |
static bool | TestFailed (const TestInfo *test_info) |
static bool | TestFailed (const TestInfo *test_info) |
static bool | TestFailed (const TestInfo *test_info) |
static bool | TestFailed (const TestInfo *test_info) |
static bool | TestPassed (const TestInfo *test_info) |
static bool | TestPassed (const TestInfo *test_info) |
static bool | TestPassed (const TestInfo *test_info) |
static bool | TestPassed (const TestInfo *test_info) |
static bool | TestReportable (const TestInfo *test_info) |
static bool | TestReportable (const TestInfo *test_info) |
static bool | TestReportable (const TestInfo *test_info) |
static bool | TestReportable (const TestInfo *test_info) |
static bool | TestReportableDisabled (const TestInfo *test_info) |
static bool | TestReportableDisabled (const TestInfo *test_info) |
static bool | TestReportableDisabled (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 19351 of file gmock/fused-src/gtest/gtest.h.
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 gmock-gtest-all.cc.
|
virtual |
Definition at line 3886 of file gmock-gtest-all.cc.
testing::TestCase::TestCase | ( | const char * | name, |
const char * | a_type_param, | ||
Test::SetUpTestCaseFunc | set_up_tc, | ||
Test::TearDownTestCaseFunc | tear_down_tc | ||
) |
|
virtual |
testing::TestCase::TestCase | ( | const char * | name, |
const char * | a_type_param, | ||
Test::SetUpTestCaseFunc | set_up_tc, | ||
Test::TearDownTestCaseFunc | tear_down_tc | ||
) |
|
virtual |
testing::TestCase::TestCase | ( | const char * | name, |
const char * | a_type_param, | ||
Test::SetUpTestCaseFunc | set_up_tc, | ||
Test::TearDownTestCaseFunc | tear_down_tc | ||
) |
|
virtual |
|
inline |
Definition at line 845 of file gmock/gtest/include/gtest/gtest.h.
|
inline |
Definition at line 845 of file gtest/include/gtest/gtest.h.
|
inline |
Definition at line 19425 of file gmock/fused-src/gtest/gtest.h.
|
inline |
Definition at line 19425 of file gmock/gtest/fused-src/gtest/gtest.h.
|
private |
|
private |
|
private |
Definition at line 3907 of file gmock-gtest-all.cc.
|
private |
|
private |
|
private |
|
private |
Definition at line 3941 of file gmock-gtest-all.cc.
|
private |
|
inlinestaticprivate |
Definition at line 875 of file gmock/gtest/include/gtest/gtest.h.
|
inlinestaticprivate |
Definition at line 875 of file gtest/include/gtest/gtest.h.
|
inlinestaticprivate |
Definition at line 19455 of file gmock/fused-src/gtest/gtest.h.
|
inlinestaticprivate |
Definition at line 19455 of file gmock/gtest/fused-src/gtest/gtest.h.
int testing::TestCase::disabled_test_count | ( | ) | const |
int testing::TestCase::disabled_test_count | ( | ) | const |
int testing::TestCase::disabled_test_count | ( | ) | const |
int testing::TestCase::disabled_test_count | ( | ) | const |
Definition at line 3846 of file gmock-gtest-all.cc.
|
inline |
Definition at line 837 of file gmock/gtest/include/gtest/gtest.h.
|
inline |
Definition at line 837 of file gtest/include/gtest/gtest.h.
|
inline |
Definition at line 19417 of file gmock/gtest/fused-src/gtest/gtest.h.
|
inline |
Definition at line 19417 of file gmock/fused-src/gtest/gtest.h.
|
inline |
Definition at line 834 of file gmock/gtest/include/gtest/gtest.h.
|
inline |
Definition at line 834 of file gtest/include/gtest/gtest.h.
|
inline |
Definition at line 19414 of file gmock/gtest/fused-src/gtest/gtest.h.
|
inline |
Definition at line 19414 of file gmock/fused-src/gtest/gtest.h.
int testing::TestCase::failed_test_count | ( | ) | const |
int testing::TestCase::failed_test_count | ( | ) | const |
int testing::TestCase::failed_test_count | ( | ) | const |
int testing::TestCase::failed_test_count | ( | ) | const |
Definition at line 3836 of file gmock-gtest-all.cc.
|
private |
|
private |
|
private |
Definition at line 3900 of file gmock-gtest-all.cc.
|
private |
const TestInfo* testing::TestCase::GetTestInfo | ( | int | i | ) | const |
const TestInfo* testing::TestCase::GetTestInfo | ( | int | i | ) | const |
const TestInfo* testing::TestCase::GetTestInfo | ( | int | i | ) | const |
const TestInfo * testing::TestCase::GetTestInfo | ( | int | i | ) | const |
Definition at line 3893 of file gmock-gtest-all.cc.
|
private |
|
private |
|
private |
|
private |
|
inline |
Definition at line 794 of file gmock/gtest/include/gtest/gtest.h.
|
inline |
Definition at line 794 of file gtest/include/gtest/gtest.h.
|
inline |
Definition at line 19374 of file gmock/fused-src/gtest/gtest.h.
|
inline |
Definition at line 19374 of file gmock/gtest/fused-src/gtest/gtest.h.
|
inline |
Definition at line 831 of file gmock/gtest/include/gtest/gtest.h.
|
inline |
Definition at line 831 of file gtest/include/gtest/gtest.h.
|
inline |
Definition at line 19411 of file gmock/fused-src/gtest/gtest.h.
|
inline |
Definition at line 19411 of file gmock/gtest/fused-src/gtest/gtest.h.
int testing::TestCase::reportable_disabled_test_count | ( | ) | const |
int testing::TestCase::reportable_disabled_test_count | ( | ) | const |
int testing::TestCase::reportable_disabled_test_count | ( | ) | const |
int testing::TestCase::reportable_disabled_test_count | ( | ) | const |
Definition at line 3841 of file gmock-gtest-all.cc.
int testing::TestCase::reportable_test_count | ( | ) | const |
int testing::TestCase::reportable_test_count | ( | ) | const |
int testing::TestCase::reportable_test_count | ( | ) | const |
Definition at line 3851 of file gmock-gtest-all.cc.
int testing::TestCase::reportable_test_count | ( | ) | const |
|
private |
|
private |
|
private |
Definition at line 3913 of file gmock-gtest-all.cc.
|
private |
|
inlineprivate |
Definition at line 885 of file gmock/gtest/include/gtest/gtest.h.
|
inlineprivate |
Definition at line 885 of file gtest/include/gtest/gtest.h.
|
inlineprivate |
Definition at line 19465 of file gmock/fused-src/gtest/gtest.h.
|
inlineprivate |
Definition at line 19465 of file gmock/gtest/fused-src/gtest/gtest.h.
|
inlineprivate |
Definition at line 889 of file gmock/gtest/include/gtest/gtest.h.
|
inlineprivate |
Definition at line 889 of file gtest/include/gtest/gtest.h.
|
inlineprivate |
Definition at line 19469 of file gmock/fused-src/gtest/gtest.h.
|
inlineprivate |
Definition at line 19469 of file gmock/gtest/fused-src/gtest/gtest.h.
|
inlineprivate |
Definition at line 865 of file gmock/gtest/include/gtest/gtest.h.
|
inlineprivate |
Definition at line 865 of file gtest/include/gtest/gtest.h.
|
inlineprivate |
Definition at line 19445 of file gmock/fused-src/gtest/gtest.h.
|
inlineprivate |
Definition at line 19445 of file gmock/gtest/fused-src/gtest/gtest.h.
|
inline |
Definition at line 807 of file gmock/gtest/include/gtest/gtest.h.
|
inline |
Definition at line 807 of file gtest/include/gtest/gtest.h.
|
inline |
Definition at line 19387 of file gmock/gtest/fused-src/gtest/gtest.h.
|
inline |
Definition at line 19387 of file gmock/fused-src/gtest/gtest.h.
|
inlinestaticprivate |
Definition at line 923 of file gtest/include/gtest/gtest.h.
|
inlinestaticprivate |
Definition at line 923 of file gmock/gtest/include/gtest/gtest.h.
|
inlinestaticprivate |
Definition at line 19503 of file gmock/gtest/fused-src/gtest/gtest.h.
|
inlinestaticprivate |
Definition at line 19503 of file gmock/fused-src/gtest/gtest.h.
|
private |
|
private |
|
private |
Definition at line 3947 of file gmock-gtest-all.cc.
|
private |
int testing::TestCase::successful_test_count | ( | ) | const |
int testing::TestCase::successful_test_count | ( | ) | const |
int testing::TestCase::successful_test_count | ( | ) | const |
int testing::TestCase::successful_test_count | ( | ) | const |
Definition at line 3831 of file gmock-gtest-all.cc.
|
inlineprivate |
Definition at line 852 of file gmock/gtest/include/gtest/gtest.h.
|
inlineprivate |
Definition at line 852 of file gtest/include/gtest/gtest.h.
|
inlineprivate |
Definition at line 855 of file gmock/gtest/include/gtest/gtest.h.
|
inlineprivate |
Definition at line 855 of file gtest/include/gtest/gtest.h.
|
inlineprivate |
Definition at line 19432 of file gmock/fused-src/gtest/gtest.h.
|
inlineprivate |
Definition at line 19432 of file gmock/gtest/fused-src/gtest/gtest.h.
|
inlineprivate |
Definition at line 19435 of file gmock/fused-src/gtest/gtest.h.
|
inlineprivate |
Definition at line 19435 of file gmock/gtest/fused-src/gtest/gtest.h.
int testing::TestCase::test_to_run_count | ( | ) | const |
int testing::TestCase::test_to_run_count | ( | ) | const |
int testing::TestCase::test_to_run_count | ( | ) | const |
int testing::TestCase::test_to_run_count | ( | ) | const |
Definition at line 3856 of file gmock-gtest-all.cc.
|
inlinestaticprivate |
Definition at line 911 of file gtest/include/gtest/gtest.h.
|
inlinestaticprivate |
Definition at line 911 of file gmock/gtest/include/gtest/gtest.h.
|
inlinestaticprivate |
Definition at line 19491 of file gmock/gtest/fused-src/gtest/gtest.h.
|
inlinestaticprivate |
Definition at line 19491 of file gmock/fused-src/gtest/gtest.h.
|
inlinestaticprivate |
Definition at line 898 of file gmock/gtest/include/gtest/gtest.h.
|
inlinestaticprivate |
Definition at line 898 of file gtest/include/gtest/gtest.h.
|
inlinestaticprivate |
Definition at line 19478 of file gmock/gtest/fused-src/gtest/gtest.h.
|
inlinestaticprivate |
Definition at line 19478 of file gmock/fused-src/gtest/gtest.h.
|
inlinestaticprivate |
Definition at line 892 of file gmock/gtest/include/gtest/gtest.h.
|
inlinestaticprivate |
Definition at line 892 of file gtest/include/gtest/gtest.h.
|
inlinestaticprivate |
Definition at line 19472 of file gmock/gtest/fused-src/gtest/gtest.h.
|
inlinestaticprivate |
Definition at line 19472 of file gmock/fused-src/gtest/gtest.h.
|
inlinestaticprivate |
Definition at line 917 of file gtest/include/gtest/gtest.h.
|
inlinestaticprivate |
Definition at line 917 of file gmock/gtest/include/gtest/gtest.h.
|
inlinestaticprivate |
Definition at line 19497 of file gmock/gtest/fused-src/gtest/gtest.h.
|
inlinestaticprivate |
Definition at line 19497 of file gmock/fused-src/gtest/gtest.h.
|
inlinestaticprivate |
Definition at line 905 of file gmock/gtest/include/gtest/gtest.h.
|
inlinestaticprivate |
Definition at line 905 of file gtest/include/gtest/gtest.h.
|
inlinestaticprivate |
Definition at line 19485 of file gmock/gtest/fused-src/gtest/gtest.h.
|
inlinestaticprivate |
Definition at line 19485 of file gmock/fused-src/gtest/gtest.h.
int testing::TestCase::total_test_count | ( | ) | const |
int testing::TestCase::total_test_count | ( | ) | const |
int testing::TestCase::total_test_count | ( | ) | const |
Definition at line 3861 of file gmock-gtest-all.cc.
int testing::TestCase::total_test_count | ( | ) | const |
|
inline |
Definition at line 798 of file gtest/include/gtest/gtest.h.
|
inline |
Definition at line 798 of file gmock/gtest/include/gtest/gtest.h.
|
inline |
Definition at line 19378 of file gmock/fused-src/gtest/gtest.h.
|
inline |
Definition at line 19378 of file gmock/gtest/fused-src/gtest/gtest.h.
|
private |
|
private |
|
private |
|
private |
Definition at line 3952 of file gmock-gtest-all.cc.
|
friend |
Definition at line 19429 of file gmock/fused-src/gtest/gtest.h.
|
friend |
Definition at line 19428 of file gmock/fused-src/gtest/gtest.h.
|
private |
Definition at line 19536 of file gmock/fused-src/gtest/gtest.h.
|
private |
Definition at line 19533 of file gmock/fused-src/gtest/gtest.h.
|
private |
Definition at line 19515 of file gmock/fused-src/gtest/gtest.h.
|
private |
Definition at line 19527 of file gmock/fused-src/gtest/gtest.h.
|
private |
Definition at line 19531 of file gmock/fused-src/gtest/gtest.h.
|
private |
Definition at line 19529 of file gmock/fused-src/gtest/gtest.h.
|
private |
Definition at line 19525 of file gmock/fused-src/gtest/gtest.h.
|
private |
Definition at line 19521 of file gmock/fused-src/gtest/gtest.h.
|
private |
Definition at line 19518 of file gmock/fused-src/gtest/gtest.h.