Commit 43922b59 authored by David Edmundson's avatar David Edmundson
Browse files

Update unit test to reflect code changes

00fc43a2 enables hover effects by
default. The unit test was not updated.
parent 6f02ea26
Pipeline #162707 passed with stage
in 2 minutes and 11 seconds
......@@ -44,7 +44,7 @@ void KHintsSettingsTest::testDefaults()
QCOMPARE(hints.hint(QPlatformTheme::DialogButtonBoxButtonsHaveIcons).toBool(), true);
QCOMPARE(hints.hint(QPlatformTheme::UseFullScreenForPopupMenu).toBool(), true);
QCOMPARE(hints.hint(QPlatformTheme::KeyboardScheme).toInt(), int(QPlatformTheme::KdeKeyboardScheme));
QCOMPARE(hints.hint(QPlatformTheme::UiEffects).toInt(), 0);
QCOMPARE(hints.hint(QPlatformTheme::UiEffects).toInt(), QPlatformTheme::HoverEffect);
QCOMPARE(hints.hint(QPlatformTheme::IconPixmapSizes).value<QList<int>>(), QList<int>({512, 256, 128, 64, 32, 22, 16, 8}));
QCOMPARE(hints.hint(QPlatformTheme::WheelScrollLines).toInt(), 3);
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment