41. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 10/18/2018 3:19:34 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.

41.1 Files compared

# Location File Last Modified
1 ampl_gui_cif_0.1.0-143.zip\ampl_api_src\src\test\java\gov\va\med\pbm\ampl\utility ESAPIValidatorTest.java Tue Sep 25 12:03:18 2018 UTC
2 ampl_gui_cif_0.1.0-143.zip\ampl_api_src\src\test\java\gov\va\med\pbm\ampl\utility ESAPIValidatorTest.java Thu Oct 18 17:51:55 2018 UTC

41.2 Comparison summary

Description Between
Files 1 and 2
Text Blocks Lines
Unchanged 3 76
Changed 2 4
Inserted 0 0
Removed 0 0

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

41.4 Active regular expressions

No regular expressions were active.

41.5 Comparison detail

  1   package go v.va.med.p bm.ampl.ut ility;
  2  
  3  
  4   import sta tic org.ju nit.Assert .*;
  5  
  6   import org .junit.Tes t;
  7   import org .junit.run ner.RunWit h;
  8   import org .springfra mework.boo t.test.con text.Sprin gBootTest;
  9   import org .springfra mework.tes t.context. junit4.Spr ingRunner;
  10  
  11  
  12   import gov .va.med.pb m.ampl.uti lity.ESAPI Validator;
  13   import gov .va.med.pb m.ampl.uti lity.ESAPI Validation Type;
  14  
  15  
  16  
  17   @RunWith(S pringRunne r.class)
  18   @SpringBoo tTest
  19   public cla ss ESAPIVa lidatorTes t {
  20  
  21           @T est
  22           pu blic void  urlValidti on() {
  23                     String url  = "http:/ / DNS . URL ";
  24                    asse rtEquals(E SAPIValida tor.valida teStringIn put(url, 
  25                                       ESAPIVa lidationTy pe.URL), u rl);
  26  
  27                     url = "htt ps:// DNS . URL ";
  28                    asse rtEquals(E SAPIValida tor.valida teStringIn put(url, 
  29                                       ESAPIVa lidationTy pe.URL), u rl);
  30           }
  31  
  32       @Test
  33           pu blic void  pathManipu lationVali dation() {
  34                    Stri ng path =  "/csp/heal thshare/hs fhir2/fhir access/";
  35                    asse rtEquals(E SAPIValida tor.valida teStringIn put(path, 
  36                                       ESAPIVa lidationTy pe.PATH_MA NIPULATION ), path);
  37           }
  38  
  39  
  40   }