1 |
/* |
2 |
************************************************************ |
3 |
* Copyright 2006 by ACcESS MNRF * |
4 |
* * |
5 |
* http://www.access.edu.au * |
6 |
* Primary Business: Queensland, Australia * |
7 |
* Licensed under the Open Software License version 3.0 * |
8 |
* http://www.opensource.org/licenses/osl-3.0.php * |
9 |
* * |
10 |
************************************************************ |
11 |
*/ |
12 |
|
13 |
#if !defined BruceFactoryTestCase_20050901_H |
14 |
#define BruceFactoryTestCase_20050901_H |
15 |
|
16 |
#include "CppUnitTest/TestCase.h" |
17 |
#include "CppUnitTest/TestSuite.h" |
18 |
#include "CppUnitTest/TestCaller.h" |
19 |
|
20 |
class BruceFactoryTestCase : public CppUnitTest::TestCase |
21 |
{ |
22 |
|
23 |
public: |
24 |
|
25 |
// |
26 |
// setUp is called before each test method to set up test state |
27 |
void setUp(); |
28 |
// |
29 |
// tearDown is called after each test method is called. |
30 |
void tearDown(); |
31 |
|
32 |
// |
33 |
// A test method must return void and have no arguments |
34 |
// BruceFactory class |
35 |
void testAll(); |
36 |
|
37 |
BruceFactoryTestCase (std::string name) : TestCase (name) {} |
38 |
~BruceFactoryTestCase() {} |
39 |
// |
40 |
// |
41 |
// return the suite of tests to perform |
42 |
// |
43 |
static CppUnitTest::TestSuite* suite (); |
44 |
}; |
45 |
|
46 |
#endif |