Last change
on this file since abab7e was ff1812, checked in by Tillmann Crueger <crueger@…>, 15 years ago |
Added Unittest for Singleton pattern
|
-
Property mode
set to
100644
|
File size:
450 bytes
|
Line | |
---|
1 | /*
|
---|
2 | * SingletonTest.hpp
|
---|
3 | *
|
---|
4 | * Created on: Mar 11, 2010
|
---|
5 | * Author: crueger
|
---|
6 | */
|
---|
7 |
|
---|
8 | #ifndef SINGLETONTEST_HPP_
|
---|
9 | #define SINGLETONTEST_HPP_
|
---|
10 |
|
---|
11 | #include <cppunit/extensions/HelperMacros.h>
|
---|
12 |
|
---|
13 | class SingletonTest : public CppUnit::TestFixture
|
---|
14 | {
|
---|
15 | CPPUNIT_TEST_SUITE( SingletonTest );
|
---|
16 | CPPUNIT_TEST ( ConstructionTest );
|
---|
17 | CPPUNIT_TEST_SUITE_END();
|
---|
18 |
|
---|
19 | public:
|
---|
20 | void setUp();
|
---|
21 | void tearDown();
|
---|
22 |
|
---|
23 | void ConstructionTest();
|
---|
24 | };
|
---|
25 |
|
---|
26 | #endif /* SINGLETONTEST_HPP_ */
|
---|
Note:
See
TracBrowser
for help on using the repository browser.