diff options
author | Michael Brasser <michael.brasser@nokia.com> | 2009-11-16 03:50:00 (GMT) |
---|---|---|
committer | Michael Brasser <michael.brasser@nokia.com> | 2009-11-16 03:50:00 (GMT) |
commit | efb25bac3131b4ca39a44a16526d88c814986d60 (patch) | |
tree | 21483188d9e1cb2008ff95c88b20bfc3fbdebc62 /tests/auto/declarative/qmlsystempalette | |
parent | ee4278059939902482c7f457089aaf484358113b (diff) | |
download | Qt-efb25bac3131b4ca39a44a16526d88c814986d60.zip Qt-efb25bac3131b4ca39a44a16526d88c814986d60.tar.gz Qt-efb25bac3131b4ca39a44a16526d88c814986d60.tar.bz2 |
Autotests.
Diffstat (limited to 'tests/auto/declarative/qmlsystempalette')
-rw-r--r-- | tests/auto/declarative/qmlsystempalette/tst_qmlsystempalette.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/declarative/qmlsystempalette/tst_qmlsystempalette.cpp b/tests/auto/declarative/qmlsystempalette/tst_qmlsystempalette.cpp index 2648463..008dfb3 100644 --- a/tests/auto/declarative/qmlsystempalette/tst_qmlsystempalette.cpp +++ b/tests/auto/declarative/qmlsystempalette/tst_qmlsystempalette.cpp @@ -103,6 +103,7 @@ void tst_qmlsystempalette::inactivePalette() QmlSystemPalette *object = qobject_cast<QmlSystemPalette*>(component.create()); QVERIFY(object != 0); + QVERIFY(object->colorGroup() == QmlSystemPalette::Inactive); QPalette palette; palette.setCurrentColorGroup(QPalette::Inactive); @@ -131,6 +132,7 @@ void tst_qmlsystempalette::disabledPalette() QmlSystemPalette *object = qobject_cast<QmlSystemPalette*>(component.create()); QVERIFY(object != 0); + QVERIFY(object->colorGroup() == QmlSystemPalette::Disabled); QPalette palette; palette.setCurrentColorGroup(QPalette::Disabled); |