diff options
author | Jorge Hernandez <jh1730@att.com> | 2017-07-18 04:05:04 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2017-07-18 04:05:04 +0000 |
commit | 570290dc6ba8198e653022c2f6f8e5d01cfa8d1b (patch) | |
tree | 6f40f6943339c489612a0605b6f3d10b47b5a866 /POLICY-SDK-APP/src/test/java/org | |
parent | 1260a4a955fee4b8f5676e72815e576d622d731f (diff) | |
parent | ad6bfb8448f4d56765d37049c436b36e09c3071d (diff) |
Merge "[Policy-68] Tosca parsing for nested objects"
Diffstat (limited to 'POLICY-SDK-APP/src/test/java/org')
-rw-r--r-- | POLICY-SDK-APP/src/test/java/org/openecomp/policy/controller/CreateDcaeMicroServiceControllerTest.java | 5 |
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"); } |