ParCompMarkTest::TestClient Class Reference

#include <TestClient.h>

List of all members.


Detailed Description

Test suite for ParCompMark::Client.

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

Definition at line 56 of file TestClient.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 ()
 Tests constructor Client::Client(const std::string &name).
void test_destructor ()
 Tests destructor Client::~Client().
void test_openConnection ()
 Tests method Client::openConnection().
void test_closeConnection ()
 Tests method Client::closeConnection().
void test_sendMessage_cstd__string_cstd__string ()
 Tests method Client::sendMessage(const std::string &type, const std::string &message).
void test_recieveMessage ()
 Tests method Client::recieveMessage().
void test_handleMessage ()
 Tests method Client::handleMessage().

Member Function Documentation

void ParCompMarkTest::TestClient::setUp (  ) 

Sets up context before running a test.

Definition at line 33 of file TestClient.cpp.

void ParCompMarkTest::TestClient::tearDown (  ) 

Cleans up after the test run.

Definition at line 39 of file TestClient.cpp.

void ParCompMarkTest::TestClient::test_closeConnection (  )  [protected]

Tests method Client::closeConnection().

Definition at line 89 of file TestClient.cpp.

void ParCompMarkTest::TestClient::test_constructor_cstd__string (  )  [protected]

Tests constructor Client::Client(const std::string &name).

Definition at line 49 of file TestClient.cpp.

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

Tests destructor Client::~Client().

Definition at line 63 of file TestClient.cpp.

void ParCompMarkTest::TestClient::test_handleMessage (  )  [protected]

Tests method Client::handleMessage().

Definition at line 131 of file TestClient.cpp.

void ParCompMarkTest::TestClient::test_openConnection (  )  [protected]

Tests method Client::openConnection().

Definition at line 75 of file TestClient.cpp.

void ParCompMarkTest::TestClient::test_recieveMessage (  )  [protected]

Tests method Client::recieveMessage().

Definition at line 117 of file TestClient.cpp.

void ParCompMarkTest::TestClient::test_sendMessage_cstd__string_cstd__string (  )  [protected]

Tests method Client::sendMessage(const std::string &type, const std::string &message).

Definition at line 103 of file TestClient.cpp.


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