diff options
author | Kajur, Harish (vk250x) <vk250x@att.com> | 2018-09-13 10:45:23 -0400 |
---|---|---|
committer | Kajur, Harish (vk250x) <vk250x@att.com> | 2018-09-18 14:44:58 -0400 |
commit | d13dd0ed905109546950b4fdd1e3f9e0471ec8e7 (patch) | |
tree | a8985e647c86ba2dc7e4e37e154cc4f52abb304f /src/test/resources | |
parent | 1e3c9bde6ceb3920aa1695d59e6f677510ca649c (diff) |
Add the dataSnapshot unit test and datagrooming
to get to the 50% coverage
Issue-ID: AAI-1633
Change-Id: Ic25baa59be8945cc3b07b346d44e1d35168c3b9c
Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
Diffstat (limited to 'src/test/resources')
-rw-r--r-- | src/test/resources/empty.graphson | 0 | ||||
-rw-r--r-- | src/test/resources/pserver.graphson | 1 | ||||
-rw-r--r-- | src/test/resources/pserver2.graphson.P0 | 1 | ||||
-rw-r--r-- | src/test/resources/pserver2.graphson.P1 | 1 |
4 files changed, 3 insertions, 0 deletions
diff --git a/src/test/resources/empty.graphson b/src/test/resources/empty.graphson new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/src/test/resources/empty.graphson diff --git a/src/test/resources/pserver.graphson b/src/test/resources/pserver.graphson new file mode 100644 index 0000000..8746d13 --- /dev/null +++ b/src/test/resources/pserver.graphson @@ -0,0 +1 @@ +{"id":196616,"label":"vertex","properties":{"ptnii-equip-name":[{"id":"5c01-47pk-4xs5","value":"somename"}],"aai-last-mod-ts":[{"id":"5ce9-47pk-5u6d","value":1476896662}],"equip-type":[{"id":"5csh-47pk-34zp","value":"server"}],"equip-vendor":[{"id":"5d6p-47pk-35s5","value":"HP"}],"fqdn":[{"id":"5dkx-47pk-50xx","value":"mmsksrsv113.mmsks.sbcglobal.net"}],"purpose":[{"id":"5dz5-47pk-56h1","value":"ControlPlane"}],"aai-created-ts":[{"id":"5edd-47pk-5rt1","value":1476495449}],"ipv4-oam-address":[{"id":"5erl-47pk-1udh","value":"12.80.38.87"}],"source-of-truth":[{"id":"5f5t-47pk-5uyt","value":"RCT"}],"aai-node-type":[{"id":"5fk1-47pk-5q85","value":"pserver"}],"hostname":[{"id":"5fy9-47pk-4w79","value":"someval"}],"in-maint":[{"id":"5gch-47pk-229x","value":false}],"equip-model":[{"id":"5gqp-47pk-36kl","value":"some-val"}],"resource-version":[{"id":"5h4x-47pk-25fp","value":"1476896662"}],"last-mod-source-of-truth":[{"id":"5hj5-47pk-5pfp","value":"somename"}]}} diff --git a/src/test/resources/pserver2.graphson.P0 b/src/test/resources/pserver2.graphson.P0 new file mode 100644 index 0000000..8c89c1c --- /dev/null +++ b/src/test/resources/pserver2.graphson.P0 @@ -0,0 +1 @@ +{"id":4176,"label":"vertex","properties":{"hostname":[{"id":"sq-380-c3d1","value":"somerandomhostname"}],"aai-node-type":[{"id":"16y-380-5xc5","value":"pserver"}]}} diff --git a/src/test/resources/pserver2.graphson.P1 b/src/test/resources/pserver2.graphson.P1 new file mode 100644 index 0000000..cbc864b --- /dev/null +++ b/src/test/resources/pserver2.graphson.P1 @@ -0,0 +1 @@ +{"id":4296,"label":"vertex","properties":{"hostname":[{"id":"t5-3bc-c3d1","value":"somerandomhostname2"}],"aai-node-type":[{"id":"17d-3bc-5xc5","value":"pserver"}]}} |