MCPcopy Create free account
hub / github.com/KDE/okular / test2FilesError_data

Method test2FilesError_data

autotests/mainshelltest.cpp:477–488  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

475}
476
477void MainShellTest::test2FilesError_data()
478{
479 QTest::addColumn<QString>("serializedOptions");
480
481 QTest::newRow("startInPresentation") << ShellUtils::serializeOptions(true, false, false, false, false, QString(), QString(), QString());
482 QTest::newRow("showPrintDialog") << ShellUtils::serializeOptions(false, true, false, false, false, QString(), QString(), QString());
483#if HAVE_DBUS
484 QTest::newRow("unique") << ShellUtils::serializeOptions(false, false, false, true, false, QString(), QString(), QString());
485 QTest::newRow("pageNumber") << ShellUtils::serializeOptions(false, false, false, false, false, QStringLiteral("3"), QString(), QString());
486#endif // HAVE_DBUS
487 QTest::newRow("find") << ShellUtils::serializeOptions(false, false, false, false, false, QString(), QStringLiteral("silly"), QString());
488}
489
490void MainShellTest::test2FilesError()
491{

Callers

nothing calls this directly

Calls 2

serializeOptionsFunction · 0.85
QStringClass · 0.70

Tested by

no test coverage detected