source: src/Observer/unittests/ObservedContainerUnitTest.hpp@ 9b8fa4

Last change on this file since 9b8fa4 was 9b8fa4, checked in by Frederik Heber <heber@…>, 14 years ago

Huge update of file structure to place installation header files into right folder.

  • The problem ist that we desire use as include "CodePatterns/...". For this to work, especially with the new Observer subfolder structure, it has been necessary to place all header files away from their source files into a distinct folder called CodePatterns. This emulates the later, after make install present structure.
  • essentially all source and header files had to be changed to adapt the include.
  • all Makefile.am's had to be changed.
  • nobase_ ... was removed such that header files are installed flat and not creating their subfolder along the process.
  • We placed Observer into its own convenience library and own folder Observer away from Patterns.

Some other changes:

  • FIX: MemDebug.hpp inclusion has been removed in all stubs.
  • Property mode set to 100644
File size: 954 bytes
RevLine 
[d3926b5]1/*
2 * ObservedContainerTest.hpp
3 *
4 * Created on: Jan 19, 2010
5 * Author: crueger
6 */
7
8#ifndef OBSERVEDCONTAINERTEST_HPP_
9#define OBSERVEDCONTAINERTEST_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// forward declaration for test stubs
19class UpdateCountObservedContainer;
20class NotificationObservedContainer;
21class SimpleObservable;
22class CallObservable;
23class SuperObservable;
24class ObservableSet;
25class ObservableMap;
26class BlockObservable;
27class NotificationObservable;
28
29class ObservedContainerTest : public CppUnit::TestFixture
30{
31 CPPUNIT_TEST_SUITE( ObservedContainerTest ) ;
32 CPPUNIT_TEST ( IteratorMapTest );
33 CPPUNIT_TEST ( IteratorSetTest );
34 CPPUNIT_TEST_SUITE_END();
35
36public:
37 void setUp();
38 void tearDown();
39
40 void IteratorMapTest();
41 void IteratorSetTest();
42
43private:
44 SimpleObservable *simpleObservable1;
45};
46
47#endif /* OBSERVEDCONTAINERTEST_HPP_ */
Note: See TracBrowser for help on using the repository browser.