summaryrefslogtreecommitdiff
path: root/tests/auto/language/tst_language.cpp
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@qt.io>2018-06-22 10:24:11 +0200
committerChristian Kandeler <christian.kandeler@qt.io>2018-06-22 10:24:11 +0200
commite86aea00dbf4c0c2deb127aa93276607e7a51909 (patch)
treeaad005de63de140e9a0bfc76f8e4aa040834bb74 /tests/auto/language/tst_language.cpp
parente0efb1d2b09b7979162f4933193b1a247e393814 (diff)
parent29420ab4698ad45de994cf367b94f23ddc874200 (diff)
downloadqbs-e86aea00dbf4c0c2deb127aa93276607e7a51909.tar.gz
Merge 1.12 into master
Change-Id: I3b5f14cf38452aaa740ac66cffa1e740f7349823
Diffstat (limited to 'tests/auto/language/tst_language.cpp')
-rw-r--r--tests/auto/language/tst_language.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/auto/language/tst_language.cpp b/tests/auto/language/tst_language.cpp
index f3c510049..323ae763b 100644
--- a/tests/auto/language/tst_language.cpp
+++ b/tests/auto/language/tst_language.cpp
@@ -833,10 +833,21 @@ void TestLanguage::erroneousFiles_data()
QTest::newRow("rule-without-output-tags")
<< "rule-without-output-tags.qbs:4:5.*A rule needs to have Artifact items or "
"a non-empty outputFileTags property.";
+ QTest::newRow("original-in-module-prototype")
+ << "module-with-invalid-original.qbs:2:24.*The special value 'original' cannot be used "
+ "on the right-hand side of a property declaration.";
+ QTest::newRow("original-in-export-item")
+ << "original-in-export-item.qbs:7:32.*The special value 'original' cannot be used "
+ "on the right-hand side of a property declaration.";
QTest::newRow("mismatching-multiplex-dependency")
<< "mismatching-multiplex-dependency.qbs:9:5.*Dependency from product "
"'b \\{\"architecture\":\"mips\"\\}' to product 'a \\{\"architecture\":\"mips\"\\}'"
" not fulfilled.";
+ QTest::newRow("duplicate-multiplex-value")
+ << "duplicate-multiplex-value.qbs:3:1.*Duplicate entry 'x86' in qbs.architectures.";
+ QTest::newRow("duplicate-multiplex-value2")
+ << "duplicate-multiplex-value2.qbs:3:1.*Duplicate entry 'architecture' in "
+ "Product.multiplexByQbsProperties.";
QTest::newRow("invalid-references")
<< "invalid-references.qbs:4:17.*Cannot open '.*nosuchproject.qbs'";
}