| 1 | // | 
|---|
| 2 | // SharedMemoryTest.h | 
|---|
| 3 | // | 
|---|
| 4 | // Definition of the SharedMemoryTest class. | 
|---|
| 5 | // | 
|---|
| 6 | // Copyright (c) 2007, Applied Informatics Software Engineering GmbH. | 
|---|
| 7 | // and Contributors. | 
|---|
| 8 | // | 
|---|
| 9 | // SPDX-License-Identifier:	BSL-1.0 | 
|---|
| 10 | // | 
|---|
| 11 |  | 
|---|
| 12 |  | 
|---|
| 13 | #ifndef SharedMemoryTest_INCLUDED | 
|---|
| 14 | #define SharedMemoryTest_INCLUDED | 
|---|
| 15 |  | 
|---|
| 16 |  | 
|---|
| 17 | #include "Poco/Foundation.h" | 
|---|
| 18 | #include "Poco/Path.h" | 
|---|
| 19 | #include "Poco/CppUnit/TestCase.h" | 
|---|
| 20 |  | 
|---|
| 21 |  | 
|---|
| 22 | class SharedMemoryTest: public CppUnit::TestCase | 
|---|
| 23 | { | 
|---|
| 24 | public: | 
|---|
| 25 | SharedMemoryTest(const std::string& name); | 
|---|
| 26 | ~SharedMemoryTest(); | 
|---|
| 27 |  | 
|---|
| 28 | void testCreate(); | 
|---|
| 29 | void testCreateFromFile(); | 
|---|
| 30 |  | 
|---|
| 31 | void setUp(); | 
|---|
| 32 | void tearDown(); | 
|---|
| 33 |  | 
|---|
| 34 | static CppUnit::Test* suite(); | 
|---|
| 35 |  | 
|---|
| 36 | static Poco::Path findDataFile(const std::string& directory, const std::string& file); | 
|---|
| 37 |  | 
|---|
| 38 | private: | 
|---|
| 39 | }; | 
|---|
| 40 |  | 
|---|
| 41 |  | 
|---|
| 42 | #endif // SharedMemoryTest_INCLUDED | 
|---|
| 43 |  | 
|---|