Reformulate YangInstanceIdentifierWriterTest 51/101051/2
authorRobert Varga <robert.varga@pantheon.tech>
Tue, 10 May 2022 16:32:48 +0000 (18:32 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Tue, 10 May 2022 18:12:32 +0000 (20:12 +0200)
commit3f0eb0fab6a771c8b849504e1dbb0f929c8cac23
tree1dae7e10780caa2e50749ab7601043f881d7a8f8
parentd3abb24e25ef457e2ae065cf10453d5c27c6277c
Reformulate YangInstanceIdentifierWriterTest

We have SchemaNode mocking going on here, which we really do not need --
just define the corresponding models and use YANG parser to create the
underlying schema.

JIRA: YANGTOOLS-1433
Change-Id: I861df0d4170737e4ecac0f64b6016d5f259332af
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
data/yang-data-api/pom.xml
data/yang-data-api/src/test/java/org/opendaylight/yangtools/yang/data/api/schema/stream/YangInstanceIdentifierWriterTest.java
data/yang-data-api/src/test/resources/YT1392/augment.yang [new file with mode: 0644]
data/yang-data-api/src/test/resources/YT1392/test.yang [new file with mode: 0644]