Expand test suite to cover uses-augment of actions 46/88146/1
authorRobert Varga <robert.varga@pantheon.tech>
Fri, 28 Feb 2020 17:39:51 +0000 (18:39 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Sat, 29 Feb 2020 08:15:22 +0000 (09:15 +0100)
commit08e5c052b9353b708f22ffafadb27e58f474939b
treee8819d5e3bbe8d5ec15b71e70c51bda3dac8aedd
parentc205e38258c73ff288ab956ad9f9c6f807063cc4
Expand test suite to cover uses-augment of actions

Augment can also target a relative path from uses context, this
expands the testing model to cover that case, too.

The test case flushes out the problem of not handling
action/notification nodes when targeted in this manner, leading
to an obvious hiccup.

JIRA: MDSAL-517
Change-Id: If389440622c31f544917b04e3825fe6e08e08244
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
binding/mdsal-binding-generator-impl/src/main/java/org/opendaylight/mdsal/binding/generator/impl/AbstractTypeGenerator.java
binding/mdsal-binding-generator-impl/src/test/java/org/opendaylight/mdsal/binding/generator/impl/Mdsal517Test.java
binding/mdsal-binding-generator-impl/src/test/resources/mdsal-517/baz.yang [new file with mode: 0644]