Bug 2358 - Remove tests cnsn to xml and add tests nn to xml 31/21531/5
authorJakub Toth <jatoth@cisco.com>
Mon, 1 Jun 2015 08:24:40 +0000 (10:24 +0200)
committerGerrit Code Review <gerrit@opendaylight.org>
Mon, 15 Jun 2015 08:23:28 +0000 (08:23 +0000)
commit0c957832fd6587f5cfe6fb8de215d97cd6fd9c24
treefac26dcadd6c61a87ac0f436d701e9c15427a741
parent482cb4a1845e2e8109b9176704f2421ff7f40277
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 CnSnToXmlNotExistingLeafTypeTest test
* add NnToXmlNotExistingLeafTypeTest to nn/to/xml/test/
  * negative test for not existing leaf type

Change-Id: I6f55fd82c40a03726aecb78cfc2ece9888cf9717
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/xml/test/CnSnToXmlNotExistingLeafTypeTest.java [deleted file]
opendaylight/md-sal/sal-rest-connector/src/test/java/org/opendaylight/controller/sal/restconf/impl/nn/to/xml/test/NnToXmlNotExistingLeafTypeTest.java [new file with mode: 0644]