Changeset View
Changeset View
Standalone View
Standalone View
autotests/integration/debug_console_test.cpp
Show First 20 Lines • Show All 293 Lines • ▼ Show 20 Line(s) | 210 | { | |||
---|---|---|---|---|---|
294 | QVERIFY(!model.hasChildren(unmanagedTopLevelIndex)); | 294 | QVERIFY(!model.hasChildren(unmanagedTopLevelIndex)); | ||
295 | QVERIFY(!model2.hasChildren(model2.index(1, 0, QModelIndex()))); | 295 | QVERIFY(!model2.hasChildren(model2.index(1, 0, QModelIndex()))); | ||
296 | } | 296 | } | ||
297 | 297 | | |||
298 | void DebugConsoleTest::testWaylandClient_data() | 298 | void DebugConsoleTest::testWaylandClient_data() | ||
299 | { | 299 | { | ||
300 | QTest::addColumn<Test::XdgShellSurfaceType>("type"); | 300 | QTest::addColumn<Test::XdgShellSurfaceType>("type"); | ||
301 | 301 | | |||
302 | QTest::newRow("xdgShellV6") << Test::XdgShellSurfaceType::XdgShellV6; | | |||
303 | QTest::newRow("xdgWmBase") << Test::XdgShellSurfaceType::XdgShellStable; | 302 | QTest::newRow("xdgWmBase") << Test::XdgShellSurfaceType::XdgShellStable; | ||
304 | } | 303 | } | ||
305 | 304 | | |||
306 | void DebugConsoleTest::testWaylandClient() | 305 | void DebugConsoleTest::testWaylandClient() | ||
307 | { | 306 | { | ||
308 | DebugConsoleModel model; | 307 | DebugConsoleModel model; | ||
309 | QModelIndex waylandTopLevelIndex = model.index(2, 0, QModelIndex()); | 308 | QModelIndex waylandTopLevelIndex = model.index(2, 0, QModelIndex()); | ||
310 | QVERIFY(waylandTopLevelIndex.isValid()); | 309 | QVERIFY(waylandTopLevelIndex.isValid()); | ||
▲ Show 20 Lines • Show All 221 Lines • Show Last 20 Lines |