Bug 2358 - Remove tests cnsn to json and add tests nn to json 88/20888/7
authorJakub Toth <jatoth@cisco.com>
Wed, 20 May 2015 21:34:52 +0000 (23:34 +0200)
committerGerrit Code Review <gerrit@opendaylight.org>
Mon, 15 Jun 2015 08:25:09 +0000 (08:25 +0000)
commit1f4b4062cbdd0cfadcf61e60bce9ee9e951c975c
treeaf7520015022f5f6348e5a14ac0f9b68c138bca9
parent33657892ea175d459184732b0fbc08eb7589e787
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.

* add test NnToJsonLeafrefType to nn/to/json/test
  * positive tests of leafref
    * absolut path
    * relative path
    * leafref to not leaf
    * from leaflist to leaf
    * from leafref to leafref
  * negative tests of leafref
    * non existing Leaf

Change-Id: I652204071d874d6c7a2a65e100dd68c16a12af8f
Signed-off-by: Jakub Toth <jatoth@cisco.com>
opendaylight/md-sal/sal-rest-connector/src/test/java/org/opendaylight/controller/sal/restconf/impl/nn/to/json/test/NnToJsonLeafrefType.java [new file with mode: 0644]