-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: only mark compatible templates as latest
test: verify core element template concerns in core feature
- Loading branch information
Showing
4 changed files
with
374 additions
and
20 deletions.
There are no files selected for viewing
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
82 changes: 82 additions & 0 deletions
82
test/spec/element-templates/ElementTemplates.engines-templates.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,82 @@ | ||
[ | ||
{ | ||
"id": "example.engines.test.multiple", | ||
"name": "<engines> Test - Multiple", | ||
"description": "does not match if { desktopModeler: >=1 } is provided", | ||
"version": 2, | ||
"engines": { | ||
"camunda": "^7.14", | ||
"webModeler": "^4.1", | ||
"desktopModeler": "^0" | ||
}, | ||
"appliesTo": [ | ||
"bpmn:Task" | ||
], | ||
"properties": [] | ||
}, | ||
{ | ||
"id": "example.engines.test.multiple", | ||
"name": "<engines> Test - Multiple", | ||
"description": "matches if { camunda: ^7.14, webModeler: ^4.1 } engine is indicated, or properties are not provided", | ||
"version": 1, | ||
"engines": { | ||
"camunda": "^7.14", | ||
"webModeler": "^4.1" | ||
}, | ||
"appliesTo": [ | ||
"bpmn:Task" | ||
], | ||
"properties": [] | ||
}, | ||
|
||
{ | ||
"id": "example.engines.test.basic", | ||
"name": "<engines> Test - Basic", | ||
"description": "matches if { camunda: ^7.14 }, or if no <camunda> engine is provided", | ||
"version": 3, | ||
"engines": { | ||
"camunda": "^7.14" | ||
}, | ||
"appliesTo": [ | ||
"bpmn:Task" | ||
], | ||
"properties": [] | ||
}, | ||
{ | ||
"id": "example.engines.test.basic", | ||
"name": "<engines> Test - Basic", | ||
"description": "matches if { camunda: ^7.13 }, or if no <camunda> engine is provided", | ||
"version": 2, | ||
"engines": { | ||
"camunda": "^7.13" | ||
}, | ||
"appliesTo": [ | ||
"bpmn:Task" | ||
], | ||
"properties": [] | ||
}, | ||
{ | ||
"id": "example.engines.test.basic", | ||
"name": "<engines> Test - Basic", | ||
"description": "always matches", | ||
"version": 1, | ||
"appliesTo": [ | ||
"bpmn:Task" | ||
], | ||
"properties": [] | ||
}, | ||
|
||
{ | ||
"id": "example.engines.test.broken", | ||
"name": "<engines> Test - broken Semver range", | ||
"description": "specifies broken semver range", | ||
"version": 1, | ||
"engines": { | ||
"camunda": "invalid-version" | ||
}, | ||
"appliesTo": [ | ||
"bpmn:Task" | ||
], | ||
"properties": [] | ||
} | ||
] |
Oops, something went wrong.