ParCompMarkTest::TestHostInfo Class Reference

#include <TestHostInfo.h>

List of all members.


Detailed Description

Test suite for ParCompMark::HostInfo.

This is a CppUnit test suite for class ParCompMark::HostInfo of project ParCompMark.

Definition at line 56 of file TestHostInfo.h.


Public Member Functions

void setUp ()
 Sets up context before running a test.
void tearDown ()
 Cleans up after the test run.

Protected Member Functions

void test_constructor_cstd__string_cOutputNode__NodeType ()
 Tests constructor HostInfo::HostInfo(const std::string &name, const OutputNode::NodeType &type).
void test_destructor ()
 Tests destructor HostInfo::~HostInfo().
void test_parseXML_TiXmlElement_p ()
 Tests method HostInfo::parseXML(TiXmlElement * &tiHostinfo).
void test_refreshData ()
 Tests method HostInfo::refreshData().
void test_refreshCPUs_OutputNode__Pointer ()
 Tests method HostInfo::refreshCPUs(OutputNode::Pointer &cpus).
void test_refreshGPUs_OutputNode__Pointer ()
 Tests method HostInfo::refreshGPUs(OutputNode::Pointer &gpus).

Member Function Documentation

void ParCompMarkTest::TestHostInfo::setUp (  ) 

Sets up context before running a test.

Definition at line 35 of file TestHostInfo.cpp.

void ParCompMarkTest::TestHostInfo::tearDown (  ) 

Cleans up after the test run.

Definition at line 59 of file TestHostInfo.cpp.

void ParCompMarkTest::TestHostInfo::test_constructor_cstd__string_cOutputNode__NodeType (  )  [protected]

Tests constructor HostInfo::HostInfo(const std::string &name, const OutputNode::NodeType &type).

Definition at line 69 of file TestHostInfo.cpp.

void ParCompMarkTest::TestHostInfo::test_destructor (  )  [protected]

Tests destructor HostInfo::~HostInfo().

Definition at line 83 of file TestHostInfo.cpp.

void ParCompMarkTest::TestHostInfo::test_parseXML_TiXmlElement_p (  )  [protected]

Tests method HostInfo::parseXML(TiXmlElement * &tiHostinfo).

Definition at line 95 of file TestHostInfo.cpp.

void ParCompMarkTest::TestHostInfo::test_refreshCPUs_OutputNode__Pointer (  )  [protected]

Tests method HostInfo::refreshCPUs(OutputNode::Pointer &cpus).

Definition at line 148 of file TestHostInfo.cpp.

void ParCompMarkTest::TestHostInfo::test_refreshData (  )  [protected]

Tests method HostInfo::refreshData().

Definition at line 134 of file TestHostInfo.cpp.

void ParCompMarkTest::TestHostInfo::test_refreshGPUs_OutputNode__Pointer (  )  [protected]

Tests method HostInfo::refreshGPUs(OutputNode::Pointer &gpus).

Definition at line 162 of file TestHostInfo.cpp.


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