File tree Expand file tree Collapse file tree 2 files changed +27
-2
lines changed
core/esmf-aspect-model-resolver/src/test
java/org/eclipse/esmf/aspectmodel/resolver
resources/samm_2_0_0/org.eclipse.esmf.test/1.0.0 Expand file tree Collapse file tree 2 files changed +27
-2
lines changed Original file line number Diff line number Diff line change 32
32
import org .eclipse .esmf .aspectmodel .vocabulary .SAMM ;
33
33
import org .eclipse .esmf .samm .KnownVersion ;
34
34
import org .eclipse .esmf .test .MetaModelVersions ;
35
- import org .junit .jupiter .api .Test ;
36
35
import org .junit .jupiter .params .ParameterizedTest ;
37
36
import org .junit .jupiter .params .provider .MethodSource ;
38
37
@@ -66,7 +65,8 @@ public void testLoadDataModelExpectSuccess( final KnownVersion metaModelVersion
66
65
.isNotEmpty ();
67
66
}
68
67
69
- @ Test
68
+ @ ParameterizedTest
69
+ @ MethodSource ( value = "allVersions" )
70
70
public void testLoadLegacyBammModelExpectSuccess () throws URISyntaxException {
71
71
final KnownVersion metaModelVersion = KnownVersion .getLatest ();
72
72
final File aspectModelsRootDirectory = new File (
Original file line number Diff line number Diff line change
1
+ # Copyright (c) 2023 Robert Bosch Manufacturing Solutions GmbH
2
+ #
3
+ # See the AUTHORS file(s) distributed with this work for additional
4
+ # information regarding authorship.
5
+ #
6
+ # This Source Code Form is subject to the terms of the Mozilla Public
7
+ # License, v. 2.0. If a copy of the MPL was not distributed with this
8
+ # file, You can obtain one at https://mozilla.org/MPL/2.0/.
9
+ #
10
+ # SPDX-License-Identifier: MPL-2.0
11
+
12
+ @prefix bamm: <urn:bamm:io.openmanufacturing:meta-model:1.0.0#> .
13
+ @prefix bamm-c: <urn:bamm:io.openmanufacturing:characteristic:1.0.0#> .
14
+ @prefix bamm-e: <urn:bamm:io.openmanufacturing:entity:1.0.0#> .
15
+ @prefix : <urn:bamm:org.eclipse.esmf.test:2.0.0#> .
16
+ @prefix unit: <urn:bamm:io.openmanufacturing:unit:1.0.0#> .
17
+ @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
18
+
19
+ :BammTest a bamm:Aspect ;
20
+ bamm:preferredName " BAMM Test" @en ;
21
+ bamm:properties ( :property ) ;
22
+ bamm:operations ( ) .
23
+
24
+ :property a bamm:Property ;
25
+ bamm:characteristic bamm-c:Text .
You can’t perform that action at this time.
0 commit comments