diff options
author | Denis Shienkov <denis.shienkov@gmail.com> | 2021-11-04 20:56:28 +0300 |
---|---|---|
committer | Denis Shienkov <denis.shienkov@gmail.com> | 2021-11-15 18:56:24 +0000 |
commit | c1af290c995ef9791731fa59fdb7d24443c6b035 (patch) | |
tree | 7ce3fb0dde92f0dba9be9c38a69b8468eb6f63ab /tests/auto/api/testdata | |
parent | ce6ee7bb701b3a88088b38efd9297e5ced31aadd (diff) |
Fix descriptions for JS commands
* All descriptions start with a small letter.
* Trailing dots have been removed from all descriptions.
* For all static library rules replaced 'linking' with 'creating'
in descriptions.
* Added 'ing' ending to all descriptions where it was missing.
Change-Id: I2a4cb9dd53980d33628e097efaae53a68573af42
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'tests/auto/api/testdata')
9 files changed, 10 insertions, 10 deletions
diff --git a/tests/auto/api/testdata/codegen/codegen.qbs b/tests/auto/api/testdata/codegen/codegen.qbs index d8a217572..29c7818c4 100644 --- a/tests/auto/api/testdata/codegen/codegen.qbs +++ b/tests/auto/api/testdata/codegen/codegen.qbs @@ -65,7 +65,7 @@ Project { args[0] = args[0].replace(/;/g, '\\;') cmd = new Command(product.qbs.shellPath, ['-c'].concat(args)) } - cmd.description = 'generate\t' + FileInfo.fileName(output.filePath); + cmd.description = 'generating ' + FileInfo.fileName(output.filePath); cmd.highlight = 'codegen'; return cmd; } diff --git a/tests/auto/api/testdata/infinite-loop-js/infinite-loop.qbs b/tests/auto/api/testdata/infinite-loop-js/infinite-loop.qbs index bb616a9e2..224e90ca6 100644 --- a/tests/auto/api/testdata/infinite-loop-js/infinite-loop.qbs +++ b/tests/auto/api/testdata/infinite-loop-js/infinite-loop.qbs @@ -8,7 +8,7 @@ Product { } prepare: { var cmd = new JavaScriptCommand(); - cmd.description = "Running infinite loop"; + cmd.description = "running infinite loop"; cmd.sourceCode = function() { while (true) ; diff --git a/tests/auto/api/testdata/infinite-loop-process/infinite-loop.qbs b/tests/auto/api/testdata/infinite-loop-process/infinite-loop.qbs index f4ea8bf83..f100e4d37 100644 --- a/tests/auto/api/testdata/infinite-loop-process/infinite-loop.qbs +++ b/tests/auto/api/testdata/infinite-loop-process/infinite-loop.qbs @@ -24,7 +24,7 @@ Project { outputFileTags: "mytype" prepare: { var cmd = new Command(inputs["application"][0].filePath); - cmd.description = "Calling application that runs forever"; + cmd.description = "calling application that runs forever"; return cmd; } } diff --git a/tests/auto/api/testdata/precompiled-header-dynamic/precompiled-header-dynamic.qbs b/tests/auto/api/testdata/precompiled-header-dynamic/precompiled-header-dynamic.qbs index 2fd58d24e..1b0728669 100644 --- a/tests/auto/api/testdata/precompiled-header-dynamic/precompiled-header-dynamic.qbs +++ b/tests/auto/api/testdata/precompiled-header-dynamic/precompiled-header-dynamic.qbs @@ -21,7 +21,7 @@ CppApplication { } prepare: { var cmd = new JavaScriptCommand(); - cmd.description = "Generating " + output.fileName; + cmd.description = "generating " + output.fileName; cmd.sourceCode = function() { File.copy(input.filePath, output.filePath); } return [cmd]; } diff --git a/tests/auto/api/testdata/process-result/process-result.qbs b/tests/auto/api/testdata/process-result/process-result.qbs index 5b71ecaaa..069edb4c0 100644 --- a/tests/auto/api/testdata/process-result/process-result.qbs +++ b/tests/auto/api/testdata/process-result/process-result.qbs @@ -27,7 +27,7 @@ Project { cmd.stdoutFilePath = product.buildDirectory + "/stdout.txt"; if (product.redirectStderr) cmd.stderrFilePath = product.buildDirectory + "/stderr.txt"; - cmd.description = "Building app-caller"; + cmd.description = "building app-caller"; return [cmd]; } } diff --git a/tests/auto/api/testdata/timeout-js/timeout.qbs b/tests/auto/api/testdata/timeout-js/timeout.qbs index 26aa4ce87..72c72573b 100644 --- a/tests/auto/api/testdata/timeout-js/timeout.qbs +++ b/tests/auto/api/testdata/timeout-js/timeout.qbs @@ -8,7 +8,7 @@ Product { } prepare: { var cmd = new JavaScriptCommand(); - cmd.description = "Running infinite loop"; + cmd.description = "running infinite loop"; cmd.sourceCode = function() { while (true) ; diff --git a/tests/auto/api/testdata/timeout-process/timeout.qbs b/tests/auto/api/testdata/timeout-process/timeout.qbs index 30f390946..994050309 100644 --- a/tests/auto/api/testdata/timeout-process/timeout.qbs +++ b/tests/auto/api/testdata/timeout-process/timeout.qbs @@ -31,7 +31,7 @@ Project { outputFileTags: "product-under-test" prepare: { var cmd = new Command(inputs["application"][0].filePath); - cmd.description = "Calling application that runs forever"; + cmd.description = "calling application that runs forever"; cmd.timeout = 3; return cmd; } diff --git a/tests/auto/api/testdata/transformer-data/transformer-data.qbs b/tests/auto/api/testdata/transformer-data/transformer-data.qbs index f9433ed73..d29dbdbae 100644 --- a/tests/auto/api/testdata/transformer-data/transformer-data.qbs +++ b/tests/auto/api/testdata/transformer-data/transformer-data.qbs @@ -11,7 +11,7 @@ Product { } prepare: { var cmd = new JavaScriptCommand(); - cmd.description = "Creating " + output.fileName; + cmd.description = "creating " + output.fileName; cmd.sourceCode = function() { var f = new TextFile(output.filePath, TextFile.WriteOnly); f.close(); @@ -27,7 +27,7 @@ Product { } prepare: { var cmd = new JavaScriptCommand(); - cmd.description = "Creating " + output.fileName; + cmd.description = "creating " + output.fileName; cmd.sourceCode = function() { File.copy(input.filePath, output.filePath); }; return [cmd]; } diff --git a/tests/auto/api/testdata/two-default-property-values/modules/mymodule/mymodule.qbs b/tests/auto/api/testdata/two-default-property-values/modules/mymodule/mymodule.qbs index 8ac7b75a3..67f34ed66 100644 --- a/tests/auto/api/testdata/two-default-property-values/modules/mymodule/mymodule.qbs +++ b/tests/auto/api/testdata/two-default-property-values/modules/mymodule/mymodule.qbs @@ -12,7 +12,7 @@ Module { } prepare: { var cmd = new JavaScriptCommand(); - cmd.description = "Creating " + output.fileName; + cmd.description = "creating " + output.fileName; cmd.sourceCode = function() { var f = new TextFile(output.filePath, TextFile.WriteOnly); f.close(); |