4014. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 6/9/2017 3:51:14 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.

4014.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\pdq TestMostRecentDateFilter.java Fri Apr 21 20:03:28 2017 UTC

4014.2 Comparison summary

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

4014.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

4014.4 Active regular expressions

No regular expressions were active.

4014.5 Comparison detail

        1   package go v.va.nvap. server.tes t.endpoint .pdq;
        2  
        3   import gov .va.nvap.c ommon.file .FileUtil;
        4   import gov .va.nvap.c ommon.filt er.FilterE xception;
        5   import gov .va.nvap.c ommon.spli tter.Split ter;
        6   import gov .va.nvap.c ommon.spli tter.Split terExcepti on;
        7   import gov .va.nvap.c ommon.tran sformer.Tr ansformer;
        8   import gov .va.nvap.c ommon.tran sformer.Tr ansformerE xception;
        9   import gov .va.nvap.s erver.serv ice.pdq.fi lter.MostR ecentDateF ilter;
        10   import gov .va.nvap.s erver.test .common.Ab stractTest Case;
        11  
        12   import jav a.io.IOExc eption;
        13   import jav a.util.Map ;
        14  
        15   import jav ax.annotat ion.Resour ce;
        16  
        17   import jun it.framewo rk.Assert;
        18  
        19   import org .junit.Tes t;
        20  
        21   public cla ss TestMos tRecentDat eFilter ex tends Abst ractTestCa se {
        22  
        23           @R esource(na me = "rpcE xtendedRes ponseSplit ter")
        24           pr ivate Spli tter<Strin g, Map<Str ing, Strin g>> rpcExt endedRespo nseSplitte r;
        25  
        26           @R esource(na me = "rpcR esponsesTo PropertyMa pRecordTwo Pass")
        27           pr ivate Tran sformer<Ma p<String,  String>, M ap<String,  Map<Strin g, Object> >> rpcResp onsesToPro pertyMapRe cordTwoPas s;
        28  
        29           @R esource(na me = "rpcR esponsesRe centDateFi lter")
        30           pr ivate Most RecentDate Filter rpc ResponsesR ecentDateF ilter;
        31  
        32           @T est
        33           pu blic void  testMostRe centDateFi lter() thr ows IOExce ption,
        34                             Transf ormerExcep tion, Filt erExceptio n, Splitte rException  {
        35  
        36                    fina l org.spri ngframewor k.core.io. Resource r esource =  this.appli cationCont ext
        37                                      .getReso urce("clas spath:gov/ va/nvap/se rver/test/ endpoint/v ista/mvi/M PI RETURN  CORRELATIO N DATA.txt ");
        38                    fina l String r pcResponse s = FileUt il.getReso urce(resou rce);
        39  
        40                    fina l Map<Stri ng, String > splitRpc Responses  = this.rpc ExtendedRe sponseSpli tter
        41                                      .split(r pcResponse s);
        42                    fina l Map<Stri ng, Map<St ring, Obje ct>> rpcRe sponsesMap Record = t his.rpcRes ponsesToPr opertyMapR ecordTwoPa ss
        43                                      .transfo rm(splitRp cResponses );
        44  
        45                    fina l String r esponse =  this.rpcRe sponsesRec entDateFil ter
        46                                      .filter( rpcRespons esMapRecor d);
        47                    Asse rt.assertN otNull(res ponse);
        48           }
        49   }