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