diff options
author | Venkata Harish K Kajur <vk250x@att.com> | 2017-05-12 17:36:59 -0400 |
---|---|---|
committer | Venkata Harish K Kajur <vk250x@att.com> | 2017-05-12 17:37:13 -0400 |
commit | b5b99b72733ca5c064b46fdf4527ace28b8b545b (patch) | |
tree | b1606e7d824e5d56b3530f724bf7bf326f9a7833 /aai-traversal/src/test/resources/maputils | |
parent | b6a2b26886ac329dd0836270127c1b9d283c3659 (diff) |
Add all of the traversal source files
Change-Id: Id31f4bdda9c86f782f86829f8b86dada959a9729
Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
Diffstat (limited to 'aai-traversal/src/test/resources/maputils')
-rw-r--r-- | aai-traversal/src/test/resources/maputils/testcases/TestCase1.json | 32 | ||||
-rw-r--r-- | aai-traversal/src/test/resources/maputils/testcases/TestCase2.json | 40 |
2 files changed, 72 insertions, 0 deletions
diff --git a/aai-traversal/src/test/resources/maputils/testcases/TestCase1.json b/aai-traversal/src/test/resources/maputils/testcases/TestCase1.json new file mode 100644 index 0000000..1f7a794 --- /dev/null +++ b/aai-traversal/src/test/resources/maputils/testcases/TestCase1.json @@ -0,0 +1,32 @@ +{ + "input": { + "myImage": { + "imageId": "test-imageId-1", + "imageName": "test-image-name", + "imageList": [ + { + "imageListName": "testListName", + "imageListId": "testListId", + "imageListNumber": 200, + "imageListBoolean": true, + "imageListNull": null + } + ] + } + }, + "output": { + "my-image": { + "image-id": "test-imageId-1", + "image-name": "test-image-name", + "image-list": [ + { + "image-list-name": "testListName", + "image-list-id": "testListId", + "image-list-number": 200, + "image-list-boolean": true, + "image-list-null": null + } + ] + } + } +}
\ No newline at end of file diff --git a/aai-traversal/src/test/resources/maputils/testcases/TestCase2.json b/aai-traversal/src/test/resources/maputils/testcases/TestCase2.json new file mode 100644 index 0000000..9b8a1e3 --- /dev/null +++ b/aai-traversal/src/test/resources/maputils/testcases/TestCase2.json @@ -0,0 +1,40 @@ +{ + "input": { + "myImage": { + "imageId": "test-imageId-1", + "imageName": "test-image-name", + "imageList": [ + { + "imageListName": "testListName", + "imageListId": "testListId", + "imageArray": [ + [ + { + "imageNestedArrayElement": "value" + } + ] + ] + } + ] + } + }, + "output": { + "my-image": { + "image-id": "test-imageId-1", + "image-name": "test-image-name", + "image-list": [ + { + "image-list-name": "testListName", + "image-list-id": "testListId", + "image-array": [ + [ + { + "image-nested-array-element": "value" + } + ] + ] + } + ] + } + } +}
\ No newline at end of file |