1 #include <TestSuite.h>
2 #include <TestSuiteAddon.h>
3
4 // ##### Include headers for your tests here #####
5 #include "AppFileInfoTest.h"
6 #include "DirectoryTest.h"
7 #include "DataIOTest.h"
8 #include "EntryTest.h"
9 #include "FileTest.h"
10 #include "FindDirectoryTest.h"
11 #include "MimeSnifferTest.h"
12 #include "MimeTypeTest.h"
13 #include "NodeInfoTest.h"
14 #include "NodeTest.h"
15 #include "PathTest.h"
16 #include "QueryTest.h"
17 #include "ResourcesTest.h"
18 #include "ResourceStringsTest.h"
19 #include "SymLinkTest.h"
20 #include "VolumeTest.h"
21
getTestSuite()22 BTestSuite* getTestSuite() {
23 BTestSuite *suite = new BTestSuite("Storage");
24
25 // ##### Add test suites here #####
26 suite->addTest("BAppFileInfo", AppFileInfoTest::Suite());
27 suite->addTest("BDirectory", DirectoryTest::Suite());
28 suite->addTest("BDataIO", DataIOTest::Suite());
29 suite->addTest("BEntry", EntryTest::Suite());
30 suite->addTest("BFile", FileTest::Suite());
31 #if 0
32 suite->addTest("BMimeType", MimeTypeTest::Suite());
33 #endif
34 suite->addTest("BNode", NodeTest::Suite());
35 suite->addTest("BNodeInfo", NodeInfoTest::Suite());
36 suite->addTest("BPath", PathTest::Suite());
37 // TODO: calls Lock on destruction hangs
38 //suite->addTest("BQuery", QueryTest::Suite());
39 suite->addTest("BResources", ResourcesTest::Suite());
40 suite->addTest("BResourceStrings", ResourceStringsTest::Suite());
41 suite->addTest("BSymLink", SymLinkTest::Suite());
42 // TODO: mkbfs missing
43 //suite->addTest("BVolume", VolumeTest::Suite());
44 suite->addTest("FindDirectory", FindDirectoryTest::Suite());
45 suite->addTest("MimeSniffer", MimeSnifferTest::Suite());
46
47 return suite;
48 }
49