00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef _TESTSTELFILEMGR_HPP_
00021 #define _TESTSTELFILEMGR_HPP_
00022
00023 #include <QObject>
00024 #include <QString>
00025 #include <QStringList>
00026 #include <QtTest>
00027
00028 class StelFileMgr;
00029
00030 class TestStelFileMgr : public QObject
00031 {
00032 Q_OBJECT
00033 private slots:
00034 void initTestCase();
00035 void cleanupTestCase();
00036
00037 void testFindFileVanilla();
00038 void testFindFileVanillaAbs();
00039 void testFindFileFile();
00040 void testFindFileFileAbs();
00041 void testFindFileDir();
00042 void testFindFileDirAbs();
00043 void testFindFileNew();
00044 void testFindFileNewAbs();
00045 void testListContentsVanilla();
00046 void testListContentsVanillaAbs();
00047 void testListContentsFile();
00048 void testListContentsFileAbs();
00049 void testListContentsDir();
00050 void testListContentsDirAbs();
00051
00052 private:
00053 QString workingDir;
00054 QString partialPath1;
00055 QString partialPath2;
00056 QStringList testDirs;
00057 QStringList testFiles;
00058 };
00059
00060 #endif // _TESTSTELFILEMGR_HPP_
00061