File tree Expand file tree Collapse file tree 3 files changed +31
-0
lines changed
esmf-native-support/src/main/java/org/eclipse/esmf/nativefeatures
esmf-test-aspect-models/src/main
java/org/eclipse/esmf/test
resources/invalid/org.eclipse.esmf.test/1.0.0 Expand file tree Collapse file tree 3 files changed +31
-0
lines changed Original file line number Diff line number Diff line change @@ -257,6 +257,8 @@ private void setupAwt() {
257
257
Native .forClass ( java .awt .GraphicsEnvironment .class )
258
258
.registerMethodForJni ( "getLocalGraphicsEnvironment" )
259
259
.registerMethodForJni ( "isHeadless" );
260
+ Native .forClass ( "java.awt.GraphicsEnvironment$LocalGE" )
261
+ .registerClassForReflection ();
260
262
Native .forClass ( java .awt .event .KeyEvent .class )
261
263
.registerFieldsForJni ( "isProxyActive" );
262
264
Native .forClass ( java .awt .geom .AffineTransform .class )
Original file line number Diff line number Diff line change 18
18
public enum InvalidTestAspect implements TestModel {
19
19
ACTUALLY_JSON ,
20
20
ASPECT_WITH_INVALID_VERSION ,
21
+ ASPECT_WITH_LANG_STRING_WITH_EMPTY_LANGUAGE_TAG ,
21
22
ASPECT_WITH_RECURSIVE_PROPERTY ,
22
23
INVALID_SYNTAX ,
23
24
INVALID_ENCODING ,
Original file line number Diff line number Diff line change
1
+ # Copyright (c) 2025 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 : <urn:samm:org.eclipse.esmf.test:1.0.0#> .
13
+ @prefix samm: <urn:samm:org.eclipse.esmf.samm:meta-model:2.2.0#> .
14
+ @prefix samm-c: <urn:samm:org.eclipse.esmf.samm:characteristic:2.2.0#> .
15
+ @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
16
+ @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
17
+
18
+ :AspectWithLangStringWithEmptyLanguageTag a samm:Aspect ;
19
+ samm:preferredName " Test Aspect" @en ;
20
+ samm:description " This is a test description" @en ;
21
+ samm:properties ( :testProperty ) ;
22
+ samm:operations ( ) .
23
+
24
+ :testProperty a samm:Property ;
25
+ samm:preferredName " Test Property" @en ;
26
+ samm:description " This is a test property." @en ;
27
+ samm:exampleValue " invalid without language tag" ^^rdf:langString ;
28
+ samm:characteristic samm-c:MultiLanguageText .
You can’t perform that action at this time.
0 commit comments