aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/blackbox/testdata/propertyChanges
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@digia.com>2013-12-05 17:05:00 +0100
committerChristian Kandeler <christian.kandeler@digia.com>2013-12-05 17:26:27 +0100
commit2e4950c1dcf209a8740f6300453a8dd4db8e9c49 (patch)
treebeca4070b5016ee95838500140ffad74ca8a52d7 /tests/auto/blackbox/testdata/propertyChanges
parent640ae2a40ee5c8cd478eae3a1cd9d4e9302b7615 (diff)
Track access to product properties in commands.
We currently do this only for the prepare script itself, not for the JavaScript commands within. Change-Id: I219b77d3b1e5db39053afa3c9d1ead2dd6406de3 Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Diffstat (limited to 'tests/auto/blackbox/testdata/propertyChanges')
-rw-r--r--tests/auto/blackbox/testdata/propertyChanges/project.qbs3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/auto/blackbox/testdata/propertyChanges/project.qbs b/tests/auto/blackbox/testdata/propertyChanges/project.qbs
index b2de04e84..799c340bd 100644
--- a/tests/auto/blackbox/testdata/propertyChanges/project.qbs
+++ b/tests/auto/blackbox/testdata/propertyChanges/project.qbs
@@ -27,6 +27,7 @@ Project {
Product {
name: "generated text file"
+ property string fileContentPrefix: "prefix 1"
Transformer {
Artifact { fileName: "generated.txt" }
@@ -37,7 +38,7 @@ Project {
cmd.sourceCode = function() {
file = new TextFile(output.fileName, TextFile.WriteOnly);
file.truncate();
- file.write("contents 1");
+ file.write(product.fileContentPrefix + "contents 1");
file.close();
}
return cmd;