ParCompMarkTest::TestCluster Class Reference

#include <TestCluster.h>

List of all members.


Detailed Description

Test suite for ParCompMark::Cluster.

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

Definition at line 56 of file TestCluster.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 ()
 Tests constructor Cluster::Cluster().
void test_destructor ()
 Tests destructor Cluster::~Cluster().
void test_parseXML_cstd__string ()
 Method tests.
void test_refreshData ()
 Tests method Cluster::refreshData().
void test_serialize2Squirrel ()
 Tests method Cluster::serialize2Squirrel().
void test_serialize2XML ()
 Tests method Cluster::serialize2XML().

Member Function Documentation

void ParCompMarkTest::TestCluster::setUp (  ) 

Sets up context before running a test.

Definition at line 35 of file TestCluster.cpp.

void ParCompMarkTest::TestCluster::tearDown (  ) 

Cleans up after the test run.

Definition at line 59 of file TestCluster.cpp.

void ParCompMarkTest::TestCluster::test_constructor (  )  [protected]

Tests constructor Cluster::Cluster().

Definition at line 69 of file TestCluster.cpp.

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

Tests destructor Cluster::~Cluster().

Definition at line 80 of file TestCluster.cpp.

void ParCompMarkTest::TestCluster::test_parseXML_cstd__string (  )  [protected]

Method tests.

void TestCluster::test_getHosts() { Cluster *c;

CPPUNIT_ASSERT_NO_THROW(c = new Cluster()); CPPUNIT_ASSERT_NO_THROW(c->getHosts()); printf("\ntestNumberElement: %d\n", c->getHosts()->getElementNumber()); }

Definition at line 109 of file TestCluster.cpp.

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

Tests method Cluster::refreshData().

Definition at line 127 of file TestCluster.cpp.

void ParCompMarkTest::TestCluster::test_serialize2Squirrel (  )  [protected]

Tests method Cluster::serialize2Squirrel().

Definition at line 141 of file TestCluster.cpp.

void ParCompMarkTest::TestCluster::test_serialize2XML (  )  [protected]

Tests method Cluster::serialize2XML().

Definition at line 155 of file TestCluster.cpp.


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