diff options
| author | Frank Reininghaus <[email protected]> | 2010-11-17 20:59:05 +0000 |
|---|---|---|
| committer | Frank Reininghaus <[email protected]> | 2010-11-17 20:59:05 +0000 |
| commit | 10cd05f1a4f2c0919204f7f48820c892d5a0a2d6 (patch) | |
| tree | 6481e13332c47989821ec569de77ed0ce8696dbd /src/tests/testbase.h | |
| parent | 308855320ae6fbf2428f48025fd3c47670bb3130 (diff) | |
Add unit test which checks that DolphinDetailsView::expandedUrls()
works as expected.
svn path=/trunk/KDE/kdebase/apps/; revision=1198202
Diffstat (limited to 'src/tests/testbase.h')
| -rw-r--r-- | src/tests/testbase.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/tests/testbase.h b/src/tests/testbase.h index a940a5296..d29213291 100644 --- a/src/tests/testbase.h +++ b/src/tests/testbase.h @@ -30,7 +30,7 @@ class DolphinModel; class DolphinSortFilterProxyModel; class DolphinView; -/* +/** * The class TestBase aims to make writing Dolphin unit tests easier. * It provides functionality that almost every unit test needs: setup of the DolphinView and * easy creation of test files and subfolders in a temporary directory which is removed in @@ -56,7 +56,7 @@ public: KUrl testDirUrl() const; - /* + /** * The following functions create either a file, a list of files, or a directory. * The paths may be absolute or relative to the test directory. Any missing parent * directories will be created automatically. @@ -66,7 +66,7 @@ public: void createFiles(const QStringList& files); void createDir(const QString& path); - /* + /** * Remove the test directory and create an empty one. */ @@ -79,10 +79,11 @@ public: DolphinSortFilterProxyModel* m_proxyModel; DolphinView* m_view; + QString m_path; + private: KTempDir* m_tempDir; - QString m_path; QDir* m_dir; void makePathAbsoluteAndCreateParents(QString& path); |
