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: CHANGELOG.adoc
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,6 +18,7 @@
18
18
- https://github.com/eclipse-syson/syson/issues/1007[#1007] Improve direct edit on Feature elements to be able to set the `isDefault` and `isInitial` properties
19
19
- https://github.com/eclipse-syson/syson/issues/1033[#1033] [explorer] Make it possible to create a diagram representation directly under a `root Namespace` element
20
20
- https://github.com/eclipse-syson/syson/issues/960[#960] [general-view] In the selection dialog of the `subject` creation tool, display possible `Usage` candidates in a tree instead of a list.
21
+
- https://github.com/eclipse-syson/syson/issues/1028[#1028] [import] Improve handling of `SuccessionAsUsage` with implicit source feature.
21
22
22
23
=== New features
23
24
@@ -82,6 +83,7 @@ The changes are:
82
83
- https://github.com/eclipse-syson/syson/issues/1018[#1018] [libraries] Make customizing the default metamodels and libraries available in SysML projects easier by making default implementation `SysONDefaultLibrariesConfiguration.java` more extensible.
83
84
To do so, create a `@Primary @Configuration` component that extend `SysMLDefaultLibrariesConfiguration`, and optionally redefine `getDefaultLibraries()` method and/or `getDefaultEPackages()`.
84
85
86
+
85
87
=== New features
86
88
87
89
- https://github.com/eclipse-syson/syson/issues/977[#977] [validation] SysON now implements the constraints (a.k.a. validation rules) from the SysMLv2 specification.
Copy file name to clipboardExpand all lines: backend/application/syson-application/src/test/java/org/eclipse/syson/application/export/ImportExportTests.java
@DisplayName("Given a SuccessionAsUsage with an implicit source feature, when importing and exporting the model, then the exported text file should be the same as the imported one.")
@DisplayName("Given a SuccessionAsUsage with an implicit source feature targeting the 'start' standard library element, when importing and exporting the model, then the exported text file should be semantically equal.")
@DisplayName("Given a SuccessionAsUsage with an explicit source feature, when importing and exporting the model, then the exported text file should be the same as the imported one.")
* Test import/export on test file UseCaseTest.sysml. The content of UseCaseTest.sysml that have been copied below
60
118
* is under LGPL-3.0-only license. The LGPL-3.0-only license is accessible at the root of this repository, in the
@@ -142,16 +200,15 @@ public void checkUseCaseTest() throws IOException {
142
200
}""";
143
201
144
202
this.checker.check(input, expected);
145
-
146
203
}
147
204
148
205
/**
149
206
* Test import/export simple PortDef and PortUsage.
150
207
*
151
208
* @throws IOException
152
209
*/
153
-
@DisplayName("Given a model with PortDefinition and PortUsage, when importing and exporting the model, then the exported text file should be the same as the imported one.")
154
210
@Test
211
+
@DisplayName("Given a model with PortDefinition and PortUsage, when importing and exporting the model, then the exported text file should be the same as the imported one.")
155
212
publicvoidcheckImportPort() throwsIOException {
156
213
varinput = """
157
214
port def Port1;
@@ -166,8 +223,8 @@ public void checkImportPort() throws IOException {
166
223
*
167
224
* @throws IOException
168
225
*/
169
-
@DisplayName("Given a model with AttributeUsages with default and initial value, when importing and exporting the model, then the exported text file should be the same as the imported one.")
170
226
@Test
227
+
@DisplayName("Given a model with AttributeUsages with default and initial value, when importing and exporting the model, then the exported text file should be the same as the imported one.")
0 commit comments