From 4e029ecbf2e7a6e552b82699ea2e6ebb424e3b79 Mon Sep 17 00:00:00 2001 From: "Determe, Sebastien (sd378r)" Date: Fri, 27 Apr 2018 14:01:38 +0200 Subject: Add assertion Add assertion for Prop text content to verify policy_id has well been generated Issue-ID: CLAMP-151 Change-Id: I08ef6638f5dbbdb870378259807b4d4c5348e303 Signed-off-by: Determe, Sebastien (sd378r) --- .../onap/clamp/clds/it/sdc/controller/installer/CsarInstallerItCase.java | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/test/java/org/onap/clamp/clds/it/sdc/controller/installer/CsarInstallerItCase.java b/src/test/java/org/onap/clamp/clds/it/sdc/controller/installer/CsarInstallerItCase.java index f2b95932e..e0f774b0b 100644 --- a/src/test/java/org/onap/clamp/clds/it/sdc/controller/installer/CsarInstallerItCase.java +++ b/src/test/java/org/onap/clamp/clds/it/sdc/controller/installer/CsarInstallerItCase.java @@ -170,6 +170,7 @@ public class CsarInstallerItCase { assertNotNull(modelFromDb.getBpmnText()); assertNotNull(modelFromDb.getImageText()); assertNotNull(modelFromDb.getPropText()); + assertTrue(modelFromDb.getPropText().contains("policy_id")); assertEquals(CsarInstallerImpl.buildModelName(csar, INSTANCE_NAME_RESOURCE2), modelFromDb.getName()); assertEquals(CsarInstallerImpl.CONTROL_NAME_PREFIX, modelFromDb.getControlNamePrefix()); } -- cgit 1.2.3-korg