Bug 2358 - Remove tests cnsn to json and add tests nn to json 10/20510/13
authorary <jatoth@cisco.com>
Fri, 15 May 2015 13:25:08 +0000 (15:25 +0200)
committerGerrit Code Review <gerrit@opendaylight.org>
Mon, 15 Jun 2015 08:25:05 +0000 (08:25 +0000)
commit33657892ea175d459184732b0fbc08eb7589e787
tree88845064463ce449148819ecc0c3d50393baee12
parentde2844c54550a5a10f510e2c90fd14f8b8aa303c
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>
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]