Bug 2358 - Remove tests cnsn to xml and add tests nn to xml 09/22609/4
authorJakub Toth <jatoth@cisco.com>
Mon, 1 Jun 2015 08:33:58 +0000 (10:33 +0200)
committerGerrit Code Review <gerrit@opendaylight.org>
Wed, 8 Jul 2015 14:20:15 +0000 (14:20 +0000)
commit55aefd6041bfb7a0019769ebadbc2d5826f91f0c
tree3c0e372bfa75c75e863fcf1f8f4237f027f63b43
parentb58442115d8bb23436030f46c84b3df7cc36b685
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 CnSnToXmlWithChoiceTest test
* add NnToXmlWithChoiceTest to nn/to/xml/test/
  * positive test for choice statement

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