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