|
Last change
on this file since e2e035e was e2e035e, checked in by Frederik Heber <heber@…>, 14 years ago |
|
Refactored all Observer stuff into own subfolder and split up into distinct modules.
- Observer/all.hpp is all that's needed.
|
-
Property mode
set to
100644
|
|
File size:
954 bytes
|
| Line | |
|---|
| 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
|
|---|
| 19 | class UpdateCountObservedContainer;
|
|---|
| 20 | class NotificationObservedContainer;
|
|---|
| 21 | class SimpleObservable;
|
|---|
| 22 | class CallObservable;
|
|---|
| 23 | class SuperObservable;
|
|---|
| 24 | class ObservableSet;
|
|---|
| 25 | class ObservableMap;
|
|---|
| 26 | class BlockObservable;
|
|---|
| 27 | class NotificationObservable;
|
|---|
| 28 |
|
|---|
| 29 | class ObservedContainerTest : public CppUnit::TestFixture
|
|---|
| 30 | {
|
|---|
| 31 | CPPUNIT_TEST_SUITE( ObservedContainerTest ) ;
|
|---|
| 32 | CPPUNIT_TEST ( IteratorMapTest );
|
|---|
| 33 | CPPUNIT_TEST ( IteratorSetTest );
|
|---|
| 34 | CPPUNIT_TEST_SUITE_END();
|
|---|
| 35 |
|
|---|
| 36 | public:
|
|---|
| 37 | void setUp();
|
|---|
| 38 | void tearDown();
|
|---|
| 39 |
|
|---|
| 40 | void IteratorMapTest();
|
|---|
| 41 | void IteratorSetTest();
|
|---|
| 42 |
|
|---|
| 43 | private:
|
|---|
| 44 | SimpleObservable *simpleObservable1;
|
|---|
| 45 | };
|
|---|
| 46 |
|
|---|
| 47 | #endif /* OBSERVEDCONTAINERTEST_HPP_ */
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.