[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [libkscreen/sebas/dpms] autotests: remove screen name test
From: Sebastian_Kügler <sebas () kde ! org>
Date: 2016-03-31 22:45:35
Message-ID: E1allLL-0004Uv-JW () scm ! kde ! org
[Download RAW message or body]
Git commit 4a584849972ebb3fef95b73795fba0ba409501b9 by Sebastian Kügler.
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/testkwaylandconfig.cpp
index 1fd7740..4582a18 100644
--- a/autotests/testkwaylandconfig.cpp
+++ b/autotests/testkwaylandconfig.cpp
@@ -19,7 +19,6 @@
#include <QCoreApplication>
#include <QtTest>
#include <QObject>
-#include <QScreen>
#include <QSignalSpy>
#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 = new GetConfigOperation();
- QVERIFY(op->exec());
- auto config = op->config();
- QVERIFY(config);
-
- QStringList outputNames;
- foreach (const auto output, config->outputs()) {
- outputNames << output->name();
- }
-
- foreach (QScreen *screen, QGuiApplication::screens()) {
- //if (screen->name() == output->name()) {
- //return screen;
- //}
- qDebug() << "screen name QScreen: " << screen->name() << outputNames;
- }
- qDebug() << "outputs: " << outputNames;
-
-
-}
-
-QTEST_MAIN(TestKWaylandConfig)
+QTEST_GUILESS_MAIN(TestKWaylandConfig)
#include "testkwaylandconfig.moc"
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic