Since
1fab62b930edd4abed076e57ee997eae09159f22 in qtbase, demos and
examples are merged. This was causing the test to unintentionally
iterate over the entire source tree.
Change-Id: I8e60c5742a3c15a4187f6c8cdac3cdc7f7ee24c0
Reviewed-on: http://codereview.qt.nokia.com/729
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Jiang Jiang <jiang.jiang@nokia.com>
void tst_examples::namingConvention()
{
QString examples = QLibraryInfo::location(QLibraryInfo::ExamplesPath);
- QString demos = QLibraryInfo::location(QLibraryInfo::DemosPath);
namingConvention(QDir(examples));
- namingConvention(QDir(demos));
}
QStringList tst_examples::findQmlFiles(const QDir &d)