1//
2// FileStreamTest.h
3//
4// Definition of the FileStreamTest 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 FileStreamTest_INCLUDED
14#define FileStreamTest_INCLUDED
15
16
17#include "Poco/Foundation.h"
18#include "Poco/CppUnit/TestCase.h"
19
20
21class FileStreamTest: public CppUnit::TestCase
22{
23public:
24 FileStreamTest(const std::string& name);
25 ~FileStreamTest();
26
27 void testRead();
28 void testWrite();
29 void testReadWrite();
30 void testOpen();
31 void testOpenModeIn();
32 void testOpenModeOut();
33 void testOpenModeTrunc();
34 void testOpenModeAte();
35 void testOpenModeApp();
36 void testSeek();
37 void testMultiOpen();
38
39 void setUp();
40 void tearDown();
41
42 static CppUnit::Test* suite();
43
44private:
45};
46
47
48#endif // FileStreamTest_INCLUDED
49