summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/examples/tst_examples.cpp
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2010-03-05 00:40:49 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2010-03-05 00:40:49 (GMT)
commit5048b96a14b61329257e153f2551b6fca4519f84 (patch)
treef760e30ff171179f58b1fd121b01d1f2e869c509 /tests/auto/declarative/examples/tst_examples.cpp
parent8708350f4b00507348fa59f313bcfa554a3d6f79 (diff)
downloadQt-5048b96a14b61329257e153f2551b6fca4519f84.zip
Qt-5048b96a14b61329257e153f2551b6fca4519f84.tar.gz
Qt-5048b96a14b61329257e153f2551b6fca4519f84.tar.bz2
Include QML doc snippets in examples autotest
Diffstat (limited to 'tests/auto/declarative/examples/tst_examples.cpp')
-rw-r--r--tests/auto/declarative/examples/tst_examples.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/declarative/examples/tst_examples.cpp b/tests/auto/declarative/examples/tst_examples.cpp
index 106a4e0..678dd59 100644
--- a/tests/auto/declarative/examples/tst_examples.cpp
+++ b/tests/auto/declarative/examples/tst_examples.cpp
@@ -168,10 +168,12 @@ void tst_examples::examples_data()
QString examples = QLibraryInfo::location(QLibraryInfo::ExamplesPath);
QString demos = QLibraryInfo::location(QLibraryInfo::DemosPath);
+ 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)
QTest::newRow(file.toLatin1().constData()) << file;