Add action tests 82/73982/1
authorRobert Varga <robert.varga@pantheon.tech>
Thu, 12 Jul 2018 14:56:51 +0000 (16:56 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Thu, 12 Jul 2018 15:01:14 +0000 (17:01 +0200)
commit41afe8481e59d6a802917c1eac0d71c110277f5c
tree1e09efeffda6527390b9441515142e55c57c8e1b
parent5717e67ca80d62cc2742a02862de0f12ebf1191e
Add action tests

This adds a very basic test, which uncovered a failure to deal
with actions being multiply-inherited -- and fixes that issue.

Also a test model is added, so higher-layer components can be
tested.

Change-Id: I775341e2860e06f360fd4c6c6f6449e96ed92c64
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/ActionsTest.java [new file with mode: 0644]
binding/mdsal-binding-generator-impl/src/test/resources/actions.yang [new file with mode: 0644]
binding/mdsal-binding-test-model/src/main/yang/actions.yang [new file with mode: 0644]