diff options
author | Joerg Bornemann <joerg.bornemann@qt.io> | 2017-03-03 14:48:47 +0100 |
---|---|---|
committer | Joerg Bornemann <joerg.bornemann@qt.io> | 2017-03-09 10:29:34 +0000 |
commit | 9a61dce72a870bbc2d497c68d505dc2ddc2a09eb (patch) | |
tree | 35aca146bd8bf312835a80e0d3dfdd047e0023be /tests/auto/blackbox/testdata/probe-in-exported-module | |
parent | 172e570855208bd04403dfb59f41753536d2dfd2 (diff) |
Remove usage of moduleProperty() from some tests
Keep other instances of moduleProperty() to have it still covered as
long as it's not yet deprecated.
Change-Id: I2bf010c3265af4429986b8c54f3c9bc5f962c629
Reviewed-by: Jake Petroules <jake.petroules@qt.io>
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'tests/auto/blackbox/testdata/probe-in-exported-module')
-rw-r--r-- | tests/auto/blackbox/testdata/probe-in-exported-module/modules/depmodule/depmodule.qbs | 4 | ||||
-rw-r--r-- | tests/auto/blackbox/testdata/probe-in-exported-module/modules/mymodule/mymodule.qbs | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/auto/blackbox/testdata/probe-in-exported-module/modules/depmodule/depmodule.qbs b/tests/auto/blackbox/testdata/probe-in-exported-module/modules/depmodule/depmodule.qbs index f2d7e8dce..b880d6dac 100644 --- a/tests/auto/blackbox/testdata/probe-in-exported-module/modules/depmodule/depmodule.qbs +++ b/tests/auto/blackbox/testdata/probe-in-exported-module/modules/depmodule/depmodule.qbs @@ -14,8 +14,8 @@ Module { var cmd = new JavaScriptCommand(); cmd.description = "Creating dep-out artifact"; cmd.sourceCode = function() { - console.info("prop: " + product.moduleProperty("depmodule", "prop")); - console.info("listProp: " + product.moduleProperty("depmodule", "listProp")); + console.info("prop: " + product.depmodule.prop); + console.info("listProp: " + product.depmodule.listProp); }; return [cmd]; } diff --git a/tests/auto/blackbox/testdata/probe-in-exported-module/modules/mymodule/mymodule.qbs b/tests/auto/blackbox/testdata/probe-in-exported-module/modules/mymodule/mymodule.qbs index e68899ae2..9f3657f34 100644 --- a/tests/auto/blackbox/testdata/probe-in-exported-module/modules/mymodule/mymodule.qbs +++ b/tests/auto/blackbox/testdata/probe-in-exported-module/modules/mymodule/mymodule.qbs @@ -20,7 +20,7 @@ Module { var cmd = new JavaScriptCommand(); cmd.description = "Creating out artifact"; cmd.sourceCode = function() { - console.info("found: " + product.moduleProperty("mymodule", "found")); + console.info("found: " + product.mymodule.found); }; return [cmd]; } |