Tests for YangInstanceIdentifier key value serialization 09/104909/3
authorRobert Varga <robert.varga@pantheon.tech>
Fri, 6 Jan 2023 14:24:24 +0000 (15:24 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Wed, 15 Mar 2023 22:06:57 +0000 (23:06 +0100)
commit5deadfe743502a80eb2d36bd1defcbc6dab2e4ee
tree138bd3060599ff236fdbbf994fc5fda690cea2bb
parent5e5e9d74a26b3afd65ce57b2fe81828fcf4e243e
Tests for YangInstanceIdentifier key value serialization

There are a number of corner cases which we do not handle. This patch
adds @Ignored tests which hightlight basic serialization problems here.

JIRA: YANGTOOLS-1473
Change-Id: I6226cc8ebe48acc03a62309efec2ab205549e0fb
Signed-off-by: Ruslan Kashapov <ruslan.kashapov@pantheon.tech>
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
(cherry picked from commit 6fca49a9a8daff89d5304c15d3e5c734dfa3da11)
codec/yang-data-codec-gson/src/test/java/org/opendaylight/yangtools/yang/data/codec/gson/YT1473Test.java [new file with mode: 0644]
codec/yang-data-codec-gson/src/test/resources/yt1473/bar.yang [new file with mode: 0644]
codec/yang-data-codec-gson/src/test/resources/yt1473/foo.yang [new file with mode: 0644]
codec/yang-data-codec-xml/src/test/java/org/opendaylight/yangtools/yang/data/codec/xml/YT1473Test.java [new file with mode: 0644]
codec/yang-data-codec-xml/src/test/resources/yt1473/bar.yang [new file with mode: 0644]
codec/yang-data-codec-xml/src/test/resources/yt1473/foo.yang [new file with mode: 0644]