Skip to content
This repository was archived by the owner on Feb 15, 2024. It is now read-only.

Commit fc2948d

Browse files
committed
Transfer test fixes from AML to Test Core
1 parent 97882cb commit fc2948d

5 files changed

Lines changed: 211 additions & 1768 deletions

File tree

dataformat-aml/pom.xml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,13 @@
2323
<version>${revision}</version>
2424
<scope>compile</scope>
2525
</dependency>
26+
<dependency>
27+
<groupId>io.admin-shell.aas</groupId>
28+
<artifactId>dataformat-core</artifactId>
29+
<version>${revision}</version>
30+
<classifier>tests</classifier>
31+
<scope>test</scope>
32+
</dependency>
2633
<dependency>
2734
<groupId>org.slf4j</groupId>
2835
<artifactId>slf4j-api</artifactId>

dataformat-aml/src/test/java/io/adminshell/aas/v3/dataformat/aml/deserialize/AmlDeserializerTest.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
import io.adminshell.aas.v3.dataformat.DeserializationException;
1919
import io.adminshell.aas.v3.dataformat.aml.AmlDeserializer;
2020
import io.adminshell.aas.v3.dataformat.aml.fixtures.FullExample;
21+
import io.adminshell.aas.v3.dataformat.core.AASFull;
2122
import io.adminshell.aas.v3.model.*;
2223

2324
import java.io.FileNotFoundException;
@@ -41,7 +42,7 @@ public class AmlDeserializerTest {
4142
@Before
4243
public void init() throws FileNotFoundException, DeserializationException {
4344
actual = deserializer.read(FullExample.FILE);
44-
expected = FullExample.ENVIRONMENT;
45+
expected = AASFull.ENVIRONMENT;
4546
}
4647

4748
@Test

0 commit comments

Comments
 (0)