diff options
author | Smokowski, Kevin (ks6305) <ks6305@att.com> | 2018-06-12 15:51:30 +0000 |
---|---|---|
committer | Smokowski, Kevin (ks6305) <ks6305@att.com> | 2018-06-12 15:52:10 +0000 |
commit | a90bcd956de2f040480c8349548397596094e50d (patch) | |
tree | 9b2bf2dbb69d7bf36ab1f46016fb35b3261d0ba5 /sli/provider/src/test/java/org | |
parent | 88115d6cf23b4d836cb5637905d46412fb82c7e4 (diff) |
Reset root array length when using setnode
Reset root array length when using setnode shortcut to support backwards compatibility
Change-Id: I0a51e396a9c75a632759cefd82ef4c6c6ca3a384
Issue-ID: CCSDK-302
Signed-off-by: Smokowski, Kevin (ks6305) <ks6305@att.com>
Diffstat (limited to 'sli/provider/src/test/java/org')
-rw-r--r-- | sli/provider/src/test/java/org/onap/ccsdk/sli/core/sli/provider/SetNodeExecutorTest.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sli/provider/src/test/java/org/onap/ccsdk/sli/core/sli/provider/SetNodeExecutorTest.java b/sli/provider/src/test/java/org/onap/ccsdk/sli/core/sli/provider/SetNodeExecutorTest.java index c400bf5d..9ba2c05e 100644 --- a/sli/provider/src/test/java/org/onap/ccsdk/sli/core/sli/provider/SetNodeExecutorTest.java +++ b/sli/provider/src/test/java/org/onap/ccsdk/sli/core/sli/provider/SetNodeExecutorTest.java @@ -48,6 +48,11 @@ public class SetNodeExecutorTest { assertNull(ctx.getAttribute("si[0].field1")); assertNull(ctx.getAttribute("si[1].field2")); assertNull(ctx.getAttribute("si[2].field3")); + assertNull(ctx.getAttribute("si_length")); + assertNull(ctx.getAttribute("si[0].subarray[0]")); + assertNull(ctx.getAttribute("si[0].subarray[1]")); + assertNull(ctx.getAttribute("si[0].subarray[2]")); + assertNull(ctx.getAttribute("si[0].subarray_length")); assertEquals("6", ctx.getAttribute("search1")); assertEquals("KeepMe!", ctx.getAttribute("simonSays")); } |