IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | List of all members
ipsdk::unittest::UnitTestResult Class Reference

Serializable class used to store unit test results. More...

#include <UnitTestResult.h>

Inheritance diagram for ipsdk::unittest::UnitTestResult:
ipsdk::BaseDataItemNode ipsdk::BaseDataItem ipsdk::BaseToolTip ipsdk::BaseSerializationObject ipsdk::BaseDynamicObject

Public Member Functions

const std::string & getObjectName () const
 method allowing to retrieve object name
 
const std::string & getToolTip () const
 method allowing to retrieve object tooltip
 
const boost::filesystem::path getHeaderPath () const
 retrieve relative header path associated to data item node
 
const std::string getLibraryName () const
 retrieve library name associated data item node
 
const ipsdk::ItemNamesgetItemIds () const
 retrieve item associated to a given id More...
 
 ~UnitTestResult ()
 public destructor
 
Methods associated to sub node TestName
template<>
const ipsdk::DataItemLeaf< std::string > & getNode () const
 access to sub node TestName
 
template<>
ipsdk::DataItemLeaf< std::string > & get ()
 access to sub node TestName
 
template<>
const std::string & getValue () const
 access to value for sub node TestName
 
template<>
void setValue (const std::string &value)
 access to value for sub node TestName
 
Methods associated to sub node OutputHtmlFilePath
template<>
const ipsdk::DataItemLeaf< boost::filesystem::path > & getNode () const
 access to sub node OutputHtmlFilePath
 
template<>
ipsdk::DataItemLeaf< boost::filesystem::path > & get ()
 access to sub node OutputHtmlFilePath
 
template<>
const boost::filesystem::path & getValue () const
 access to value for sub node OutputHtmlFilePath
 
template<>
void setValue (const boost::filesystem::path &value)
 access to value for sub node OutputHtmlFilePath
 
Methods associated to sub node NbTestSuites
template<>
const ipsdk::DataItemLeaf< ipsdk::ipUInt32 > & getNode () const
 access to sub node NbTestSuites
 
template<>
ipsdk::DataItemLeaf< ipsdk::ipUInt32 > & get ()
 access to sub node NbTestSuites
 
template<>
const ipsdk::ipUInt32getValue () const
 access to value for sub node NbTestSuites
 
template<>
void setValue (const ipsdk::ipUInt32 &value)
 access to value for sub node NbTestSuites
 
Methods associated to sub node NbTestCases
template<>
const ipsdk::DataItemLeaf< ipsdk::ipUInt32 > & getNode () const
 access to sub node NbTestCases
 
template<>
ipsdk::DataItemLeaf< ipsdk::ipUInt32 > & get ()
 access to sub node NbTestCases
 
template<>
const ipsdk::ipUInt32getValue () const
 access to value for sub node NbTestCases
 
template<>
void setValue (const ipsdk::ipUInt32 &value)
 access to value for sub node NbTestCases
 
Methods associated to sub node NbTests
template<>
const ipsdk::DataItemLeaf< ipsdk::ipUInt32 > & getNode () const
 access to sub node NbTests
 
template<>
ipsdk::DataItemLeaf< ipsdk::ipUInt32 > & get ()
 access to sub node NbTests
 
template<>
const ipsdk::ipUInt32getValue () const
 access to value for sub node NbTests
 
template<>
void setValue (const ipsdk::ipUInt32 &value)
 access to value for sub node NbTests
 
Methods associated to sub node NbErrors
template<>
const ipsdk::DataItemLeaf< ipsdk::ipUInt32 > & getNode () const
 access to sub node NbErrors
 
template<>
ipsdk::DataItemLeaf< ipsdk::ipUInt32 > & get ()
 access to sub node NbErrors
 
template<>
const ipsdk::ipUInt32getValue () const
 access to value for sub node NbErrors
 
template<>
void setValue (const ipsdk::ipUInt32 &value)
 access to value for sub node NbErrors
 
Methods associated to sub node NbWarnings
template<>
const ipsdk::DataItemLeaf< ipsdk::ipUInt32 > & getNode () const
 access to sub node NbWarnings
 
template<>
ipsdk::DataItemLeaf< ipsdk::ipUInt32 > & get ()
 access to sub node NbWarnings
 
template<>
const ipsdk::ipUInt32getValue () const
 access to value for sub node NbWarnings
 
template<>
void setValue (const ipsdk::ipUInt32 &value)
 access to value for sub node NbWarnings
 
- Public Member Functions inherited from ipsdk::BaseDataItemNode
virtual ~BaseDataItemNode ()=0
 public destructor
 
eDataItemType getDataItemType () const
 retrieve data item type
 
bool existsItem (const std::string &itemId) const
 check whether an item exists given its id
 
const BaseDataItemgetItem (const std::string &itemId) const
 retrieve item associated to a given id More...
 
const std::string & getItemName (const std::string &itemId) const
 retrieve item name associated to a given id More...
 
const std::string & getItemToolTip (const std::string &itemId) const
 retrieve item tooltip associated to a given id More...
 
- Public Member Functions inherited from ipsdk::BaseDataItem
 BaseDataItem ()
 
virtual ~BaseDataItem ()=0
 
- Public Member Functions inherited from ipsdk::BaseSerializationObject
 BaseSerializationObject ()
 Default constructor.
 
virtual ~BaseSerializationObject ()=0
 destructor
 
- Public Member Functions inherited from ipsdk::BaseDynamicObject
virtual const std::string & getClassName () const
 method allowing to retrieve object class name
 
virtual BaseDynamicObjectcreateNew () const =0
 method allowing to create new instance of current object type
 
virtual DynamicObjectPtr createShared () const =0
 method allowing to create new shared instance of current object type
 
virtual bool hasCopySupport () const =0
 check whether objet has copy support
 
virtual BaseDynamicObjectduplicate () const =0
 method allowing to duplicate current object More...
 
virtual DynamicObjectPtr duplicateShared () const =0
 method allowing shared duplication of current object More...
 
 BaseDynamicObject ()
 
virtual ~BaseDynamicObject ()=0
 
- Public Member Functions inherited from ipsdk::BaseToolTip
 BaseToolTip ()
 
virtual ~BaseToolTip ()=0
 

Static Public Member Functions

static const std::string & getObjectNameStr ()
 method allowing to retrieve object name
 
static const std::string & getToolTipStr ()
 method allowing to retrieve object tooltip
 
static const boost::filesystem::path getHeaderPathStr ()
 retrieve relative header path associated to data item node
 
static const std::string getLibraryNameStr ()
 retrieve library name associated data item node
 
static boost::shared_ptr< UnitTestResultcreateNode ()
 node creation function
 
- Static Public Member Functions inherited from ipsdk::BaseSerializationObject
static ipUInt32 getVersion ()
 method allowing to retrieve class version information for serialization
 
- Static Public Member Functions inherited from ipsdk::BaseDynamicObject
static const std::string & getTypeName ()
 method allowing to retrieve name associated to class
 

Static Public Attributes

static const ipsdk::ipUInt32 g_nbChildNodes
 number of child nodes associated to object
 
- Static Public Attributes inherited from ipsdk::BaseDataItemNode
static const bool g_bIsColl = false
 flags indicating item type
 
static const bool g_bNode = true
 flags indicating item type
 
static const bool g_bLeaf = false
 flags indicating item type
 
static const eDataItemType::domain g_itemType = eDataItemType::eDIT_Node
 flags indicating item type
 

Protected Member Functions

 UnitTestResult ()
 protected constructor
 
- Protected Member Functions inherited from ipsdk::BaseDataItemNode
 BaseDataItemNode ()
 protected constructor
 
virtual ItemInfoPtr getItemInfo (const std::string &itemId) const =0
 retrieve item informations associated to a given id More...
 
- Protected Member Functions inherited from ipsdk::BaseSerializationObject
virtual BoolResult write (BaseOArchive &ar) const
 method allowing to ensure serialization write part for object
 
virtual BoolResult read (BaseIArchive &ar)
 method allowing to ensure serialization read part for object
 
- Protected Member Functions inherited from ipsdk::BaseDynamicObject
virtual void initCtorCopy (const BaseDynamicObject &object)
 
virtual void copy (const BaseDynamicObject &object)
 method allowing to copy data from another object
 

Additional Inherited Members

- Protected Types inherited from ipsdk::BaseDataItemNode
typedef boost::shared_ptr< ItemInfoItemInfoPtr
 shared pointer to item informations
 

Detailed Description

Serializable class used to store unit test results.

Author
E. Noirfalise
Date
2014/04/25

Node associated library :

IPSDKUnitTestToolsLib_Grp

SubNodes description

Name ToolTip Associated Class Default Value
TestName Unit test name. ipsdk::DataItemLeaf<std::string>
OutputHtmlFilePath Output html file path for unit test results. ipsdk::DataItemLeaf<boost::filesystem::path>
NbTestSuites Number of test suites for unit test. ipsdk::DataItemLeaf<ipsdk::ipUInt32>
NbTestCases Number of test cases for unit test. ipsdk::DataItemLeaf<ipsdk::ipUInt32>
NbTests Number of tests for unit test. ipsdk::DataItemLeaf<ipsdk::ipUInt32>
NbErrors Number of errors for unit test execution. ipsdk::DataItemLeaf<ipsdk::ipUInt32>
NbWarnings Number of warnings for unit test execution. ipsdk::DataItemLeaf<ipsdk::ipUInt32>

Member Function Documentation

◆ getItemIds()

const ipsdk::ItemNames& ipsdk::unittest::UnitTestResult::getItemIds ( ) const
virtual

retrieve item associated to a given id

Exceptions
ipsdk::IPSDKBaseDataExceptionif existsItem(itemName) == false

Implements ipsdk::BaseDataItemNode.


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