Classes | Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Protected Types | Protected Member Functions | Static Protected Member Functions | Friends
perf::TestBase Class Reference

#include <ts_perf.hpp>

Inherits testing::Test.

Inherited by perf::TestBaseWithParam< T >.

List of all members.

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

Static Protected Member Functions

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

Friends

class _declareHelper
class Regression
class TestInfo

Member Typedef Documentation

typedef internal::SetUpTestCaseFunc testing::Test::SetUpTestCaseFunc [inherited]
typedef internal::TearDownTestCaseFunc testing::Test::TearDownTestCaseFunc [inherited]

Member Enumeration Documentation

anonymous enum [protected]
Enumerator:
WARMUP_READ 
WARMUP_WRITE 
WARMUP_RNG 
WARMUP_NONE 

Constructor & Destructor Documentation


Member Function Documentation

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.

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]
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]

Friends And Related Function Documentation

friend class _declareHelper [friend]
friend class Regression [friend]
friend class TestInfo [friend, inherited]

Member Data Documentation


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