1 | // |
---|---|
2 | // FileTest.h |
3 | // |
4 | // Definition of the FileTest class. |
5 | // |
6 | // Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH. |
7 | // and Contributors. |
8 | // |
9 | // SPDX-License-Identifier: BSL-1.0 |
10 | // |
11 | |
12 | |
13 | #ifndef FileTest_INCLUDED |
14 | #define FileTest_INCLUDED |
15 | |
16 | |
17 | #include "Poco/Foundation.h" |
18 | #include "Poco/CppUnit/TestCase.h" |
19 | |
20 | |
21 | class FileTest: public CppUnit::TestCase |
22 | { |
23 | public: |
24 | FileTest(const std::string& name); |
25 | ~FileTest(); |
26 | |
27 | void testFileAttributes1(); |
28 | void testCreateFile(); |
29 | void testFileAttributes2(); |
30 | void testFileAttributes3(); |
31 | void testCompare(); |
32 | void testSwap(); |
33 | void testSize(); |
34 | void testSpace(); |
35 | void testDirectory(); |
36 | void testCopy(); |
37 | void testMove(); |
38 | void testCopyDirectory(); |
39 | void testRename(); |
40 | void testRootDir(); |
41 | void testLongPath(); |
42 | |
43 | void setUp(); |
44 | void tearDown(); |
45 | |
46 | static CppUnit::Test* suite(); |
47 | |
48 | private: |
49 | }; |
50 | |
51 | |
52 | #endif // FileTest_INCLUDED |
53 |