351. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 12/21/2016 2:21:14 PM Eastern Standard 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.

351.1 Files compared

# Location File Last Modified
1 C:\OSCIF_VSS\Pri_un\ZIP\VSS_5_1_2438\VSS_5_1_2438\trunk\web\src\test\java\gov\va\vss\service\email TestEmailService.java Wed Dec 7 02:28:50 2016 UTC
2 C:\OSCIF_VSS\Pri_re\ZIP\VSS_5_1_2438\VSS_5_1_2438\trunk\web\src\test\java\gov\va\vss\service\email TestEmailService.java Mon Dec 12 19:09:48 2016 UTC

351.2 Comparison summary

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

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

351.4 Active regular expressions

No regular expressions were active.

351.5 Comparison detail

  1   package go v.va.vss.s ervice.ema il;
  2  
  3   import jav a.time.Zon edDateTime ;
  4   import jav a.util.Arr ays;
  5   import jav a.util.Has hMap;
  6   import jav a.util.Map ;
  7  
  8   import org .junit.Ign ore;
  9   import org .junit.Tes t;
  10   import org .springfra mework.bea ns.factory .annotatio n.Autowire d;
  11   import org .springfra mework.ste reotype.Co mponent;
  12   import org .springfra mework.uti l.concurre nt.Listena bleFuture;
  13  
  14   import gov .va.vss.Ab stractWebA ppTest;
  15   import gov .va.vss.se rvice.emai l.impl.Tes tEmailServ iceImpl;
  16   import gov .va.vss.ut il.DateUti l;
  17  
  18   @Component
  19   @Ignore
  20   public cla ss TestEma ilService  extends Ab stractWebA ppTest {
  21  
  22           @A utowired
  23           pr ivate Emai lService e mailServic e;
  24  
  25           @T est
  26           pu blic void  testSendEm ail() thro ws Excepti on {
  27                    bool ean previo usSendEmai lVal = Tes tEmailServ iceImpl.se ndEmail;
  28                    Test EmailServi ceImpl.sen dEmail = t rue;
  29  
  30                    try  {
  31                             Map<St ring, Obje ct> params  = new Has hMap<>();
  32                             params .put("succ essfulStat ions", Arr ays.asList ("442"));
  33                             params .put("unsu ccessfulSt ations", A rrays.asLi st("552")) ;
  34                             params .put("star tTime", Zo nedDateTim e.of(2012,  1, 1, 0,  0, 0, 0, D ateUtil.UT C));
  35                             params .put("comp letionTime ", ZonedDa teTime.of( 2012, 1, 1 , 3, 45, 0 , 0, DateU til.UTC));
  36  
  37                             Listen ableFuture <Object> r esult = em ailService .sendEmail (
  38                                                EmailType. BATCH_PROC ESS_COMPLE TION_APP_U SERS_UPDAT ED, new St ring[] { " PII                   " }, null,
  39                                               params);
  40                             result .get();
  41                    } fi nally {
  42                             TestEm ailService Impl.sendE mail = pre viousSendE mailVal;
  43                    }
  44           }
  45  
  46   }