aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qtquick2/examples
diff options
context:
space:
mode:
authorAlan Alpert <alan.alpert@nokia.com>2011-12-05 09:22:09 +1000
committerQt by Nokia <qt-info@nokia.com>2011-12-05 01:11:18 +0100
commit866390da39f16a0c01824cdf05c4694e005bd11e (patch)
tree9be08c4b202467f6f4396a212c969e46270764d4 /tests/auto/qtquick2/examples
parent5a2bcb807ce1ec850acf03f0fee0bfc3214a4f3b (diff)
Add tutorials to examples autotest.
Change-Id: I339446212e3ac9608eada0601e83d86789d33e0b Reviewed-by: Alan Alpert <alan.alpert@nokia.com>
Diffstat (limited to 'tests/auto/qtquick2/examples')
-rw-r--r--tests/auto/qtquick2/examples/tst_examples.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/qtquick2/examples/tst_examples.cpp b/tests/auto/qtquick2/examples/tst_examples.cpp
index 050ae49cfc..e56d6a352b 100644
--- a/tests/auto/qtquick2/examples/tst_examples.cpp
+++ b/tests/auto/qtquick2/examples/tst_examples.cpp
@@ -211,10 +211,12 @@ void tst_examples::sgexamples_data()
QTest::addColumn<QString>("file");
QString examples = QLatin1String(SRCDIR) + "/../../../../examples/declarative/";
+ QString tutorials = QLatin1String(SRCDIR) + "/../../../../examples/tutorials/"; //Only declarative tutorials since modularization
QString snippets = QLatin1String(SRCDIR) + "/../../../../doc/src/snippets/declarative";
QStringList files;
files << findQmlFiles(QDir(examples));
+ files << findQmlFiles(QDir(tutorials));
files << findQmlFiles(QDir(snippets));
foreach (const QString &file, files)