mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2025-02-15 17:27:12 +01:00
43 lines
717 B
C
43 lines
717 B
C
|
//
|
||
|
// SharedMemoryTest.h
|
||
|
//
|
||
|
// Definition of the SharedMemoryTest class.
|
||
|
//
|
||
|
// Copyright (c) 2007, Applied Informatics Software Engineering GmbH.
|
||
|
// and Contributors.
|
||
|
//
|
||
|
// SPDX-License-Identifier: BSL-1.0
|
||
|
//
|
||
|
|
||
|
|
||
|
#ifndef SharedMemoryTest_INCLUDED
|
||
|
#define SharedMemoryTest_INCLUDED
|
||
|
|
||
|
|
||
|
#include "Poco/Foundation.h"
|
||
|
#include "Poco/Path.h"
|
||
|
#include "CppUnit/TestCase.h"
|
||
|
|
||
|
|
||
|
class SharedMemoryTest: public CppUnit::TestCase
|
||
|
{
|
||
|
public:
|
||
|
SharedMemoryTest(const std::string& name);
|
||
|
~SharedMemoryTest();
|
||
|
|
||
|
void testCreate();
|
||
|
void testCreateFromFile();
|
||
|
|
||
|
void setUp();
|
||
|
void tearDown();
|
||
|
|
||
|
static CppUnit::Test* suite();
|
||
|
|
||
|
static Poco::Path findDataFile(const std::string& afile);
|
||
|
|
||
|
private:
|
||
|
};
|
||
|
|
||
|
|
||
|
#endif // SharedMemoryTest_INCLUDED
|