diff options
author | Ivan Komissarov <abbapoh@gmail.com> | 2020-01-11 15:26:26 +0100 |
---|---|---|
committer | Ivan Komissarov <ABBAPOH@gmail.com> | 2020-01-20 10:03:41 +0000 |
commit | c83003d0890f976f40e2f72a7f0db8f98010a622 (patch) | |
tree | 05c6d5712f6292344d54358bcb38f61963c4f415 | |
parent | 8bbf8373b7c83fc64beba1ab0c79ce99c4175384 (diff) |
Test for the correct value for the NSPrincipalClass
Qbs sets this value unconditionally for macOS platform, so check it
Change-Id: I98c2b3f8a9ac6978411eb51a17f1104118faebe2
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
-rw-r--r-- | tests/auto/blackbox/tst_blackboxapple.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/blackbox/tst_blackboxapple.cpp b/tests/auto/blackbox/tst_blackboxapple.cpp index ab095a3a1..21cecf9ad 100644 --- a/tests/auto/blackbox/tst_blackboxapple.cpp +++ b/tests/auto/blackbox/tst_blackboxapple.cpp @@ -793,7 +793,7 @@ void TestBlackboxApple::infoPlist() if (!content.contains(QStringLiteral("SDKROOT"))) { // macOS-specific values QCOMPARE(content.value("LSMinimumSystemVersion"), QStringLiteral("10.7")); - QVERIFY(content.contains("NSPrincipalClass")); + QCOMPARE(content.value("NSPrincipalClass"), QStringLiteral("NSApplication")); } else { // QBS-1447: UIDeviceFamily was set to a string instead of an array const auto family = content.value(QStringLiteral("UIDeviceFamily")); |