#include <gtest.h>
Definition at line 571 of file gtest.h.
◆ TestResult()
testing::TestResult::TestResult |
( |
| ) |
|
Definition at line 2201 of file gtest.cc.
2202 : death_test_count_(0), start_timestamp_(0), elapsed_time_(0) {}
◆ ~TestResult()
testing::TestResult::~TestResult |
( |
| ) |
|
◆ elapsed_time()
Definition at line 602 of file gtest.h.
602{ return elapsed_time_; }
◆ Failed()
bool testing::TestResult::Failed |
( |
| ) |
const |
Definition at line 2375 of file gtest.cc.
2375 {
2378 return true;
2379 }
2380 return false;
2381}
int total_part_count() const
const TestPartResult & GetTestPartResult(int i) const
◆ GetTestPartResult()
const TestPartResult & testing::TestResult::GetTestPartResult |
( |
int |
i | ) |
const |
Definition at line 2211 of file gtest.cc.
2211 {
2214 return test_part_results_.at(
static_cast<size_t>(
i));
2215}
◆ GetTestProperty()
const TestProperty & testing::TestResult::GetTestProperty |
( |
int |
i | ) |
const |
Definition at line 2220 of file gtest.cc.
2220 {
2223 return test_properties_.at(
static_cast<size_t>(
i));
2224}
int test_property_count() const
◆ HasFatalFailure()
bool testing::TestResult::HasFatalFailure |
( |
| ) |
const |
Definition at line 2389 of file gtest.cc.
2389 {
2390 return CountIf(test_part_results_, TestPartFatallyFailed) > 0;
2391}
◆ HasNonfatalFailure()
bool testing::TestResult::HasNonfatalFailure |
( |
| ) |
const |
Definition at line 2399 of file gtest.cc.
2399 {
2400 return CountIf(test_part_results_, TestPartNonfatallyFailed) > 0;
2401}
◆ Passed()
bool testing::TestResult::Passed |
( |
| ) |
const |
|
inline |
◆ Skipped()
bool testing::TestResult::Skipped |
( |
| ) |
const |
Definition at line 2370 of file gtest.cc.
2370 {
2371 return !
Failed() && CountIf(test_part_results_, TestPartSkipped) > 0;
2372}
◆ start_timestamp()
Definition at line 606 of file gtest.h.
606{ return start_timestamp_; }
◆ test_property_count()
int testing::TestResult::test_property_count |
( |
| ) |
const |
Definition at line 2410 of file gtest.cc.
2410 {
2411 return static_cast<int>(test_properties_.size());
2412}
◆ total_part_count()
int testing::TestResult::total_part_count |
( |
| ) |
const |
Definition at line 2405 of file gtest.cc.
2405 {
2406 return static_cast<int>(test_part_results_.size());
2407}
◆ internal::DefaultGlobalTestPartResultReporter
friend class internal::DefaultGlobalTestPartResultReporter |
|
friend |
◆ internal::ExecDeathTest
friend class internal::ExecDeathTest |
|
friend |
◆ internal::FuchsiaDeathTest
friend class internal::FuchsiaDeathTest |
|
friend |
◆ internal::TestResultAccessor
friend class internal::TestResultAccessor |
|
friend |
◆ internal::UnitTestImpl
friend class internal::UnitTestImpl |
|
friend |
◆ internal::WindowsDeathTest
friend class internal::WindowsDeathTest |
|
friend |
◆ TestInfo
◆ TestSuite
◆ UnitTest
The documentation for this class was generated from the following files:
- /media/home/debian/src/github/tesseract-ocr/tesseract/unittest/third_party/googletest/googletest/include/gtest/gtest.h
- /media/home/debian/src/github/tesseract-ocr/tesseract/unittest/third_party/googletest/googletest/src/gtest.cc