Reproduce YANGTOOLS-1445 79/103279/1
authorSangwook Ha <sangwook.ha@verizon.com>
Tue, 12 Jul 2022 22:26:01 +0000 (15:26 -0700)
committerRobert Varga <robert.varga@pantheon.tech>
Wed, 16 Nov 2022 19:00:19 +0000 (20:00 +0100)
commit55c8e4d5e41e9899adc85aa67ec93689c177b932
tree09772ea205c23cf0e9085d7580b632d2112d9541
parente61839fde9cd9e34ae6c273aa997174314daf47c
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>
(cherry picked from commit 4bfd28bd20bcdb401b8a612ffbd6eadf8ca4b904)
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]