TestControllerPool Class Reference

Test class for controller connection policy Tests suspected controller queuing and update A controller *MUST* run locally for test success !!! More...

#include <TestControllerPool.hpp>

List of all members.

Public Member Functions

void setUp ()
 Nothing to setup.
void tearDown ()
 Nothing to tearDown.
void testRoundRobinSequence ()
 Adds 2 out of 4 controllers to the list of suspects and checks that the getController function returns the non suspect controller in the good order.
void testNoMoreController ()
 Adds all controllers to the list of suspects and checks that an error is thrown when asking for another controller (NoMoreControllerException).
void testSuspectListUpdate ()
 USER INTERACTION NEEDED ! Adds valid controllers to the list of suspects and checks that they come up again.

Static Public Member Functions

static CppUnit::Test * suite ()
 Suite of tests to be run.


Detailed Description

Test class for controller connection policy Tests suspected controller queuing and update A controller *MUST* run locally for test success !!!


Member Function Documentation

void TestControllerPool::testSuspectListUpdate (  ) 

USER INTERACTION NEEDED ! Adds valid controllers to the list of suspects and checks that they come up again.

Note: this test needs 4 (basic) servers to run locally !!! (user input is asked when servers are ready). These servers can be simulated by Lenart Janos's socket utility ("socket -s <port>" command) See http://packages.debian.org/stable/net/socket for more info


The documentation for this class was generated from the following file:
Generated on Tue Oct 24 09:05:37 2006 for Carob by  doxygen 1.5.0