aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/java/org
diff options
context:
space:
mode:
authorYuli Shlosberg <ys9693@att.com>2017-11-29 14:34:55 +0200
committerYuli Shlosberg <ys9693@att.com>2017-11-29 14:36:08 +0200
commit7cdb2b0e8a55d750104972b2ca2ae4ed51ae0aec (patch)
treed3558241d9fcef96f09e873658adfee3be9cd8a5 /src/test/java/org
parentd5e341bc22977beac2cc2c9d4b9368245cefda3a (diff)
new Junit test
Change-Id: I9a15d78ced6a10d2a79f08268a558f007bb22773 Issue-ID: SDC-695 Signed-off-by: Yuli Shlosberg <ys9693@att.com>
Diffstat (limited to 'src/test/java/org')
-rw-r--r--src/test/java/org/openecomp/sdc/toscaparser/api/JToscaMetadataParse.java6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/test/java/org/openecomp/sdc/toscaparser/api/JToscaMetadataParse.java b/src/test/java/org/openecomp/sdc/toscaparser/api/JToscaMetadataParse.java
index 79d166f..37292e5 100644
--- a/src/test/java/org/openecomp/sdc/toscaparser/api/JToscaMetadataParse.java
+++ b/src/test/java/org/openecomp/sdc/toscaparser/api/JToscaMetadataParse.java
@@ -32,10 +32,8 @@ public class JToscaMetadataParse {
String fileStr = JToscaMetadataParse.class.getClassLoader().getResource("csars/tmpCSAR_Huawei_vSPGW_fixed.csar.csar").getFile();
File file = new File(fileStr);
ToscaTemplate toscaTemplate = new ToscaTemplate(file.getAbsolutePath(), null, true, null);
-
-
-// Collection<JToscaValidationIssue> issues = ThreadLocalsHolder.getCollector().getValidationIssues().values();
-// assertTrue(issues.size() == 0 );
+ int validationIssuesCaught = ThreadLocalsHolder.getCollector().validationIssuesCaught();
+ assertTrue(validationIssuesCaught == 0 );
}
}