BUG 1440 - additional tests for data-codec-gson 99/10999/4
authorJozef Gloncak <jgloncak@cisco.com>
Tue, 9 Sep 2014 14:03:09 +0000 (16:03 +0200)
committerRobert Varga <rovarga@cisco.com>
Thu, 11 Sep 2014 09:42:49 +0000 (09:42 +0000)
commitf7e533e380799649d2966a391cc58761f22f8c7e
treed302aa6807a76047f4e2f89ec959c213af056a73
parent3ef4f52c51985d8a431340550a6b483a425604a6
BUG 1440 - additional tests for data-codec-gson

Tests of transformation:
- json stream -> normalized node structure -
  JsonStreamToNormalizedNodeTest
- normalized node structure -> json stream -
  NormalizedNodeToJsonStreamTest
were added

Change-Id: Ieff2e565e776e5193219b07f6e0ab98165402237
Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
Signed-off-by: Robert Varga <rovarga@cisco.com>
14 files changed:
yang/yang-data-codec-gson/src/test/java/org/opendaylight/yangtools/yang/data/codec/gson/JsonStreamToNormalizedNodeTest.java [new file with mode: 0644]
yang/yang-data-codec-gson/src/test/java/org/opendaylight/yangtools/yang/data/codec/gson/NormalizedNodeToJsonStreamTest.java [new file with mode: 0644]
yang/yang-data-codec-gson/src/test/java/org/opendaylight/yangtools/yang/data/codec/gson/StreamToNormalizedNodeTest.java
yang/yang-data-codec-gson/src/test/java/org/opendaylight/yangtools/yang/data/codec/gson/TestUtils.java [new file with mode: 0644]
yang/yang-data-codec-gson/src/test/java/org/opendaylight/yangtools/yang/data/codec/gson/TestingNormalizedNodeStructuresCreator.java [new file with mode: 0644]
yang/yang-data-codec-gson/src/test/resources/complexjson/case-node-augmentation-in-choice-in-container.json [new file with mode: 0644]
yang/yang-data-codec-gson/src/test/resources/complexjson/case-node-external-augmentation-in-choice-in-container.json [new file with mode: 0644]
yang/yang-data-codec-gson/src/test/resources/complexjson/choice-node-augmentation-in-container.json [new file with mode: 0644]
yang/yang-data-codec-gson/src/test/resources/complexjson/choice-node-in-container.json [new file with mode: 0644]
yang/yang-data-codec-gson/src/test/resources/complexjson/keyed-list-node-in-container.json [new file with mode: 0644]
yang/yang-data-codec-gson/src/test/resources/complexjson/leaf-node-in-container.json [new file with mode: 0644]
yang/yang-data-codec-gson/src/test/resources/complexjson/leaf-node-via-augmentation-in-container.json [new file with mode: 0644]
yang/yang-data-codec-gson/src/test/resources/complexjson/leaflist-node-in-container.json [new file with mode: 0644]
yang/yang-data-codec-gson/src/test/resources/complexjson/unkeyed-node-in-container.json [new file with mode: 0644]