Expand test suite to cover uses-augment of actions 37/88137/1
authorRobert Varga <robert.varga@pantheon.tech>
Fri, 28 Feb 2020 17:39:51 +0000 (18:39 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Fri, 28 Feb 2020 19:48:29 +0000 (20:48 +0100)
commitc3009f3677d86483870274d7725c700a004e09ff
tree3e967b264af9ab874a823802d905becc383c6abb
parent2ea493245328ada1c45880b4a5382ba6f77dc501
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]