Add a unit test showing augmentation handling 72/77172/2
authorRobert Varga <robert.varga@pantheon.tech>
Mon, 22 Oct 2018 11:40:03 +0000 (13:40 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Mon, 22 Oct 2018 11:41:04 +0000 (13:41 +0200)
commite3b6e386bd89bfa3cfe7179652e214f35adfa94e
tree132105849bfc83df844d4608825f0c3df1a67896
parentdce5b24eacbf06a4695103baf93b00401f5eb167
Add a unit test showing augmentation handling

There is a world of difference between augmentations added to
a node vs. instantiated nodes. This patch adds a test which shows
it.

JIRA: YANGTOOLS-911
Change-Id: Ida3ce1fab8db09470e09d101de740b9b7d27a687
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
yang/yang-parser-rfc7950/src/test/java/org/opendaylight/yangtools/yang/stmt/YT911Test.java [new file with mode: 0644]
yang/yang-parser-rfc7950/src/test/resources/bugs/YT911/foo.yang [new file with mode: 0644]