Candidate_v1.6.1
Rev | Line | |
---|
[084729c] | 1 | /*
|
---|
| 2 | * SingletonUnitTest.hpp
|
---|
| 3 | *
|
---|
| 4 | * Created on: Mar 11, 2010
|
---|
| 5 | * Author: crueger
|
---|
| 6 | */
|
---|
| 7 |
|
---|
| 8 | #ifndef SINGLETONUNITTEST_HPP_
|
---|
| 9 | #define SINGLETONUNITTEST_HPP_
|
---|
| 10 |
|
---|
| 11 | // include config.h
|
---|
| 12 | #ifdef HAVE_CONFIG_H
|
---|
| 13 | #include <config.h>
|
---|
| 14 | #endif
|
---|
| 15 |
|
---|
| 16 | #include <cppunit/extensions/HelperMacros.h>
|
---|
| 17 |
|
---|
| 18 | class SingletonTest : public CppUnit::TestFixture
|
---|
| 19 | {
|
---|
| 20 | CPPUNIT_TEST_SUITE( SingletonTest );
|
---|
| 21 | CPPUNIT_TEST ( ConstructionTest );
|
---|
| 22 | CPPUNIT_TEST ( LockedTest );
|
---|
| 23 | CPPUNIT_TEST_SUITE_END();
|
---|
| 24 |
|
---|
| 25 | public:
|
---|
| 26 | void setUp();
|
---|
| 27 | void tearDown();
|
---|
| 28 |
|
---|
| 29 | void ConstructionTest();
|
---|
| 30 | void LockedTest();
|
---|
| 31 | };
|
---|
| 32 |
|
---|
| 33 | #endif /* SINGLETONUNITTEST_HPP_ */
|
---|
Note:
See
TracBrowser
for help on using the repository browser.