#include <TestControllerPool.hpp>
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. | |
| 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
1.5.0