| 1 | // |
|---|---|
| 2 | // FilesystemTestSuite.cpp |
| 3 | // |
| 4 | // Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH. |
| 5 | // and Contributors. |
| 6 | // |
| 7 | // SPDX-License-Identifier: BSL-1.0 |
| 8 | // |
| 9 | |
| 10 | |
| 11 | #include "FilesystemTestSuite.h" |
| 12 | #include "PathTest.h" |
| 13 | #include "FileTest.h" |
| 14 | #include "GlobTest.h" |
| 15 | #include "DirectoryWatcherTest.h" |
| 16 | #include "DirectoryIteratorsTest.h" |
| 17 | |
| 18 | |
| 19 | CppUnit::Test* FilesystemTestSuite::suite() |
| 20 | { |
| 21 | CppUnit::TestSuite* pSuite = new CppUnit::TestSuite("FilesystemTestSuite"); |
| 22 | |
| 23 | pSuite->addTest(PathTest::suite()); |
| 24 | pSuite->addTest(FileTest::suite()); |
| 25 | pSuite->addTest(GlobTest::suite()); |
| 26 | #ifndef POCO_NO_INOTIFY |
| 27 | pSuite->addTest(DirectoryWatcherTest::suite()); |
| 28 | #endif // POCO_NO_INOTIFY |
| 29 | pSuite->addTest(DirectoryIteratorsTest::suite()); |
| 30 | |
| 31 | return pSuite; |
| 32 | } |
| 33 |