diff options
author | Casper van Donderen <casper.vandonderen@nokia.com> | 2011-07-04 12:32:16 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-07-11 09:23:00 +0200 |
commit | 9acb4b4f787882e989e4e0c751fb9c1657fe2106 (patch) | |
tree | 828dd3a63b85c22659a400d76a93bb3f9505aab7 /tests/auto/declarative/examples | |
parent | 98f2f40fa0a80811f877162769b3c183071c4fc2 (diff) |
Remove references to demos.
Change-Id: I21f935b6de8bdf6a5205f6048cdabf97e16b613a
Reviewed-on: http://codereview.qt.nokia.com/1060
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Casper van Donderen <casper.vandonderen@nokia.com>
Diffstat (limited to 'tests/auto/declarative/examples')
-rw-r--r-- | tests/auto/declarative/examples/tst_examples.cpp | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/tests/auto/declarative/examples/tst_examples.cpp b/tests/auto/declarative/examples/tst_examples.cpp index 1a07f6ba81..022b9870c5 100644 --- a/tests/auto/declarative/examples/tst_examples.cpp +++ b/tests/auto/declarative/examples/tst_examples.cpp @@ -82,20 +82,20 @@ tst_examples::tst_examples() #ifdef QT_NO_WEBKIT excludedDirs << "examples/declarative/modelviews/webview"; - excludedDirs << "demos/declarative/webbrowser"; + excludedDirs << "examples/declarative/webbrowser"; excludedDirs << "doc/src/snippets/declarative/webview"; #endif #ifdef QT_NO_XMLPATTERNS excludedDirs << "examples/declarative/xml/xmldata"; - excludedDirs << "demos/declarative/twitter"; - excludedDirs << "demos/declarative/flickr"; - excludedDirs << "demos/declarative/photoviewer"; + excludedDirs << "examples/declarative/twitter"; + excludedDirs << "examples/declarative/flickr"; + excludedDirs << "examples/declarative/photoviewer"; #endif } /* -This tests that the demos and examples follow the naming convention required +This tests that the examples follow the naming convention required to have them tested by the examples() test. */ void tst_examples::namingConvention(const QDir &d) @@ -176,20 +176,18 @@ QStringList tst_examples::findQmlFiles(const QDir &d) This test runs all the examples in the declarative UI source tree and ensures that they start and exit cleanly. -Examples are any .qml files under the examples/ or demos/ directory that start +Examples are any .qml files under the examples/ directory that start with a lower case letter. */ void tst_examples::examples_data() { QTest::addColumn<QString>("file"); - QString examples = QLatin1String(SRCDIR) + "/../../../../demos/declarative/"; - QString demos = QLatin1String(SRCDIR) + "/../../../../examples/declarative/"; + QString examples = QLatin1String(SRCDIR) + "/../../../../examples/declarative/"; QString snippets = QLatin1String(SRCDIR) + "/../../../../doc/src/snippets/"; QStringList files; files << findQmlFiles(QDir(examples)); - files << findQmlFiles(QDir(demos)); files << findQmlFiles(QDir(snippets)); foreach (const QString &file, files) |