IODA Bundle
odc::tool::test::TestRunner Class Reference

#include <TestRunner.h>

Collaboration diagram for odc::tool::test::TestRunner:
[legend]

Public Member Functions

 TestRunner (CommandLineParser &)
 
virtual ~TestRunner ()
 
size_t numberOfFailed ()
 
void run ()
 

Private Types

typedef std::pair< std::string, std::string > FailedTest
 
typedef std::map< std::string, std::vector< std::string > > Suites
 

Private Member Functions

void readConfig (const eckit::PathName fileName)
 
void runTests (const TestCases &tests)
 
void smslabel (const std::string &)
 

Private Attributes

CommandLineParser clp_
 
Suites suites_
 
std::vector< FailedTestfailed_
 
std::stringstream runningTimes_
 
std::stringstream xml_
 
bool mars_sms_label_
 
std::string label_
 

Detailed Description

Definition at line 25 of file TestRunner.h.

Member Typedef Documentation

◆ FailedTest

typedef std::pair<std::string, std::string> odc::tool::test::TestRunner::FailedTest
private

Definition at line 35 of file TestRunner.h.

◆ Suites

typedef std::map<std::string, std::vector<std::string> > odc::tool::test::TestRunner::Suites
private

Definition at line 36 of file TestRunner.h.

Constructor & Destructor Documentation

◆ TestRunner()

odc::tool::test::TestRunner::TestRunner ( CommandLineParser clp)

Definition at line 37 of file TestRunner.cc.

◆ ~TestRunner()

odc::tool::test::TestRunner::~TestRunner ( )
virtual

Definition at line 49 of file TestRunner.cc.

Member Function Documentation

◆ numberOfFailed()

size_t odc::tool::test::TestRunner::numberOfFailed ( )
inline

Definition at line 30 of file TestRunner.h.

◆ readConfig()

void odc::tool::test::TestRunner::readConfig ( const eckit::PathName  fileName)
private

Definition at line 173 of file TestRunner.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ run()

void odc::tool::test::TestRunner::run ( )

Definition at line 51 of file TestRunner.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ runTests()

void odc::tool::test::TestRunner::runTests ( const TestCases tests)
private

Definition at line 119 of file TestRunner.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ smslabel()

void odc::tool::test::TestRunner::smslabel ( const std::string &  )
private

Definition at line 193 of file TestRunner.cc.

Here is the caller graph for this function:

Member Data Documentation

◆ clp_

CommandLineParser odc::tool::test::TestRunner::clp_
private

Definition at line 43 of file TestRunner.h.

◆ failed_

std::vector<FailedTest> odc::tool::test::TestRunner::failed_
private

Definition at line 46 of file TestRunner.h.

◆ label_

std::string odc::tool::test::TestRunner::label_
private

Definition at line 51 of file TestRunner.h.

◆ mars_sms_label_

bool odc::tool::test::TestRunner::mars_sms_label_
private

Definition at line 50 of file TestRunner.h.

◆ runningTimes_

std::stringstream odc::tool::test::TestRunner::runningTimes_
private

Definition at line 47 of file TestRunner.h.

◆ suites_

Suites odc::tool::test::TestRunner::suites_
private

Definition at line 45 of file TestRunner.h.

◆ xml_

std::stringstream odc::tool::test::TestRunner::xml_
private

Definition at line 48 of file TestRunner.h.


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