source: src/Patterns/unittests/CreatorUnitTest.hpp@ 567640

Last change on this file since 567640 was 746ff1, checked in by Frederik Heber <heber@…>, 15 years ago

Added Creator and Factory pattern.

  • unittests added.
  • new subfolder stubs that contains stubs for Creator and Factory.
  • the only preprocessor stuff is in Factory_impl.hpp.
  • FactoryTypeList.hpp is necessary as long as no variadic template argument lists are possible.
  • library version is 2:0:0, API version is 1.0.2.
  • Property mode set to 100644
File size: 590 bytes
Line 
1/*
2 * CreatorUnitTest.hpp
3 *
4 * Created on: Jan 03, 2011
5 * Author: heber
6 */
7
8#ifndef CREATORUNITTEST_HPP_
9#define CREATORUNITTEST_HPP_
10
11// include config.h
12#ifdef HAVE_CONFIG_H
13#include <config.h>
14#endif
15
16
17#include <cppunit/extensions/HelperMacros.h>
18
19class CreatorTest : public CppUnit::TestFixture
20{
21 CPPUNIT_TEST_SUITE( CreatorTest );
22 CPPUNIT_TEST ( CreationTest );
23 CPPUNIT_TEST ( IndividualityTest );
24 CPPUNIT_TEST_SUITE_END();
25
26public:
27 void setUp();
28 void tearDown();
29
30 void CreationTest();
31 void IndividualityTest();
32
33private:
34};
35
36#endif /* CREATORUNITTEST_HPP_ */
Note: See TracBrowser for help on using the repository browser.