diff options
Diffstat (limited to 'tests/auto/quick/qquicksystempalette/tst_qquicksystempalette.cpp')
-rw-r--r-- | tests/auto/quick/qquicksystempalette/tst_qquicksystempalette.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/auto/quick/qquicksystempalette/tst_qquicksystempalette.cpp b/tests/auto/quick/qquicksystempalette/tst_qquicksystempalette.cpp index b9e79051bb..e9b6054130 100644 --- a/tests/auto/quick/qquicksystempalette/tst_qquicksystempalette.cpp +++ b/tests/auto/quick/qquicksystempalette/tst_qquicksystempalette.cpp @@ -1,5 +1,5 @@ // Copyright (C) 2016 The Qt Company Ltd. -// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0 +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only #include <qtest.h> #include <QDebug> @@ -52,6 +52,8 @@ void tst_qquicksystempalette::activePalette() QCOMPARE(palette.shadow().color(), object->shadow()); QCOMPARE(palette.highlight().color(), object->highlight()); QCOMPARE(palette.highlightedText().color(), object->highlightedText()); + QCOMPARE(palette.placeholderText().color(), object->placeholderText()); + QCOMPARE(palette.accent().color(), object->accent()); delete object; } @@ -80,6 +82,8 @@ void tst_qquicksystempalette::inactivePalette() QCOMPARE(palette.shadow().color(), object->shadow()); QCOMPARE(palette.highlight().color(), object->highlight()); QCOMPARE(palette.highlightedText().color(), object->highlightedText()); + QCOMPARE(palette.placeholderText().color(), object->placeholderText()); + QCOMPARE(palette.accent().color(), object->accent()); delete object; } @@ -108,6 +112,8 @@ void tst_qquicksystempalette::disabledPalette() QCOMPARE(palette.shadow().color(), object->shadow()); QCOMPARE(palette.highlight().color(), object->highlight()); QCOMPARE(palette.highlightedText().color(), object->highlightedText()); + QCOMPARE(palette.placeholderText().color(), object->placeholderText()); + QCOMPARE(palette.accent().color(), object->accent()); delete object; } |