Changeset View
Changeset View
Standalone View
Standalone View
autotests/integration/colorcorrect_nightcolor_test.cpp
Show First 20 Lines • Show All 55 Lines • ▼ Show 20 Line(s) | 49 | { | |||
---|---|---|---|---|---|
56 | 56 | | |||
57 | kwinApp()->start(); | 57 | kwinApp()->start(); | ||
58 | QVERIFY(workspaceCreatedSpy.wait()); | 58 | QVERIFY(workspaceCreatedSpy.wait()); | ||
59 | waylandServer()->initWorkspace(); | 59 | waylandServer()->initWorkspace(); | ||
60 | } | 60 | } | ||
61 | 61 | | |||
62 | void ColorCorrectNightColorTest::init() | 62 | void ColorCorrectNightColorTest::init() | ||
63 | { | 63 | { | ||
64 | QVERIFY(Test::setupWaylandConnection()); | ||||
64 | } | 65 | } | ||
65 | 66 | | |||
66 | void ColorCorrectNightColorTest::cleanup() | 67 | void ColorCorrectNightColorTest::cleanup() | ||
67 | { | 68 | { | ||
69 | Test::destroyWaylandConnection(); | ||||
68 | } | 70 | } | ||
69 | 71 | | |||
70 | void ColorCorrectNightColorTest::testConfigRead_data() | 72 | void ColorCorrectNightColorTest::testConfigRead_data() | ||
71 | { | 73 | { | ||
72 | QTest::addColumn<QString>("active"); | 74 | QTest::addColumn<QString>("active"); | ||
73 | QTest::addColumn<int>("mode"); | 75 | QTest::addColumn<int>("mode"); | ||
74 | QTest::addColumn<int>("nightTemperature"); | 76 | QTest::addColumn<int>("nightTemperature"); | ||
75 | QTest::addColumn<double>("latitudeFixed"); | 77 | QTest::addColumn<double>("latitudeFixed"); | ||
▲ Show 20 Lines • Show All 259 Lines • Show Last 20 Lines |