diff options
author | Ofir Sonsino <os0695@att.com> | 2017-10-25 10:08:54 +0300 |
---|---|---|
committer | Ofir Sonsino <os0695@att.com> | 2017-10-25 10:11:06 +0300 |
commit | 53b277a7e46cde80cd381311932cd4f0d432cbfc (patch) | |
tree | ff9f9b0f72c2f385839bd67d917fe7aead070bd8 /vid-app-common/src/test | |
parent | bbf3d4b2ed06f199260ba49943ef68d6ba3fc43f (diff) |
Remove SNAPSHOT dependencies
Change-Id: Iae31de0916f9456e135cb7b7a160f80a18643997
Issue-Id: VID-85
Signed-off-by: Ofir Sonsino <os0695@att.com>
Diffstat (limited to 'vid-app-common/src/test')
-rw-r--r-- | vid-app-common/src/test/java/org/opencomp/vid/controller/VidControllerTest.java | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/vid-app-common/src/test/java/org/opencomp/vid/controller/VidControllerTest.java b/vid-app-common/src/test/java/org/opencomp/vid/controller/VidControllerTest.java index f5825ecee..8596cf3d4 100644 --- a/vid-app-common/src/test/java/org/opencomp/vid/controller/VidControllerTest.java +++ b/vid-app-common/src/test/java/org/opencomp/vid/controller/VidControllerTest.java @@ -87,7 +87,7 @@ public class VidControllerTest { } - /*//@Test + @Test public void assertEqualsBetweenServices() throws Exception { for (ToscaParserMockHelper mockHelper: getExpectedServiceModel()) { Service expectedService = mockHelper.getNewServiceModel().getService(); @@ -104,11 +104,11 @@ public class VidControllerTest { JsonAssert.assertJsonEquals(mockHelper.getNewServiceModel(), actualServiceModel); /*java.lang.AssertionError: JSON documents are different: Different keys found in node "networks.ExtVL 0.commands". Expected [exVL_naming#naming_policy, network_role, network_scope], got [network_role, network_scope]. Missing: "networks.ExtVL 0.commands.exVL_naming#naming_policy" - Different keys found in node "networks.ExtVL 0.inputs". Expected [exVL_naming#naming_policy, network_role, network_scope], got [network_role, network_scope]. Missing: "networks.ExtVL 0.inputs.exVL_naming#naming_policy"* / + Different keys found in node "networks.ExtVL 0.inputs". Expected [exVL_naming#naming_policy, network_role, network_scope], got [network_role, network_scope]. Missing: "networks.ExtVL 0.inputs.exVL_naming#naming_policy"*/ } } - //@Test + @Test public void assertEqualsBetweenNetworkNodes() throws Exception { for (ToscaParserMockHelper mockHelper: getExpectedServiceModel()) { Map<String, Network> expectedNetworksMap = mockHelper.getNewServiceModel().getNetworks(); @@ -124,7 +124,7 @@ public class VidControllerTest { } //Because we are not supporting the old flow, the JSON are different by definition. - //@Test + @Test public void assertEqualsBetweenVnfsOfTosca() throws Exception { for (ToscaParserMockHelper mockHelper: getExpectedServiceModel()) { Map<String, VNF> expectedVnfsMap = mockHelper.getNewServiceModel().getVnfs(); @@ -140,7 +140,7 @@ public class VidControllerTest { } } - //@Test + @Test public void assertEqualsBetweenVolumeGroups() throws Exception { for (ToscaParserMockHelper mockHelper: getExpectedServiceModel()) { Path cSarPath = getCsarPath(mockHelper.getUuid()); @@ -153,7 +153,7 @@ public class VidControllerTest { } } - //@Test + @Test public void assertEqualsBetweenVfModules() throws Exception { for (ToscaParserMockHelper mockHelper: getExpectedServiceModel()) { Map<String, VfModule> actualVfModules = p2.makeServiceModel(getCsarPath(mockHelper.getUuid()), getServiceByUuid(mockHelper.getUuid())).getVfModules(); @@ -189,7 +189,7 @@ public class VidControllerTest { mockHelper.setNewServiceModel(newServiceModel1); } return mockHelpers; - }*/ + } private Path getCsarPath(String uuid) throws AsdcCatalogException { return asdcClient.getServiceToscaModel(UUID.fromString(uuid)); |