Git commit 4a584849972ebb3fef95b73795fba0ba409501b9 by Sebastian K=C3=BCgle= r. Committed on 31/03/2016 at 22:41. Pushed by sebas into branch 'sebas/dpms'. remove screen name test This doesn't really test anything useful, it's just a bit of debugging code, in fact. M +1 -27 autotests/testkwaylandconfig.cpp http://commits.kde.org/libkscreen/4a584849972ebb3fef95b73795fba0ba409501b9 diff --git a/autotests/testkwaylandconfig.cpp b/autotests/testkwaylandconfi= g.cpp index 1fd7740..4582a18 100644 --- a/autotests/testkwaylandconfig.cpp +++ b/autotests/testkwaylandconfig.cpp @@ -19,7 +19,6 @@ #include #include #include -#include #include = #include "backendmanager_p.h" @@ -53,7 +52,6 @@ private Q_SLOTS: void testRotationChange(); void testRotationChange_data(); void testModeChange(); - void testScreenName(); = private: = @@ -225,31 +223,7 @@ void TestKWaylandConfig::testModeChange() QCOMPARE(configSpy.count(), 1); } = -void TestKWaylandConfig::testScreenName() -{ - - auto op =3D new GetConfigOperation(); - QVERIFY(op->exec()); - auto config =3D op->config(); - QVERIFY(config); - - QStringList outputNames; - foreach (const auto output, config->outputs()) { - outputNames << output->name(); - } - - foreach (QScreen *screen, QGuiApplication::screens()) { - //if (screen->name() =3D=3D output->name()) { - //return screen; - //} - qDebug() << "screen name QScreen: " << screen->name() << outputNam= es; - } - qDebug() << "outputs: " << outputNames; - - -} - = -QTEST_MAIN(TestKWaylandConfig) +QTEST_GUILESS_MAIN(TestKWaylandConfig) = #include "testkwaylandconfig.moc"