summaryrefslogtreecommitdiffstats
path: root/appc-config
diff options
context:
space:
mode:
authorSandeep J <sandeejh@in.ibm.com>2018-08-17 16:06:00 +0530
committerTakamune Cho <tc012c@att.com>2018-08-17 14:39:29 +0000
commitdd65bb9d1a5359e9a13e24338bf5cf52283edc73 (patch)
treeab45e438c1ebe4b56648d426eea2118fa253e090 /appc-config
parentc7df8822f644fbaea27ef63a01dfbe05acb39eab (diff)
added test xml data to xml_data.xml
the code coverage for isXML method in CheckDataTool.java in appc-config-generator was failing because there was no data in xml_data.xml. So, added some test data. Now the coverage is happening properly. Issue-ID: APPC-1086 Change-Id: Iab203d502b145a83e7479dfaabfe8474ec629d90 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
Diffstat (limited to 'appc-config')
-rw-r--r--appc-config/appc-config-generator/provider/src/test/resources/pattern/xml_data.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/appc-config/appc-config-generator/provider/src/test/resources/pattern/xml_data.xml b/appc-config/appc-config-generator/provider/src/test/resources/pattern/xml_data.xml
index 79ecfe661..b1c4e6080 100644
--- a/appc-config/appc-config-generator/provider/src/test/resources/pattern/xml_data.xml
+++ b/appc-config/appc-config-generator/provider/src/test/resources/pattern/xml_data.xml
@@ -6,6 +6,8 @@
================================================================================
Copyright (C) 2017 Amdocs
=============================================================================
+ Modifications Copyright (C) 2018 IBM.
+ =============================================================================
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -20,3 +22,7 @@
============LICENSE_END=========================================================
-->
+ <testTag xmlns="http://xml.juniper.net/xnm/1.1/xnm"
+ xmlns:a="http://xml.juniper.net/junos/15.1X49/junos" >
+
+ </testTag> \ No newline at end of file