aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@qt.io>2018-02-21 14:59:38 +0100
committerChristian Kandeler <christian.kandeler@qt.io>2018-02-23 08:34:08 +0000
commit153b9d8b4117bcf8e0b10f7368991e4d4f676a50 (patch)
tree48cfe7f7b4924fa4337d2c73b36d66d5271b1b2e /tests/auto
parent8ba501a462058202f913b742f35e2d858e6c11e7 (diff)
Add a location to errors in conditions of Properties items
These can be exceedingly difficult to debug otherwise. Change-Id: Ie3bc42fbd60e11be105fc23624c77a623dc5f1aa Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'tests/auto')
-rw-r--r--tests/auto/language/tst_language.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/auto/language/tst_language.cpp b/tests/auto/language/tst_language.cpp
index 9020c4874..35f18732c 100644
--- a/tests/auto/language/tst_language.cpp
+++ b/tests/auto/language/tst_language.cpp
@@ -795,7 +795,8 @@ void TestLanguage::erroneousFiles_data()
QTest::newRow("wrongQbsVersionFormat")
<< "The value '.*' of Project.minimumQbsVersion is not a valid version string.";
QTest::newRow("properties-item-with-invalid-condition")
- << "TypeError: Result of expression 'cpp.nonexistingproperty'";
+ << "properties-item-with-invalid-condition.qbs:6:19.*TypeError: Result of expression "
+ "'cpp.nonexistingproperty'";
QTest::newRow("misused-inherited-property") << "Binding to non-item property";
QTest::newRow("undeclared_property_in_Properties_item") << "Item 'blubb' is not declared";
QTest::newRow("same-module-prefix1") << "The name of module 'prefix1' is equal to the first "