added test xml data to xml_data.xml 81/61081/3
authorSandeep J <sandeejh@in.ibm.com>
Fri, 17 Aug 2018 10:36:00 +0000 (16:06 +0530)
committerTakamune Cho <tc012c@att.com>
Fri, 17 Aug 2018 14:39:29 +0000 (14:39 +0000)
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>
appc-config/appc-config-generator/provider/src/test/resources/pattern/xml_data.xml

index 79ecfe6..b1c4e60 100644 (file)
@@ -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