You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tests/org.dataflowanalysis.pcm.extension.dddsl.tests/src/org/dataflowanalysis/pcm/extension/dddsl/tests/DDDslFormatterTest.xtend
Copy file name to clipboardExpand all lines: tests/org.dataflowanalysis.pcm.extension.dddsl.tests/src/org/dataflowanalysis/pcm/extension/dddsl/tests/DDDslParsingTest.xtend
+18Lines changed: 18 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -43,7 +43,25 @@ class DDDslParsingTest {
43
43
}
44
44
enumCharacteristicType AssignedRoles using Roles
45
45
enumCharacteristicType ReadAccess using Roles
46
+
47
+
behavior foo {
48
+
input ccd
49
+
output RESULT
50
+
RESULT.{
51
+
*.* := ccd.*.*
52
+
ReadAccess.Airline := true
53
+
}
54
+
55
+
}
46
56
'''.parse
57
+
var characterisations = result.reusableBehaviours.get(0).variableUsages.get(0).
58
+
variableCharacterisation_VariableUsage;
59
+
var characterisation = characterisations.get(1) as ConfidentialityVariableCharacterisation
60
+
var lhs = characterisation.lhs as LhsEnumCharacteristicReference
Copy file name to clipboardExpand all lines: tests/org.dataflowanalysis.pcm.extension.dictionary.characterized.dsl.tests/src/org/dataflowanalysis/pcm/extension/dictionary/characterized/dsl/tests/CharacterizedDataDictionaryFormatterTest.xtend
+138Lines changed: 138 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -100,6 +100,144 @@ class CharacterizedDataDictionaryFormatterTest {
0 commit comments