aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@qt.io>2018-04-13 10:48:02 +0200
committerChristian Kandeler <christian.kandeler@qt.io>2018-04-13 12:34:25 +0000
commit68c40f931d392c880c3009c58364063e094dde17 (patch)
tree832bc94089a25779165a647205fc3013d5e2c313 /tests
parenta67e0082a55449bbc680c5cd23c398e8c3def392 (diff)
Remove the deprecated Product.profile property
It was not used anywhere anymore. Change-Id: I420c40f562634159e838a805aeedbefb89185c75 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/api/testdata/local-profiles/local-profiles.qbs4
-rw-r--r--tests/auto/language/tst_language.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/auto/api/testdata/local-profiles/local-profiles.qbs b/tests/auto/api/testdata/local-profiles/local-profiles.qbs
index 12c9a4c39..d71b8d8ca 100644
--- a/tests/auto/api/testdata/local-profiles/local-profiles.qbs
+++ b/tests/auto/api/testdata/local-profiles/local-profiles.qbs
@@ -20,9 +20,9 @@ Project {
name: "app"
Depends { name: "cpp"; required: false }
aggregate: false
- multiplexByQbsProperties: ["buildVariants", "profiles"]
+ multiplexByQbsProperties: ["buildVariants"]
qbs.buildVariants: ["debug", "release"]
- qbs.profiles: ["mingwProfile"]
+ qbs.profile: "mingwProfile"
}
DynamicLibrary {
name: "lib"
diff --git a/tests/auto/language/tst_language.cpp b/tests/auto/language/tst_language.cpp
index a9f9ace6d..9a3aa2eec 100644
--- a/tests/auto/language/tst_language.cpp
+++ b/tests/auto/language/tst_language.cpp
@@ -538,7 +538,7 @@ void TestLanguage::dependencyOnAllProfiles()
QCOMPARE(mainProduct->dependencies.size(), size_t { 2 });
for (const ResolvedProductConstPtr &p : mainProduct->dependencies) {
QCOMPARE(p->name, QLatin1String("dep"));
- QVERIFY(p->profile == "p1" || p->profile == "p2");
+ QVERIFY(p->profile() == "p1" || p->profile() == "p2");
}
} catch (const ErrorInfo &e) {
exceptionCaught = true;