]> git.localhorst.tv Git - gong.git/blob - tst/io/FilesystemTest.hpp
code, assets, and other stuff stolen from blank
[gong.git] / tst / io / FilesystemTest.hpp
1 #ifndef GONG_TEST_IO_FILESYSTEMTEST_HPP
2 #define GONG_TEST_IO_FILESYSTEMTEST_HPP
3
4 #include "io/filesystem.hpp"
5
6 #include <memory>
7 #include <string>
8 #include <cppunit/extensions/HelperMacros.h>
9
10
11 namespace gong {
12 namespace io {
13 namespace test {
14
15 class FilesystemTest
16 : public CppUnit::TestFixture {
17
18 CPPUNIT_TEST_SUITE(FilesystemTest);
19
20 CPPUNIT_TEST(testFile);
21 CPPUNIT_TEST(testDirectory);
22
23 CPPUNIT_TEST_SUITE_END();
24
25 public:
26         void setUp();
27         void tearDown();
28
29         void testFile();
30         void testDirectory();
31
32 private:
33         std::unique_ptr<TempDir> test_dir;
34
35 };
36
37 }
38 }
39 }
40
41 #endif