#include <gtest.h>
Definition at line 807 of file gtest.h.
◆ TestCase()
Definition at line 2732 of file gtest.cc.
2735 : name_(a_name),
2736 type_param_(a_type_param ? new std::string(a_type_param) : NULL),
2737 set_up_tc_(set_up_tc),
2738 tear_down_tc_(tear_down_tc),
2739 should_run_(false),
2740 elapsed_time_(0) {
2741}
◆ ~TestCase()
testing::TestCase::~TestCase |
( |
| ) |
|
|
virtual |
Definition at line 2744 of file gtest.cc.
2744 {
2745
2746 ForEach(test_info_list_, internal::Delete<TestInfo>);
2747}
◆ ad_hoc_test_result()
const TestResult & testing::TestCase::ad_hoc_test_result |
( |
| ) |
const |
|
inline |
Definition at line 878 of file gtest.h.
878{ return ad_hoc_test_result_; }
◆ disabled_test_count()
int testing::TestCase::disabled_test_count |
( |
| ) |
const |
Definition at line 2704 of file gtest.cc.
2704 {
2705 return CountIf(test_info_list_, TestDisabled);
2706}
◆ elapsed_time()
Definition at line 870 of file gtest.h.
870{ return elapsed_time_; }
◆ Failed()
bool testing::TestCase::Failed |
( |
| ) |
const |
|
inline |
Definition at line 867 of file gtest.h.
int failed_test_count() const
◆ failed_test_count()
int testing::TestCase::failed_test_count |
( |
| ) |
const |
Definition at line 2694 of file gtest.cc.
2694 {
2695 return CountIf(test_info_list_, TestFailed);
2696}
◆ GetTestInfo()
const TestInfo * testing::TestCase::GetTestInfo |
( |
int | i | ) |
const |
Definition at line 2751 of file gtest.cc.
2751 {
2752 const int index = GetElementOr(test_indices_, i, -1);
2753 return index < 0 ? NULL : test_info_list_[index];
2754}
◆ name()
const char * testing::TestCase::name |
( |
| ) |
const |
|
inline |
Definition at line 829 of file gtest.h.
829{ return name_.c_str(); }
◆ Passed()
bool testing::TestCase::Passed |
( |
| ) |
const |
|
inline |
◆ reportable_disabled_test_count()
int testing::TestCase::reportable_disabled_test_count |
( |
| ) |
const |
Definition at line 2699 of file gtest.cc.
2699 {
2700 return CountIf(test_info_list_, TestReportableDisabled);
2701}
◆ reportable_test_count()
int testing::TestCase::reportable_test_count |
( |
| ) |
const |
Definition at line 2709 of file gtest.cc.
2709 {
2710 return CountIf(test_info_list_, TestReportable);
2711}
◆ should_run()
bool testing::TestCase::should_run |
( |
| ) |
const |
|
inline |
Definition at line 840 of file gtest.h.
840{ return should_run_; }
◆ successful_test_count()
int testing::TestCase::successful_test_count |
( |
| ) |
const |
Definition at line 2689 of file gtest.cc.
2689 {
2690 return CountIf(test_info_list_, TestPassed);
2691}
◆ test_to_run_count()
int testing::TestCase::test_to_run_count |
( |
| ) |
const |
Definition at line 2714 of file gtest.cc.
2714 {
2715 return CountIf(test_info_list_, ShouldRunTest);
2716}
◆ total_test_count()
int testing::TestCase::total_test_count |
( |
| ) |
const |
Definition at line 2719 of file gtest.cc.
2719 {
2720 return static_cast<int>(test_info_list_.size());
2721}
◆ type_param()
const char * testing::TestCase::type_param |
( |
| ) |
const |
|
inline |
Definition at line 833 of file gtest.h.
833 {
834 if (type_param_.
get() != NULL)
835 return type_param_->c_str();
836 return NULL;
837 }
◆ internal::UnitTestImpl
◆ Test
The documentation for this class was generated from the following files:
- libraries/fc/include/fc/crypto/webauthn_json/thirdparty/gtest/googletest/include/gtest/gtest.h
- libraries/fc/include/fc/crypto/webauthn_json/thirdparty/gtest/googletest/src/gtest.cc