4011. EPMO Open Source Coordination Office Redaction File Detail Report

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.

4011.1 Files compared

# 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 TestRSPK22ER7ToXML.java Fri Apr 21 20:03:28 2017 UTC

4011.2 Comparison summary

Description Between
Files 1 and 2
Text Blocks Lines
Unchanged 0 0
Changed 0 0
Inserted 1 58
Removed 0 0

4011.3 Comparison options

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

4011.4 Active regular expressions

No regular expressions were active.

4011.5 Comparison detail

        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.xpat h.XPathExc eption;
        7   import gov .va.nvap.c ommon.xpat h.XPathUti l;
        8   import gov .va.nvap.s erver.test .common.Ab stractTest Case;
        9  
        10   import jav a.io.IOExc eption;
        11  
        12   import jav ax.annotat ion.Resour ce;
        13  
        14   import jun it.framewo rk.Assert;
        15  
        16   import org .junit.Tes t;
        17   import org .w3c.dom.D ocument;
        18  
        19   public cla ss TestRSP K22ER7ToXM L extends  AbstractTe stCase {
        20  
        21           @R esource(na me = "er7T oXmlTransf ormer")
        22           Tr ansformer< String, Do cument> er 7ToXmlTran sformer;
        23  
        24           @T est
        25           pu blic void  testQBPQ22 XMLToER7Fa ilure() th rows IOExc eption,
        26                             Transf ormerExcep tion, XPat hException  {
        27                    fina l org.spri ngframewor k.core.io. Resource r esource =  this.appli cationCont ext
        28                                      .getReso urce("clas spath:gov/ va/nvap/se rver/test/ endpoint/m vi/RSP_K22 _Failure.e r7");
        29                    fina l String r spK22Failu reER7 = Fi leUtil.get Resource(r esource);
        30                    fina l Document  document  = this.er7 ToXmlTrans former
        31                                      .transfo rm(rspK22F ailureER7) ;
        32                    Asse rt.assertE quals(XPat hUtil.getF ieldByPath (document,  "//MSA.3" ),
        33                                      "MVI Una vailable") ;
        34           }
        35  
        36           @T est
        37           pu blic void  testQBPQ22 XMLToER7Mu ltipleMatc hes() thro ws IOExcep tion,
        38                             Transf ormerExcep tion, XPat hException  {
        39                    fina l org.spri ngframewor k.core.io. Resource r esource =  this.appli cationCont ext
        40                                      .getReso urce("clas spath:gov/ va/nvap/se rver/test/ endpoint/m vi/RSP_K22 _MultipleM atches.er7 ");
        41                    fina l String r spK22Mulit pleMatches ER7 = File Util.getRe source(res ource);
        42                    fina l Document  document  = this.er7 ToXmlTrans former
        43                                      .transfo rm(rspK22M ulitpleMat chesER7);
        44                    Asse rt.assertE quals(XPat hUtil.getF ieldByPath (document,  "//QAK.4" ), "4");
        45           }
        46  
        47           @T est
        48           pu blic void  testQBPQ22 XMLToER7No Matches()  throws IOE xception,
        49                             Transf ormerExcep tion, XPat hException  {
        50                    fina l org.spri ngframewor k.core.io. Resource r esource =  this.appli cationCont ext
        51                                      .getReso urce("clas spath:gov/ va/nvap/se rver/test/ endpoint/m vi/RSP_K22 _NoMatches .er7");
        52                    fina l String r spK22NoMat chesER7 =  FileUtil.g etResource (resource) ;
        53                    fina l Document  document  = this.er7 ToXmlTrans former
        54                                      .transfo rm(rspK22N oMatchesER 7);
        55                    Asse rt.assertE quals(XPat hUtil.getF ieldByPath (document,  "//QAK.4" ), "0");
        56           }
        57  
        58   }