1 |
/* |
2 |
***************************************************************************** |
3 |
* * |
4 |
* COPYRIGHT ACcESS - All Rights Reserved * |
5 |
* * |
6 |
* This software is the property of ACcESS. No part of this code * |
7 |
* may be copied in any form or by any means without the expressed written * |
8 |
* consent of ACcESS. Copying, use or modification of this software * |
9 |
* by any unauthorised person is illegal unless that person has a software * |
10 |
* license agreement with ACcESS. * |
11 |
* * |
12 |
***************************************************************************** |
13 |
*/ |
14 |
|
15 |
#if !defined BruceFactoryTestCase_20050901_H |
16 |
#define BruceFactoryTestCase_20050901_H |
17 |
|
18 |
#include "tools/CppUnitTest/TestCase.h" |
19 |
#include "tools/CppUnitTest/TestSuite.h" |
20 |
#include "tools/CppUnitTest/TestCaller.h" |
21 |
|
22 |
class BruceFactoryTestCase : public CppUnitTest::TestCase |
23 |
{ |
24 |
|
25 |
public: |
26 |
|
27 |
// |
28 |
// setUp is called before each test method to set up test state |
29 |
void setUp(); |
30 |
// |
31 |
// tearDown is called after each test method is called. |
32 |
void tearDown(); |
33 |
|
34 |
// |
35 |
// A test method must return void and have no arguments |
36 |
// BruceFactory class |
37 |
void testAll(); |
38 |
|
39 |
BruceFactoryTestCase (std::string name) : TestCase (name) {} |
40 |
~BruceFactoryTestCase() {} |
41 |
// |
42 |
// |
43 |
// return the suite of tests to perform |
44 |
// |
45 |
static CppUnitTest::TestSuite* suite (); |
46 |
}; |
47 |
|
48 |
#endif |