source: ThirdParty/CodePatterns/src/Patterns/unittests/SingletonUnitTest.hpp

Candidate_v1.6.1
Last change on this file was 41e8e2, checked in by Frederik Heber <heber@…>, 8 years ago

Merge commit '084729c5923f0123e695fbe2548b393288c1f13d' as 'ThirdParty/CodePatterns'

  • Property mode set to 100644
File size: 587 bytes
Line 
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
18class SingletonTest : public CppUnit::TestFixture
19{
20 CPPUNIT_TEST_SUITE( SingletonTest );
21 CPPUNIT_TEST ( ConstructionTest );
22 CPPUNIT_TEST ( LockedTest );
23 CPPUNIT_TEST_SUITE_END();
24
25public:
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.