#include <ts_perf.hpp>
Inherits testing::Test.
Inherited by perf::TestBaseWithParam< T >.
Classes | |
| class | _declareHelper |
Public Types | |
| typedef internal::SetUpTestCaseFunc | SetUpTestCaseFunc |
| typedef internal::TearDownTestCaseFunc | TearDownTestCaseFunc |
Public Member Functions | |
| TestBase () | |
Static Public Member Functions | |
| static void | Init (int argc, const char *const argv[]) |
| static std::string | getDataPath (const std::string &relativePath) |
| static void | SetUpTestCase () |
| static void | TearDownTestCase () |
| static bool | HasFatalFailure () |
| static bool | HasNonfatalFailure () |
| static bool | HasFailure () |
| static void | RecordProperty (const char *key, const char *value) |
| static void | RecordProperty (const char *key, int value) |
Public Attributes | |
| _declareHelper | declare |
Protected Types | |
| enum | { WARMUP_READ, WARMUP_WRITE, WARMUP_RNG, WARMUP_NONE } |
Protected Member Functions | |
| virtual void | PerfTestBody ()=0 |
| virtual void | SetUp () |
| virtual void | TearDown () |
| void | startTimer () |
| void | stopTimer () |
| bool | next () |
| void | reportMetrics (bool toJUnitXML=false) |
| performance_metrics & | calcMetrics () |
| void | RunPerfTestBody () |
Static Protected Member Functions | |
| static void | warmup (cv::InputOutputArray a, int wtype=WARMUP_READ) |
Friends | |
| class | _declareHelper |
| class | Regression |
| class | TestInfo |
typedef internal::SetUpTestCaseFunc testing::Test::SetUpTestCaseFunc [inherited] |
typedef internal::TearDownTestCaseFunc testing::Test::TearDownTestCaseFunc [inherited] |
| static void perf::TestBase::Init | ( | int | argc, |
| const char *const | argv[] | ||
| ) | [static] |
| static std::string perf::TestBase::getDataPath | ( | const std::string & | relativePath | ) | [static] |
| virtual void perf::TestBase::PerfTestBody | ( | ) | [protected, pure virtual] |
| virtual void perf::TestBase::SetUp | ( | ) | [protected, virtual] |
Reimplemented from testing::Test.
| virtual void perf::TestBase::TearDown | ( | ) | [protected, virtual] |
Reimplemented from testing::Test.
| void perf::TestBase::startTimer | ( | ) | [protected] |
| void perf::TestBase::stopTimer | ( | ) | [protected] |
| bool perf::TestBase::next | ( | ) | [protected] |
| void perf::TestBase::reportMetrics | ( | bool | toJUnitXML = false | ) | [protected] |
| static void perf::TestBase::warmup | ( | cv::InputOutputArray | a, |
| int | wtype = WARMUP_READ |
||
| ) | [static, protected] |
| performance_metrics& perf::TestBase::calcMetrics | ( | ) | [protected] |
| void perf::TestBase::RunPerfTestBody | ( | ) | [protected] |
| static void testing::Test::SetUpTestCase | ( | ) | [static, inherited] |
| static void testing::Test::TearDownTestCase | ( | ) | [static, inherited] |
| static bool testing::Test::HasFatalFailure | ( | ) | [static, inherited] |
| static bool testing::Test::HasNonfatalFailure | ( | ) | [static, inherited] |
| static bool testing::Test::HasFailure | ( | ) | [static, inherited] |
| static void testing::Test::RecordProperty | ( | const char * | key, |
| const char * | value | ||
| ) | [static, inherited] |
| static void testing::Test::RecordProperty | ( | const char * | key, |
| int | value | ||
| ) | [static, inherited] |
friend class _declareHelper [friend] |
friend class Regression [friend] |
friend class TestInfo [friend, inherited] |