Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
milesstoetzner committed Dec 25, 2024
1 parent fa42769 commit 39bc0c1
Show file tree
Hide file tree
Showing 12 changed files with 10 additions and 8 deletions.
1 change: 1 addition & 0 deletions docs/docs/variability4tosca/specification/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,7 @@ The following options are used to configure constraints.
| constraints | false | Boolean | false | Enable all constraints. |
| relation_source_constraint | false | Boolean | false | Enable the constraint regarding present relation sources. |
| relation_target_constraint | false | Boolean | false | Enable the constraint regarding present relation targets. |
| relation_enhanced_implication_mode | false | Boolean | true | Enable enhanced implied relations. |
| artifact_container_constraint | false | Boolean | false | Enable the constraint regarding present container of artifacts. |
| property_container_constraint | false | Boolean | false | Enable the constraint regarding present container of properties. |
| type_container_constraint | false | Boolean | false | Enable the constraint regarding present containers of types. |
Expand Down
3 changes: 0 additions & 3 deletions src/specification/variability.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,6 @@ export type ConstraintsOptions = {
constraints?: boolean
relation_source_constraint?: boolean
relation_target_constraint?: boolean
// TODO: doc
// TODO: implement
// TODO: tests
relation_enhanced_implication_mode?: boolean
artifact_container_constraint?: boolean
property_container_constraint?: boolean
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
presets: left
error: Could not solve
description: disabled since we support now enhanced implied relations
2 changes: 0 additions & 2 deletions tests/conformance/implications-naive/requires/test.yaml

This file was deleted.

3 changes: 3 additions & 0 deletions tests/conformance/implications/requires---disabled/test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
presets: left
error: Could not solve
description: disabled since we support now enhanced implied relations
2 changes: 0 additions & 2 deletions tests/conformance/implications/requires/test.yaml

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
error: Could not solve
description: Only one hosting relation must be present. Hence, there is a conflict between implied relations and hosting constraints.
description: Only one hosting relation must be present. Hence, there is a conflict between implied relations and hosting constraints. Disabled since we support now enhanced implied relations.
2 changes: 2 additions & 0 deletions tests/enricher/implied/expected.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,13 @@ topology_template:
- and:
- node.worker
- [email protected]
- manual.node.left
- [email protected]
- implies:
- and:
- node.worker
- [email protected]
- manual.node.right
- [email protected]
node_templates:
- worker:
Expand Down

0 comments on commit 39bc0c1

Please sign in to comment.