Produced by Araxis Merge on 6/9/2017 3:51:10 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:10 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\common\document | TestAdapterStylesheet.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 | 42 |
| 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.common.d ocument; | |||||
| 2 | ||||||
| 3 | import gov .va.nvap.c ommon.file .FileUtil; | |||||
| 4 | import gov .va.nvap.c ommon.tran sformer.Tr ansformerE xception; | |||||
| 5 | import gov .va.nvap.c ommon.tran sformer.xm l.StringTo XML; | |||||
| 6 | import gov .va.nvap.c ommon.tran sformer.xm l.XMLToStr ing; | |||||
| 7 | import gov .va.nvap.c ommon.tran sformer.xs l.XMLtoXML ; | |||||
| 8 | import gov .va.nvap.c ommon.vali dation.Ass ert; | |||||
| 9 | import gov .va.nvap.c ommon.xpat h.XPathExc eption; | |||||
| 10 | import gov .va.nvap.s erver.test .common.Ab stractTest Case; | |||||
| 11 | ||||||
| 12 | import jav a.io.IOExc eption; | |||||
| 13 | ||||||
| 14 | import jav ax.annotat ion.Resour ce; | |||||
| 15 | import jav ax.xml.bin d.JAXBExce ption; | |||||
| 16 | ||||||
| 17 | import org .junit.Tes t; | |||||
| 18 | import org .w3c.dom.D ocument; | |||||
| 19 | ||||||
| 20 | public cla ss TestAda pterStyles heet exten ds Abstrac tTestCase { | |||||
| 21 | ||||||
| 22 | @R esource(na me = "nhin CCDStylshe etTransfor mer") | |||||
| 23 | pr ivate XMLt oXML docum entStylshe etTransfor mer; | |||||
| 24 | ||||||
| 25 | @T est | |||||
| 26 | pu blic void testTransf ormer() th rows IOExc eption, Tr ansformerE xception, | |||||
| 27 | XPathE xception, JAXBExcept ion { | |||||
| 28 | ||||||
| 29 | fina l org.spri ngframewor k.core.io. Resource r esource = this.appli cationCont ext | |||||
| 30 | .getReso urce("clas spath:gov/ va/nvap/se rver/test/ service/pr ivacy/Samp leCDAConse ntDirectiv eStructure dExcludeOr g.xml"); | |||||
| 31 | fina l String c onsentDire ctiveData = FileUtil .getResour ce(resourc e); | |||||
| 32 | fina l Document consentDi rectiveDat aDoc = new StringToX ML() | |||||
| 33 | .transfo rm(consent DirectiveD ata); | |||||
| 34 | ||||||
| 35 | fina l Document doc = thi s.document StylsheetT ransformer | |||||
| 36 | .transfo rm(consent DirectiveD ataDoc); | |||||
| 37 | Syst em.out.pri ntln(new X MLToString (true).tra nsform(doc )); | |||||
| 38 | ||||||
| 39 | Asse rt.assertN otEmpty(do c, "Docume nt cannot be null!") ; | |||||
| 40 | } | |||||
| 41 | ||||||
| 42 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.