Skip to content

Commit d089df8

Browse files
committed
Minimize test
1 parent abe6f8e commit d089df8

File tree

2 files changed

+3
-34
lines changed

2 files changed

+3
-34
lines changed

core/esmf-aspect-meta-model-java/src/test/java/org/eclipse/esmf/aspectmodel/resolver/AspectModelResolverTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
import org.apache.jena.vocabulary.RDF;
3737
import org.junit.jupiter.api.Test;
3838

39-
public class AspectModelResolverTest {
39+
class AspectModelResolverTest {
4040
@Test
4141
void testLoadDataModelExpectSuccess() throws URISyntaxException {
4242
final File aspectModelsRootDirectory = new File(

core/esmf-test-aspect-models/src/main/resources/invalid/org.eclipse.esmf.test/1.0.0/InvalidUuidAspectWithTwoAspects.ttl

Lines changed: 2 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -12,49 +12,18 @@
1212
@prefix : <urn:samm:org.eclipse.esmf.test:2.0.0#>.
1313
@prefix samm: <urn:samm:org.eclipse.esmf.samm:meta-model:2.1.0#>.
1414
@prefix samm-c: <urn:samm:org.eclipse.esmf.samm:characteristic:2.1.0#>.
15-
@prefix samm-e: <urn:samm:org.eclipse.esmf.samm:entity:2.1.0#>.
1615
@prefix unit: <urn:samm:org.eclipse.esmf.samm:unit:2.1.0#>.
17-
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>.
18-
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>.
1916
@prefix xsd: <http://www.w3.org/2001/XMLSchema#>.
2017

2118
:Uuid2 a samm:Aspect;
2219
samm:preferredName "Shared Aspect for UUIDs v4"@en;
23-
samm:properties (:uuidV4Property);
20+
samm:properties ();
2421
samm:operations ();
2522
samm:events ().
26-
:uuidV4Property a samm:Property;
27-
samm:preferredName "UUID v4 Property"@en;
28-
samm:characteristic :UuidV4Trait;
29-
samm:exampleValue "urn:uuid:48878d48-6f1d-47f5-8ded-a441d0d879df".
30-
:UuidV4Trait a samm-c:Trait;
31-
samm:preferredName "Trait for UUIDs v4"@en;
32-
samm-c:baseCharacteristic :Uuidv4Characteristic;
33-
samm-c:constraint :Uuidv4RegularExpression.
34-
:Uuidv4Characteristic a samm:Characteristic;
35-
samm:preferredName "UUID v4"@en;
36-
samm:dataType xsd:string.
37-
:Uuidv4RegularExpression a samm-c:RegularExpressionConstraint;
38-
samm:preferredName "UUID v4 Regular Expression"@en;
39-
samm:value "(^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$)|(^urn:uuid:[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$)".
4023

4124
:Uuid3 a samm:Aspect;
4225
samm:preferredName "Shared Aspect for UUIDs v4"@en;
43-
samm:properties (:uuidV4Property3);
26+
samm:properties ();
4427
samm:operations ();
4528
samm:events ().
46-
:uuidV4Property3 a samm:Property;
47-
samm:preferredName "UUID v4 Property"@en;
48-
samm:characteristic :UuidV4Trait3;
49-
samm:exampleValue "urn:uuid:48878d48-6f1d-47f5-8ded-a441d0d879df".
50-
:UuidV4Trait3 a samm-c:Trait;
51-
samm:preferredName "Trait for UUIDs v4"@en;
52-
samm-c:baseCharacteristic :Uuidv4Characteristic3;
53-
samm-c:constraint :Uuidv4RegularExpression3.
54-
:Uuidv4Characteristic3 a samm:Characteristic;
55-
samm:preferredName "UUID v4"@en;
56-
samm:dataType xsd:string.
57-
:Uuidv4RegularExpression3 a samm-c:RegularExpressionConstraint;
58-
samm:preferredName "UUID v4 Regular Expression"@en;
59-
samm:value "(^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$)|(^urn:uuid:[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$)".
6029

0 commit comments

Comments
 (0)