From 866390da39f16a0c01824cdf05c4694e005bd11e Mon Sep 17 00:00:00 2001 From: Alan Alpert Date: Mon, 5 Dec 2011 09:22:09 +1000 Subject: [PATCH] Add tutorials to examples autotest. Change-Id: I339446212e3ac9608eada0601e83d86789d33e0b Reviewed-by: Alan Alpert --- tests/auto/qtquick2/examples/tst_examples.cpp | 2 ++ 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 050ae49..e56d6a3 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("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) -- 1.7.2.5