aboutsummaryrefslogtreecommitdiffstats
path: root/aai-traversal/src/test/resources/maputils/testcases
diff options
context:
space:
mode:
Diffstat (limited to 'aai-traversal/src/test/resources/maputils/testcases')
-rw-r--r--aai-traversal/src/test/resources/maputils/testcases/TestCase1.json32
-rw-r--r--aai-traversal/src/test/resources/maputils/testcases/TestCase2.json40
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