-
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.
test: verify
engines
works as expected
* test: explicitly set element templates per describe This ensures the tests clearly layout expectations.
- Loading branch information
Showing
2 changed files
with
306 additions
and
26 deletions.
There are no files selected for viewing
82 changes: 82 additions & 0 deletions
82
test/spec/cloud-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 <desktopModeler>, if explicit <desktopModeler>=1> is provided", | ||
"version": 2, | ||
"engines": { | ||
"camunda": "^8.6", | ||
"webModeler": "^4.1", | ||
"desktopModeler": "^0" | ||
}, | ||
"appliesTo": [ | ||
"bpmn:Task" | ||
], | ||
"properties": [] | ||
}, | ||
{ | ||
"id": "example.engines.test.multiple", | ||
"name": "<engines> Test - Multiple", | ||
"description": "matches when compatible <camunda> and/or <webModeler> run-time is indicated, or properties are not provided", | ||
"version": 1, | ||
"engines": { | ||
"camunda": "^8.6", | ||
"webModeler": "^4.1" | ||
}, | ||
"appliesTo": [ | ||
"bpmn:Task" | ||
], | ||
"properties": [] | ||
}, | ||
|
||
{ | ||
"id": "example.engines.test.basic", | ||
"name": "<engines> Test - Basic", | ||
"description": "matches when compatible <camunda> run-time is indicated, or property is not provided", | ||
"version": 2, | ||
"engines": { | ||
"camunda": "^8.6" | ||
}, | ||
"appliesTo": [ | ||
"bpmn:Task" | ||
], | ||
"properties": [] | ||
}, | ||
{ | ||
"id": "example.engines.test.basic", | ||
"name": "<engines> Test - Basic", | ||
"description": "matches when compatible <camunda> run-time is indicated, or property is not provided", | ||
"version": 1, | ||
"engines": { | ||
"camunda": "^8.5" | ||
}, | ||
"appliesTo": [ | ||
"bpmn:Task" | ||
], | ||
"properties": [] | ||
}, | ||
{ | ||
"id": "example.engines.test.basic", | ||
"name": "<engines> Test - Basic", | ||
"description": "always matches", | ||
"version": 0, | ||
"appliesTo": [ | ||
"bpmn:Task" | ||
], | ||
"properties": [] | ||
}, | ||
|
||
{ | ||
"id": "example.engines.test.broken", | ||
"name": "<engines> Test - broken Semver range", | ||
"description": "specifies broken semver range", | ||
"version": 0, | ||
"engines": { | ||
"camunda": "-foobar" | ||
}, | ||
"appliesTo": [ | ||
"bpmn:Task" | ||
], | ||
"properties": [] | ||
} | ||
] |
Oops, something went wrong.