Candidate_v1.6.1
ChemicalSpaceEvaluator
TremoloParser_IncreasedPrecision
Rev | Line | |
---|
[404d2b] | 1 | /*
|
---|
| 2 | * WorkerPoolUnitTest.hpp
|
---|
| 3 | *
|
---|
| 4 | * Created on: Feb 28, 2012
|
---|
| 5 | * Author: heber
|
---|
| 6 | */
|
---|
| 7 |
|
---|
| 8 | #ifndef WORKERPOOLUNITTEST_HPP_
|
---|
| 9 | #define WORKERPOOLUNITTEST_HPP_
|
---|
| 10 |
|
---|
| 11 | // include config.h
|
---|
| 12 | #ifdef HAVE_CONFIG_H
|
---|
| 13 | #include <config.h>
|
---|
| 14 | #endif
|
---|
| 15 |
|
---|
| 16 |
|
---|
| 17 | #include <cppunit/extensions/HelperMacros.h>
|
---|
| 18 |
|
---|
| 19 | class WorkerPool;
|
---|
| 20 | class NotificationObserver;
|
---|
| 21 |
|
---|
| 22 | /********************************************** Test classes **************************************/
|
---|
| 23 |
|
---|
| 24 | class WorkerPoolTest : public CppUnit::TestFixture
|
---|
| 25 | {
|
---|
| 26 | CPPUNIT_TEST_SUITE( WorkerPoolTest) ;
|
---|
| 27 | CPPUNIT_TEST ( WorkerTest );
|
---|
| 28 | CPPUNIT_TEST ( markBusyTest );
|
---|
| 29 | CPPUNIT_TEST_SUITE_END();
|
---|
| 30 |
|
---|
| 31 | public:
|
---|
| 32 | void setUp();
|
---|
| 33 | void tearDown();
|
---|
| 34 | void WorkerTest();
|
---|
| 35 | void markBusyTest();
|
---|
| 36 |
|
---|
| 37 | private:
|
---|
| 38 | WorkerPool *pool;
|
---|
| 39 | NotificationObserver *addobserver;
|
---|
| 40 | NotificationObserver *idleobserver;
|
---|
| 41 | };
|
---|
| 42 |
|
---|
| 43 | #endif /* WORKERPOOLUNITTEST_HPP_ */
|
---|
Note:
See
TracBrowser
for help on using the repository browser.