Produced by Araxis Merge on 6/9/2017 3:51:13 PM Eastern Daylight Time. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.
| # | Location | File | Last Modified |
|---|---|---|---|
| 1 | Fri Jun 9 19:51:13 2017 UTC | ||
| 2 | eHealth_Exch (eHealth Exchange Enhancements) Build 3 docs & code_May_2017.zip\VAP_CIF_CODE0502.zip\VAP_CIF_CODE0502\VAP_CIF_CODE0502\nvap-server\src\test\java\gov\va\nvap\server\test\endpoint\mvi | TestQBPQ22XMLToER7.java | Fri Apr 21 20:03:28 2017 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 0 | 0 |
| Changed | 0 | 0 |
| Inserted | 1 | 44 |
| Removed | 0 | 0 |
| Whitespace | |
|---|---|
| Character case | Differences in character case are significant |
| Line endings | Differences in line endings (CR and LF characters) are ignored |
| CR/LF characters | Not shown in the comparison detail |
No regular expressions were active.
| 1 | package go v.va.nvap. server.tes t.endpoint .mvi; | |||||
| 2 | ||||||
| 3 | import gov .va.nvap.c ommon.file .FileUtil; | |||||
| 4 | import gov .va.nvap.c ommon.tran sformer.Tr ansformer; | |||||
| 5 | import gov .va.nvap.c ommon.tran sformer.Tr ansformerE xception; | |||||
| 6 | import gov .va.nvap.c ommon.tran sformer.xm l.StringTo XML; | |||||
| 7 | import gov .va.nvap.c ommon.xpat h.XPathExc eption; | |||||
| 8 | import gov .va.nvap.c ommon.xpat h.XPathUti l; | |||||
| 9 | import gov .va.nvap.s erver.test .common.Ab stractTest Case; | |||||
| 10 | ||||||
| 11 | import jav a.io.IOExc eption; | |||||
| 12 | ||||||
| 13 | import jav ax.annotat ion.Resour ce; | |||||
| 14 | ||||||
| 15 | import jun it.framewo rk.Assert; | |||||
| 16 | ||||||
| 17 | import org .junit.Tes t; | |||||
| 18 | import org .w3c.dom.D ocument; | |||||
| 19 | ||||||
| 20 | public cla ss TestQBP Q22XMLToER 7 extends AbstractTe stCase { | |||||
| 21 | ||||||
| 22 | @R esource(na me = "er7T oXmlTransf ormer") | |||||
| 23 | Tr ansformer< String, Do cument> er 7ToXmlTran sformer; | |||||
| 24 | ||||||
| 25 | @R esource(na me = "xmlT oEr7Transf ormer") | |||||
| 26 | Tr ansformer< Document, String> xm lToEr7Tran sformer; | |||||
| 27 | ||||||
| 28 | @T est | |||||
| 29 | pu blic void testQBPQ22 XMLToER7() throws IO Exception, Transform erExceptio n, | |||||
| 30 | XPathE xception { | |||||
| 31 | fina l org.spri ngframewor k.core.io. Resource r esource = this.appli cationCont ext | |||||
| 32 | .getReso urce("clas spath:gov/ va/nvap/se rver/test/ endpoint/m vi/QBP_Q22 .xml"); | |||||
| 33 | fina l String p atientSear chRequestS tring = Fi leUtil | |||||
| 34 | .getReso urce(resou rce); | |||||
| 35 | fina l Document qbpQ22Doc ument = ne w StringTo XML() | |||||
| 36 | .transfo rm(patient SearchRequ estString) ; | |||||
| 37 | fina l String q bpQ222ER7 = this.xml ToEr7Trans former | |||||
| 38 | .transfo rm(qbpQ22D ocument); | |||||
| 39 | fina l Document qbpQ22Doc umentTrans formed = t his.er7ToX mlTransfor mer | |||||
| 40 | .transfo rm(qbpQ222 ER7); | |||||
| 41 | Asse rt.assertE quals("CHD RZZZTESTPA TIENT", XP athUtil.ge tFieldByPa th( | |||||
| 42 | qbpQ22Do cumentTran sformed, " //QPD/QPD. 3[1]/UNKNO WN.2")); | |||||
| 43 | } | |||||
| 44 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.