diff options
author | Sergio Ahumada <sergio.ahumada@nokia.com> | 2012-09-04 12:40:16 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-09-14 06:24:38 +0200 |
commit | 34cd8fd566cd61385db12112d9515b0d5388dad3 (patch) | |
tree | 0f311e165c03c040f2c32261f96d80965443d4c6 /tests/auto/corelib/io/qdiriterator | |
parent | 6fd1895b918c45d8404ff38319f508f0357cba27 (diff) |
tests: Don't omit the body of a test function with QT_BUILD_INTERNAL
Changing it outside of the test function definition to avoid running
empty/inapplicable test functions.
Change-Id: I713560cde7f715696984ed082d682900f5f1bcdd
Reviewed-by: Qt Doc Bot <qt_docbot@qt-project.org>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Caroline Chao <caroline.chao@nokia.com>
Diffstat (limited to 'tests/auto/corelib/io/qdiriterator')
-rw-r--r-- | tests/auto/corelib/io/qdiriterator/tst_qdiriterator.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/auto/corelib/io/qdiriterator/tst_qdiriterator.cpp b/tests/auto/corelib/io/qdiriterator/tst_qdiriterator.cpp index 3dce930f93..7f8385f76a 100644 --- a/tests/auto/corelib/io/qdiriterator/tst_qdiriterator.cpp +++ b/tests/auto/corelib/io/qdiriterator/tst_qdiriterator.cpp @@ -108,7 +108,9 @@ private slots: void iterateResource_data(); void iterateResource(); void stopLinkLoop(); +#ifdef QT_BUILD_INTERNAL void engineWithNoIterator(); +#endif void absoluteFilePathsFromRelativeIteratorPath(); void recurseWithFilters() const; void longPath(); @@ -478,17 +480,15 @@ public: }; #endif +#ifdef QT_BUILD_INTERNAL void tst_QDirIterator::engineWithNoIterator() { -#ifdef QT_BUILD_INTERNAL EngineWithNoIteratorHandler handler; QDir("entrylist").entryList(); QVERIFY(true); // test that the above line doesn't crash -#else - QSKIP("This test requires -developer-build."); -#endif } +#endif void tst_QDirIterator::absoluteFilePathsFromRelativeIteratorPath() { |