on xenial help sign in
rename the files now that not only LVWPH is here
fce2b82Albert Astals
tests/plugins/DashViews/listviewwithpageheadertest.cpp+1−1
@@ -118,7 +118,7 @@ private Q_SLOTS:
118 {
118 {
119 view = new QQuickView();
119 view = new QQuickView();
120 view->engine()->addImportPath(BUILT_PLUGINS_DIR);
120 view->engine()->addImportPath(BUILT_PLUGINS_DIR);
121− view->setSource(QUrl::fromLocalFile(DASHVIEWSTEST_FOLDER "/test.qml"));
121+ view->setSource(QUrl::fromLocalFile(DASHVIEWSTEST_FOLDER "/listviewwithpageheadertest.qml"));
122 lvwph = dynamic_cast<ListViewWithPageHeader*>(view->rootObject()->findChild<QQuickFlickable*>());
122 lvwph = dynamic_cast<ListViewWithPageHeader*>(view->rootObject()->findChild<QQuickFlickable*>());
123#if (QT_VERSION < QT_VERSION_CHECK(5, 1, 0))
123#if (QT_VERSION < QT_VERSION_CHECK(5, 1, 0))
124 model = view->rootObject()->findChild<QQuickListModel*>();
124 model = view->rootObject()->findChild<QQuickListModel*>();
tests/plugins/DashViews/test.qml → tests/plugins/DashViews/listviewwithpageheadertest.qmlrenamed

The content is the same.

tests/plugins/DashViews/listviewwithpageheadertestsection.cpp+1−1
@@ -133,7 +133,7 @@ private Q_SLOTS:
133 {
133 {
134 view = new QQuickView();
134 view = new QQuickView();
135 view->engine()->addImportPath(BUILT_PLUGINS_DIR);
135 view->engine()->addImportPath(BUILT_PLUGINS_DIR);
136− view->setSource(QUrl::fromLocalFile(DASHVIEWSTEST_FOLDER "/test_section.qml"));
136+ view->setSource(QUrl::fromLocalFile(DASHVIEWSTEST_FOLDER "/listviewwithpageheadertestsection.qml"));
137 lvwph = dynamic_cast<ListViewWithPageHeader*>(view->rootObject()->findChild<QQuickFlickable*>());
137 lvwph = dynamic_cast<ListViewWithPageHeader*>(view->rootObject()->findChild<QQuickFlickable*>());
138#if (QT_VERSION < QT_VERSION_CHECK(5, 1, 0))
138#if (QT_VERSION < QT_VERSION_CHECK(5, 1, 0))
139 model = view->rootObject()->findChild<QQuickListModel*>();
139 model = view->rootObject()->findChild<QQuickListModel*>();
tests/plugins/DashViews/test_section.qml → tests/plugins/DashViews/listviewwithpageheadertestsection.qmlrenamed

The content is the same.

tests/plugins/DashViews/listviewwithpageheadertestsectionexternalmodel.cpp+1−1
@@ -173,7 +173,7 @@ private Q_SLOTS:
173 {
173 {
174 view = new QQuickView();
174 view = new QQuickView();
175 view->engine()->addImportPath(BUILT_PLUGINS_DIR);
175 view->engine()->addImportPath(BUILT_PLUGINS_DIR);
176− view->setSource(QUrl::fromLocalFile(DASHVIEWSTEST_FOLDER "/test_sectionexternalmodel.qml"));
176+ view->setSource(QUrl::fromLocalFile(DASHVIEWSTEST_FOLDER "/listviewwithpageheadertestsectionexternalmodel.qml"));
177 lvwph = dynamic_cast<ListViewWithPageHeader*>(view->rootObject()->findChild<QQuickFlickable*>());
177 lvwph = dynamic_cast<ListViewWithPageHeader*>(view->rootObject()->findChild<QQuickFlickable*>());
178 QVERIFY(lvwph);
178 QVERIFY(lvwph);
179 view->show();
179 view->show();
tests/plugins/DashViews/test_sectionexternalmodel.qml → tests/plugins/DashViews/listviewwithpageheadertestsectionexternalmodel.qmlrenamed

The content is the same.