summaryrefslogtreecommitdiffstats
path: root/ONAP-REST/src/test/java
diff options
context:
space:
mode:
authorWang,Frank(gw1218) <gw1218@att.com>2018-05-22 14:50:33 -0500
committerWang,Frank(gw1218) <gw1218@att.com>2018-05-23 14:54:59 -0500
commitf27a65f682adee4f30a72515d9ec3916722884b3 (patch)
tree9df6b86d69dd209785c32641149bff88abc65c8f /ONAP-REST/src/test/java
parent398142dc1d466c7017222b63fcb2bd9d79186d22 (diff)
Fix Issues in TOSCA Parser
Fixed a bug and added some new validations in TOSCA Parser Issue-ID: POLICY-776 Change-Id: I2dc1b5b38cd137efc5c24ccf55b19de9f47c44da Signed-off-by: Wang,Frank(gw1218) <gw1218@att.com>
Diffstat (limited to 'ONAP-REST/src/test/java')
-rw-r--r--ONAP-REST/src/test/java/org/onap/policy/rest/util/MSModelUtilsTest.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/ONAP-REST/src/test/java/org/onap/policy/rest/util/MSModelUtilsTest.java b/ONAP-REST/src/test/java/org/onap/policy/rest/util/MSModelUtilsTest.java
index aa41429b9..6a9c4c4ec 100644
--- a/ONAP-REST/src/test/java/org/onap/policy/rest/util/MSModelUtilsTest.java
+++ b/ONAP-REST/src/test/java/org/onap/policy/rest/util/MSModelUtilsTest.java
@@ -95,6 +95,8 @@ public class MSModelUtilsTest {
} catch (IOException e) {
logger.error("testLoad", e);
result = null;
+ }catch(ParserException e){
+ logger.error("testLoad", e);
}
assertTrue(result != null && !result.isEmpty());