Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Protected Types | Protected Member Functions | Static Protected Member Functions | Friends
perf::TestBaseWithParam< T > Class Template Reference

#include <ts_perf.hpp>

Inherits perf::TestBase, and testing::WithParamInterface< T >.

List of all members.

Public Types

typedef internal::SetUpTestCaseFunc SetUpTestCaseFunc
typedef
internal::TearDownTestCaseFunc 
TearDownTestCaseFunc
typedef T ParamType

Public Member Functions

const ParamTypeGetParam () const

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_metricscalcMetrics ()
void RunPerfTestBody ()

Static Protected Member Functions

static void warmup (cv::InputOutputArray a, int wtype=WARMUP_READ)

Friends

class TestInfo
class internal::ParameterizedTestFactory

template<typename T>
class perf::TestBaseWithParam< T >


Member Typedef Documentation

typedef internal::SetUpTestCaseFunc testing::Test::SetUpTestCaseFunc [inherited]
typedef internal::TearDownTestCaseFunc testing::Test::TearDownTestCaseFunc [inherited]
template<typename T>
typedef T testing::WithParamInterface< T >::ParamType [inherited]

Member Enumeration Documentation

anonymous enum [protected, inherited]
Enumerator:
WARMUP_READ 
WARMUP_WRITE 
WARMUP_RNG 
WARMUP_NONE 

Member Function Documentation

static void perf::TestBase::Init ( int  argc,
const char *const  argv[] 
) [static, inherited]
static std::string perf::TestBase::getDataPath ( const std::string &  relativePath) [static, inherited]
virtual void perf::TestBase::PerfTestBody ( ) [protected, pure virtual, inherited]
virtual void perf::TestBase::SetUp ( ) [protected, virtual, inherited]

Reimplemented from testing::Test.

virtual void perf::TestBase::TearDown ( ) [protected, virtual, inherited]

Reimplemented from testing::Test.

void perf::TestBase::startTimer ( ) [protected, inherited]
void perf::TestBase::stopTimer ( ) [protected, inherited]
bool perf::TestBase::next ( ) [protected, inherited]
void perf::TestBase::reportMetrics ( bool  toJUnitXML = false) [protected, inherited]
static void perf::TestBase::warmup ( cv::InputOutputArray  a,
int  wtype = WARMUP_READ 
) [static, protected, inherited]
performance_metrics& perf::TestBase::calcMetrics ( ) [protected, inherited]
void perf::TestBase::RunPerfTestBody ( ) [protected, inherited]
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]
template<typename T>
const ParamType& testing::WithParamInterface< T >::GetParam ( ) const [inherited]

Friends And Related Function Documentation

friend class TestInfo [friend, inherited]
template<typename T>
friend class internal::ParameterizedTestFactory [friend, inherited]

Member Data Documentation


The documentation for this class was generated from the following file: