aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/blackbox/testdata/import-assignment/import-assignment.qbs
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@qt.io>2018-06-08 14:55:29 +0200
committerChristian Kandeler <christian.kandeler@qt.io>2018-06-08 15:13:47 +0200
commit073fda0ab536b5610ff1b9191db582791552509e (patch)
tree16f0bbacc116e93778e9490ba2c2d9efff738d35 /tests/auto/blackbox/testdata/import-assignment/import-assignment.qbs
parent9349866b37118db9179d1f0689e872ca1260f040 (diff)
parent5f71b2220f9ff6838799c407972309bff1e8fc96 (diff)
Merge 1.12 into master
Diffstat (limited to 'tests/auto/blackbox/testdata/import-assignment/import-assignment.qbs')
-rw-r--r--tests/auto/blackbox/testdata/import-assignment/import-assignment.qbs23
1 files changed, 23 insertions, 0 deletions
diff --git a/tests/auto/blackbox/testdata/import-assignment/import-assignment.qbs b/tests/auto/blackbox/testdata/import-assignment/import-assignment.qbs
new file mode 100644
index 000000000..2bff00f35
--- /dev/null
+++ b/tests/auto/blackbox/testdata/import-assignment/import-assignment.qbs
@@ -0,0 +1,23 @@
+import qbs
+import MyImport
+
+Product {
+ type: "outtype"
+ property var importValue: MyImport
+ Rule {
+ multiplex: true
+ Artifact {
+ fileTags: "outtype"
+ filePath: "dummy"
+ }
+ prepare: {
+ var cmd = new JavaScriptCommand;
+ cmd.silent = true;
+ cmd.sourceCode = function() {
+ console.info("key 1 = " + product.importValue.key1);
+ console.info("key 2 = " + product.importValue.key2);
+ };
+ return cmd;
+ }
+ }
+}