Reproduce YANGTOOLS-1445 42/101842/13
authorSangwook Ha <sangwook.ha@verizon.com>
Tue, 12 Jul 2022 22:26:01 +0000 (15:26 -0700)
committerRobert Varga <robert.varga@pantheon.tech>
Tue, 15 Nov 2022 22:33:04 +0000 (23:33 +0100)
commit4bfd28bd20bcdb401b8a612ffbd6eadf8ca4b904
tree375d6650e2b2c9bf1f3fd8dfde5054c264801346
parenta14125cf6968d126396fc19849b63c29e4f865f6
Reproduce YANGTOOLS-1445

Building effective model fails when unique statement is used in a
grouping used by another grouping.

Add a test case (the third one) to reproduce the issue. There is no
issue when the unique statement is used in a single grouping like the
first two test cases.

JIRA: YANGTOOLS-1445
Change-Id: Idadfb6e8fc0bf724f0ff770d9fe986692e4b30eb
Signed-off-by: Sangwook Ha <sangwook.ha@verizon.com>
parser/yang-parser-rfc7950/src/test/java/org/opendaylight/yangtools/yang/stmt/YT1445Test.java [new file with mode: 0644]
parser/yang-parser-rfc7950/src/test/resources/bugs/YT1445/list-grouping/foo.yang [new file with mode: 0644]
parser/yang-parser-rfc7950/src/test/resources/bugs/YT1445/nested-grouping/foo.yang [new file with mode: 0644]
parser/yang-parser-rfc7950/src/test/resources/bugs/YT1445/top-level-grouping/foo.yang [new file with mode: 0644]