-
Notifications
You must be signed in to change notification settings - Fork 199
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test(validator): validate property groups
- Loading branch information
Niklas Kiefer
committed
Feb 3, 2022
1 parent
98a0810
commit 036deb0
Showing
5 changed files
with
138 additions
and
9 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 23 additions & 0 deletions
23
test/spec/provider/element-templates/fixtures/error-groups-missing-id.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
[ | ||
{ | ||
"name": "Missing group id", | ||
"id": "example.com.missingGroupId", | ||
"appliesTo": [ | ||
"bpmn:ServiceTask" | ||
], | ||
"properties": [], | ||
"groups": [ | ||
{ | ||
"label": "Group one" | ||
}, | ||
{ | ||
"id": "two", | ||
"label": "Group two" | ||
}, | ||
{ | ||
"id": "three", | ||
"label": "Group three" | ||
} | ||
] | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
[ | ||
{ | ||
"name": "Grouping", | ||
"id": "example.com.grouping", | ||
"appliesTo": [ | ||
"bpmn:ServiceTask" | ||
], | ||
"properties": [ | ||
{ | ||
"label": "input 1", | ||
"type": "String", | ||
"binding": { | ||
"type": "camunda:inputParameter", | ||
"name": "input1" | ||
} | ||
}, | ||
{ | ||
"label": "input 2", | ||
"group": "one", | ||
"type": "String", | ||
"binding": { | ||
"type": "camunda:inputParameter", | ||
"name": "input2" | ||
} | ||
}, | ||
{ | ||
"label": "input 3", | ||
"group": "one", | ||
"type": "String", | ||
"binding": { | ||
"type": "camunda:inputParameter", | ||
"name": "input3" | ||
} | ||
}, | ||
{ | ||
"label": "input 4", | ||
"group": "two", | ||
"type": "String", | ||
"binding": { | ||
"type": "camunda:inputParameter", | ||
"name": "input4" | ||
} | ||
}, | ||
{ | ||
"label": "input 5", | ||
"group": "three", | ||
"type": "String", | ||
"binding": { | ||
"type": "camunda:inputParameter", | ||
"name": "input5" | ||
} | ||
} | ||
], | ||
"groups": [ | ||
{ | ||
"id": "one", | ||
"label": "Group one" | ||
}, | ||
{ | ||
"id": "two", | ||
"label": "Group two" | ||
}, | ||
{ | ||
"id": "three", | ||
"label": "Group three" | ||
} | ||
] | ||
} | ||
] |