Bug 2358 - Remove tests cnsn to json and add tests nn to json
authorary <jatoth@cisco.com>
Fri, 15 May 2015 13:25:08 +0000 (15:25 +0200)
committerGerrit Code Review <gerrit@opendaylight.org>
Wed, 8 Jul 2015 14:20:27 +0000 (14:20 +0000)
commitf6008e17f1bef4502be80e05a3785e12b87bddb8
treed1cf5afef2f02995049693a54f82b9a749cec405
parentfce1de2cbcf2238ec51dda705cc0626a1f46c98c
Bug 2358 - Remove tests cnsn to json and add tests nn to json

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 CnSnJsonChoiceCaseTest test
* add NnJsonChoiceCaseTest to nn/to/json/test/
  * positive and negative tests for choice statement

Change-Id: I83d351bf0de9bb4a1c649c5851209ae472aaaa24
Signed-off-by: Jakub Toth <jatoth@cisco.com>
(cherry picked from commit 33657892ea175d459184732b0fbc08eb7589e787)
opendaylight/md-sal/sal-rest-connector/src/test/java/org/opendaylight/controller/sal/restconf/impl/cnsn/to/json/test/CnSnJsonChoiceCaseTest.java [deleted file]
opendaylight/md-sal/sal-rest-connector/src/test/java/org/opendaylight/controller/sal/restconf/impl/nn/to/json/test/NnJsonChoiceCaseTest.java [new file with mode: 0644]