summaryrefslogtreecommitdiff
path: root/tests/auto/blackbox/testdata/dependenciesProperty
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@digia.com>2014-02-25 15:39:22 +0100
committerChristian Kandeler <christian.kandeler@digia.com>2014-02-25 18:17:37 +0100
commiteac4bba41ed9e68dee9a019e0fedc51d220ef112 (patch)
tree97f728cccb9c52e94060d0d6ec4ae55d51b0cabe /tests/auto/blackbox/testdata/dependenciesProperty
parent11a04709f4282a399c75e7ef6cc6624733de4c71 (diff)
downloadqbs-eac4bba41ed9e68dee9a019e0fedc51d220ef112.tar.gz
use filePath instead of fileName where applicable
This fixes the recently introduced deprecation warnings. Task-number: QBS-258 Change-Id: I10660270895ec89a1444d596922c22e9658ca3ab Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
Diffstat (limited to 'tests/auto/blackbox/testdata/dependenciesProperty')
-rw-r--r--tests/auto/blackbox/testdata/dependenciesProperty/dependenciesProperty.qbs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/blackbox/testdata/dependenciesProperty/dependenciesProperty.qbs b/tests/auto/blackbox/testdata/dependenciesProperty/dependenciesProperty.qbs
index 052829c1b..a5ff12eb2 100644
--- a/tests/auto/blackbox/testdata/dependenciesProperty/dependenciesProperty.qbs
+++ b/tests/auto/blackbox/testdata/dependenciesProperty/dependenciesProperty.qbs
@@ -14,11 +14,11 @@ Project {
}
prepare: {
var cmd = new JavaScriptCommand();
- cmd.description = 'generate ' + FileInfo.fileName(output.fileName);
+ cmd.description = 'generate ' + FileInfo.fileName(output.filePath);
cmd.highlight = 'codegen';
cmd.content = JSON.stringify(product.dependencies);
cmd.sourceCode = function() {
- file = new TextFile(output.fileName, TextFile.WriteOnly);
+ file = new TextFile(output.filePath, TextFile.WriteOnly);
file.truncate();
file.write(content);
file.close();