aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@digia.com>2013-11-01 14:10:36 +0100
committerJoerg Bornemann <joerg.bornemann@digia.com>2013-11-11 09:39:06 +0100
commitb314fe164427b931f2c226512b0603047f8e3103 (patch)
tree6b6fda11a2fe6e4a4b33b1b20539056367f2515c /tests
parent7e2df73a397743777e4119e3646af17b5561b1a3 (diff)
Allow lists of patterns in the FileTagger item.
Rationale: It is not uncommon that the same tag is associated with more than one file pattern; more common, in fact, than the other way around. It therefore seems silly to force module authors to create one FileTagger item per file extension. For semantic consistency, the "pattern" property gets renamed to "patterns". The old name is still supported in this minor version. Change-Id: Ia7f744b0903462517582fcb549e2dab004c81dd5 Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/blackbox/testdata/explicitlyDependsOn/project.qbs2
-rw-r--r--tests/auto/blackbox/testdata/ruleConditions/modules/narfzort/narfzort.qbs2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/blackbox/testdata/explicitlyDependsOn/project.qbs b/tests/auto/blackbox/testdata/explicitlyDependsOn/project.qbs
index ab98740c6..12ae1bd7e 100644
--- a/tests/auto/blackbox/testdata/explicitlyDependsOn/project.qbs
+++ b/tests/auto/blackbox/testdata/explicitlyDependsOn/project.qbs
@@ -5,7 +5,7 @@ Product {
type: "mytype"
files: "dependency.txt"
FileTagger {
- pattern: "*.txt"
+ patterns: "*.txt"
fileTags: ["txt"]
}
Transformer {
diff --git a/tests/auto/blackbox/testdata/ruleConditions/modules/narfzort/narfzort.qbs b/tests/auto/blackbox/testdata/ruleConditions/modules/narfzort/narfzort.qbs
index 62d7f8fe1..988c6657e 100644
--- a/tests/auto/blackbox/testdata/ruleConditions/modules/narfzort/narfzort.qbs
+++ b/tests/auto/blackbox/testdata/ruleConditions/modules/narfzort/narfzort.qbs
@@ -4,7 +4,7 @@ import qbs.TextFile
Module {
property bool buildZort: true
FileTagger {
- pattern: "*.narf"
+ patterns: "*.narf"
fileTags: ["narf"]
}
Rule {