273. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 2/4/2019 11:34:05 AM 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.

273.1 Files compared

# Location File Last Modified
1 MHPRO_v1.x.zip\mhpro-resources-master@a26412b610c.zip\ws\src\test\java\gov\va\mobile\vamf\mhpro\datalayer FacilityInfoRepositoryTest.java Tue Nov 14 19:31:17 2017 UTC
2 MHPRO_v1.x.zip\mhpro-resources-master@a26412b610c.zip\ws\src\test\java\gov\va\mobile\vamf\mhpro\datalayer FacilityInfoRepositoryTest.java Mon Feb 4 15:13:47 2019 UTC

273.2 Comparison summary

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

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

273.4 Active regular expressions

No regular expressions were active.

273.5 Comparison detail

  1   package go v.va.mobil e.vamf.mhp ro.datalay er;
  2  
  3   import jav a.util.Lis t;
  4  
  5   import org .junit.Ass ert;
  6   import org .junit.Tes t;
  7   import org .junit.run ner.RunWit h;
  8   import org .springfra mework.bea ns.factory .annotatio n.Autowire d;
  9   import org .springfra mework.tes t.context. ContextCon figuration ;
  10   import org .springfra mework.tes t.context. junit4.Spr ingJUnit4C lassRunner ;
  11   import org .springfra mework.tes t.context. web.WebApp Configurat ion;
  12  
  13   import gov .va.mobile .vamf.mhpr o.domain.F acilityInf o;
  14  
  15   /**
  16    * 
  17    * @author   PII
  18    *
  19    */
  20   @RunWith(S pringJUnit 4ClassRunn er.class)
  21   @WebAppCon figuration
  22   @ContextCo nfiguratio n({ "class path:appli cationCont ext.xml",  "classpath :dispatche r-servlet. xml",
  23                    "cla sspath:mon goContext. xml" })
  24   public cla ss Facilit yInfoRepos itoryTest  {
  25  
  26           @A utowired
  27           pr ivate Faci lityInfoRe pository r epo;
  28  
  29           @T est
  30           pu blic void  testFindBy StationNum ber() {
  31                    Faci lityInfo i nfo = repo .findBySta tionNumber ("101");
  32                    Asse rt.assertE quals(info .getTimeZo ne(), "US/ Eastern");
  33  
  34                    /*
  35                     * F or now jus t monitor  log4j outp ut to ensu re this hi ts our cac he and
  36                     * n ot the DB  - CPB
  37                     */
  38                    for  (int i = 0 ; i < 20;  i++)
  39                             info =  repo.find ByStationN umber("101 ");
  40           }
  41  
  42           @T est
  43           pu blic void  testFindAl l() {
  44                    List <FacilityI nfo> all =  repo.find All();
  45                    Asse rt.assertT rue(!all.i sEmpty());
  46           }
  47  
  48           @T est
  49           pu blic void  testClinic IEN() {
  50                    Faci lityInfo i nfo = repo .findBySta tionNumber ("442");
  51                    Asse rt.assertE quals("11" , info.get ClinicIEN( ));
  52           }        
  53           
  54   }