summaryrefslogtreecommitdiffstats
path: root/src/test/java
diff options
context:
space:
mode:
authorEddy Hautot <eh552t@intl.att.com>2019-03-13 09:07:55 +0000
committerGerrit Code Review <gerrit@onap.org>2019-03-13 09:07:55 +0000
commit5f59ddc97cf293bdb765a36326aaf26b47b71d5d (patch)
treec5d1868b30f5db23e4b6e1184443b3b8412c11f0 /src/test/java
parent359d4e4f924a9310e940b312b6d0d911eca95b75 (diff)
parentd022281adea3da26beee6457767577a313c5b617 (diff)
Merge "Add svg support"
Diffstat (limited to 'src/test/java')
-rw-r--r--src/test/java/org/onap/clamp/loop/CsarInstallerItCase.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/test/java/org/onap/clamp/loop/CsarInstallerItCase.java b/src/test/java/org/onap/clamp/loop/CsarInstallerItCase.java
index d1a4bdc56..afa07236d 100644
--- a/src/test/java/org/onap/clamp/loop/CsarInstallerItCase.java
+++ b/src/test/java/org/onap/clamp/loop/CsarInstallerItCase.java
@@ -170,7 +170,10 @@ public class CsarInstallerItCase {
// set
Loop loop = loopsRepo
.findById(Loop.generateLoopName(generatedName, "1.0", RESOURCE_INSTANCE_NAME_RESOURCE1, "tca.yaml")).get();
-
+ assertThat(loop.getSvgRepresentation()).startsWith("<svg ");
+ assertThat(loop.getGlobalPropertiesJson().get("dcaeDeployParameters")).isNotNull();
+ assertThat(loop.getMicroServicePolicies()).hasSize(1);
+ assertThat(loop.getOperationalPolicies()).hasSize(1);
assertThat(loop.getModelPropertiesJson().get("serviceDetails")).isNotNull();
assertThat(loop.getModelPropertiesJson().get("resourceDetails")).isNotNull();
}