Add tutorials to examples autotest.
authorAlan Alpert <alan.alpert@nokia.com>
Sun, 4 Dec 2011 23:22:09 +0000 (09:22 +1000)
committerQt by Nokia <qt-info@nokia.com>
Mon, 5 Dec 2011 00:11:18 +0000 (01:11 +0100)
Change-Id: I339446212e3ac9608eada0601e83d86789d33e0b
Reviewed-by: Alan Alpert <alan.alpert@nokia.com>
tests/auto/qtquick2/examples/tst_examples.cpp

index 050ae49..e56d6a3 100644 (file)
@@ -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)