-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Restructures test instances for composition; Added parsing method by …
…simply giving a path
- Loading branch information
1 parent
decf6c1
commit 3a70b75
Showing
12 changed files
with
94 additions
and
53 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
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
This file was deleted.
Oops, something went wrong.
24 changes: 24 additions & 0 deletions
24
src/test/resources/parsing/composition/composition_root.uvl
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,24 @@ | ||
imports | ||
composition_sub1 | ||
|
||
features | ||
Computer | ||
optional | ||
"RAM-module" | ||
mandatory | ||
"SATA-Devices" | ||
[0..3] | ||
HDD | ||
SSD | ||
"DVD-drive" | ||
"Card-reader" | ||
"Blu-ray-drive" | ||
composition_sub1.CPU | ||
PSU {abstract true} | ||
alternative | ||
strong_PSU | ||
weak_PSU | ||
|
||
constraints | ||
SSD => strong_PSU | ||
"DVD-drive" <=> composition_sub1.brand & composition_sub1.fmIntel.feature1 & composition_sub1.composition_sub1_sub2.feature2 |
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
5 changes: 0 additions & 5 deletions
5
...ces/composition/composition_sub1_sub1.uvl → ...ing/composition/composition_sub1_sub1.uvl
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 |
---|---|---|
@@ -1,8 +1,3 @@ | ||
include | ||
SAT-level | ||
|
||
namespace composition_sub1_sub1 | ||
|
||
features | ||
Intel | ||
mandatory | ||
|
5 changes: 0 additions & 5 deletions
5
...ces/composition/composition_sub1_sub2.uvl → ...ing/composition/composition_sub1_sub2.uvl
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 |
---|---|---|
@@ -1,8 +1,3 @@ | ||
include | ||
SAT-level | ||
|
||
namespace composition_sub1_sub2 | ||
|
||
features | ||
AMD | ||
mandatory | ||
|
5 changes: 5 additions & 0 deletions
5
src/test/resources/parsing/composition/nested/nested_referenced_sub.uvl
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,5 @@ | ||
features | ||
Nested | ||
optional | ||
N1 | ||
N2 |
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,9 @@ | ||
imports | ||
nested_referenced_sub as nrs | ||
|
||
features | ||
Root | ||
optional | ||
F1 | ||
F2 | ||
nrs.Nested |
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,7 @@ | ||
ímports | ||
nested.nested_sub as nesu | ||
|
||
features | ||
Root | ||
optional | ||
nesu.Root |