Common yang and xml loader for tests
authorJozef Gloncak <jgloncak@cisco.com>
Wed, 4 Dec 2013 12:50:06 +0000 (13:50 +0100)
committerJozef Gloncak <jgloncak@cisco.com>
Wed, 4 Dec 2013 12:59:40 +0000 (13:59 +0100)
commitfd9aa782df130edf8981ad4b472d44dd7cce8d78
tree178aec859d70d2cde336e573d264ed382e075590
parent7182f70db91712aeeca6220d079ceca8929af5bb
Common yang and xml loader for tests

Class YangAndXmlAndDataSchemaLoader was created as common ancestor for
those test which need load yang files, get reference to concrete module
and concrete schema node.

DummyRpcResult class was transformed (inner Builder class including) to
generic class. Type parameter represents return type of method getResult.
Now it is possible to use DummyRpcResult also in InvokeRpcMethodTest.

Change-Id: Ib8d99596bbb16c42724ab79125f4273f9d609a50
Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
opendaylight/md-sal/sal-rest-connector/src/test/java/org/opendaylight/controller/sal/restconf/impl/test/DummyRpcResult.java
opendaylight/md-sal/sal-rest-connector/src/test/java/org/opendaylight/controller/sal/restconf/impl/test/InvokeRpcMethodTest.java
opendaylight/md-sal/sal-rest-connector/src/test/java/org/opendaylight/controller/sal/restconf/impl/test/TestUtils.java
opendaylight/md-sal/sal-rest-connector/src/test/java/org/opendaylight/controller/sal/restconf/impl/test/ToJsonChoiceCaseTest.java
opendaylight/md-sal/sal-rest-connector/src/test/java/org/opendaylight/controller/sal/restconf/impl/test/ToJsonIdentityrefTest.java
opendaylight/md-sal/sal-rest-connector/src/test/java/org/opendaylight/controller/sal/restconf/impl/test/ToJsonLeafrefType.java
opendaylight/md-sal/sal-rest-connector/src/test/java/org/opendaylight/controller/sal/restconf/impl/test/XmlProvidersTest.java
opendaylight/md-sal/sal-rest-connector/src/test/java/org/opendaylight/controller/sal/restconf/impl/test/YangAndXmlAndDataSchemaLoader.java [new file with mode: 0644]