aboutsummaryrefslogtreecommitdiffstats
path: root/POLICY-SDK-APP/src/test/java
diff options
context:
space:
mode:
authorPerichiappan, Lakshmanan (lp576d) <lp576d@us.att.com>2017-07-17 12:42:14 -0400
committerPerichiappan, Lakshmanan (lp576d) <lp576d@us.att.com>2017-07-17 15:02:37 -0400
commitad6bfb8448f4d56765d37049c436b36e09c3071d (patch)
tree63fb0e2afe873268eb4ce403f04b529976fbbad4 /POLICY-SDK-APP/src/test/java
parent111f00105268b8b20872e8cc6c3fe5aa9adb0bb9 (diff)
[Policy-68] Tosca parsing for nested objects
Change-Id: I380fa82259c51fa532de5d39ac256e5a5ebf1e07 Signed-off-by: Perichiappan, Lakshmanan (lp576d) <lp576d@us.att.com>
Diffstat (limited to 'POLICY-SDK-APP/src/test/java')
-rw-r--r--POLICY-SDK-APP/src/test/java/org/openecomp/policy/controller/CreateDcaeMicroServiceControllerTest.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/POLICY-SDK-APP/src/test/java/org/openecomp/policy/controller/CreateDcaeMicroServiceControllerTest.java b/POLICY-SDK-APP/src/test/java/org/openecomp/policy/controller/CreateDcaeMicroServiceControllerTest.java
index ca4f24949..b4619b852 100644
--- a/POLICY-SDK-APP/src/test/java/org/openecomp/policy/controller/CreateDcaeMicroServiceControllerTest.java
+++ b/POLICY-SDK-APP/src/test/java/org/openecomp/policy/controller/CreateDcaeMicroServiceControllerTest.java
@@ -169,13 +169,12 @@ public class CreateDcaeMicroServiceControllerTest {
//expect: uniqueKeys should contain a string value
CreateDcaeMicroServiceController controllerA = new CreateDcaeMicroServiceController();
String str = "testing\\.byCorrectWay\\.OfDATA";
- String value = null;
- assertEquals(1, controllerA.stringBetweenDots(str, value));
+ assertEquals(1, controllerA.stringBetweenDots(str));
//expect: uniqueKeys should not contain a string value
str = "testing\byWrongtWay.\\OfDATA";
CreateDcaeMicroServiceController controllerB = new CreateDcaeMicroServiceController();
- assertEquals(0, controllerB.stringBetweenDots(str, value));
+ assertEquals(0, controllerB.stringBetweenDots(str));
logger.debug("testStringBetweenDots: exit");
}