Bug 2358 - Remove tests cnsn to xml and add tests nn to xml 11/22611/4
authorJakub Toth <jatoth@cisco.com>
Mon, 1 Jun 2015 07:34:50 +0000 (09:34 +0200)
committerGerrit Code Review <gerrit@opendaylight.org>
Wed, 8 Jul 2015 14:20:20 +0000 (14:20 +0000)
commit59e32540ae454d8428c25ba9594c5e18f16c81d7
tree053294cb2d39dd7bfc3ba8d956f68d4981f5ea03
parentdf0fe9956b205bbcb84628388d0c165941c6838d
Bug 2358 - Remove tests cnsn to xml and add tests nn to xml

Tests of codecs are included in codecs yangtools yang-data-codec-gson and yang-data-impl but
we test codec on input data and also with presentation of Rest path.

* remove CnSnInstanceIdentifierToXmlTest test
* add NnInstanceIdentifierToXmlTest to nn/to/xml/test/
  * positive test for instance identifier

Change-Id: Iceb73ed4d96f7686fca04047524716532297a2f8
Signed-off-by: Jakub Toth <jatoth@cisco.com>
(cherry picked from commit 6c0c438071d2e85ef2f08070935cb310165f25cf)
opendaylight/md-sal/sal-rest-connector/src/test/java/org/opendaylight/controller/sal/restconf/impl/cnsn/to/xml/test/CnSnInstanceIdentifierToXmlTest.java [deleted file]
opendaylight/md-sal/sal-rest-connector/src/test/java/org/opendaylight/controller/sal/restconf/impl/nn/to/xml/test/NnInstanceIdentifierToXmlTest.java [new file with mode: 0644]