aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto')
-rw-r--r--tests/auto/language/testdata/idusage.qbs5
-rw-r--r--tests/auto/language/testdata/idusagebase.qbs1
2 files changed, 6 insertions, 0 deletions
diff --git a/tests/auto/language/testdata/idusage.qbs b/tests/auto/language/testdata/idusage.qbs
index 42dc43ad5..6677c3386 100644
--- a/tests/auto/language/testdata/idusage.qbs
+++ b/tests/auto/language/testdata/idusage.qbs
@@ -17,4 +17,9 @@ Project {
property int nr: product2.nr + 1
name: "product3_" + nr
}
+ DerivedProduct {
+ id: product4
+ nr: product3.nr + 1
+ name: "product4_" + nr
+ }
}
diff --git a/tests/auto/language/testdata/idusagebase.qbs b/tests/auto/language/testdata/idusagebase.qbs
index 483a00ccf..0606ded16 100644
--- a/tests/auto/language/testdata/idusagebase.qbs
+++ b/tests/auto/language/testdata/idusagebase.qbs
@@ -2,4 +2,5 @@ Product {
id: baseProduct
property int nr: theProject.initialNr + 1
name: "product1_" + nr
+ property string productName: baseProduct.name
}