source: src/Parser/Parameters/unittests/ParameterStorageUnitTest.hpp

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

Added ParameterStorage which is a Registry for Parameter instances.

  • also added unit test.
  • Property mode set to 100644
File size: 780 bytes
RevLine 
[ec0acc]1/*
2 * ParameterStorageUnitTest.hpp
3 *
4 * Created on: Sep 30, 2011
5 * Author: heber
6 */
7
8#ifndef PARAMETERSTORAGEUNITTEST_HPP_
9#define PARAMETERSTORAGEUNITTEST_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
19#include "Parser/Parameters/ParameterStorage.hpp"
20
21/********************************************** Test classes **************************************/
22
23class ParameterStorageTest : public CppUnit::TestFixture
24{
25 CPPUNIT_TEST_SUITE( ParameterStorageTest) ;
26 CPPUNIT_TEST ( instanceTest );
27 CPPUNIT_TEST_SUITE_END();
28
29public:
30 void setUp();
31 void tearDown();
32 void instanceTest();
33
34private:
35 ParameterStorage storage;
36};
37
38#endif /* PARAMETERSTORAGEUNITTEST_HPP_ */
Note: See TracBrowser for help on using the repository browser.