/* * WorkerPoolUnitTest.hpp * * Created on: Feb 28, 2012 * Author: heber */ #ifndef WORKERPOOLUNITTEST_HPP_ #define WORKERPOOLUNITTEST_HPP_ // include config.h #ifdef HAVE_CONFIG_H #include #endif #include class WorkerPool; class NotificationObserver; /********************************************** Test classes **************************************/ class WorkerPoolTest : public CppUnit::TestFixture { CPPUNIT_TEST_SUITE( WorkerPoolTest) ; CPPUNIT_TEST ( WorkerTest ); CPPUNIT_TEST ( markBusyTest ); CPPUNIT_TEST_SUITE_END(); public: void setUp(); void tearDown(); void WorkerTest(); void markBusyTest(); private: WorkerPool *pool; NotificationObserver *addobserver; NotificationObserver *removeobserver; NotificationObserver *idleobserver; }; #endif /* WORKERPOOLUNITTEST_HPP_ */