312. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 4/2/2019 1:08:02 PM Central 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.

312.1 Files compared

# Location File Last Modified
1 C:\AraxisMergeCompare\Pri_un\ARS_Frontend\ars-app\src\app\shared\footer footer.component.spec.ts Wed Mar 27 19:18:29 2019 UTC
2 C:\AraxisMergeCompare\Pri_re\ARS_Frontend\ars-app\src\app\shared\footer footer.component.spec.ts Fri Mar 29 18:23:21 2019 UTC

312.2 Comparison summary

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

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

312.4 Active regular expressions

No regular expressions were active.

312.5 Comparison detail

  1   /**
  2   import { F ooterCompo nent } fro m './foote r.componen t';
  3   import { A ppSettings Service }  from './.. /app-setti ngs/app-se ttings.ser vice';
  4   import { A uthenticat ionService  } from '. /../../aut h/auth.ser vice';
  5   import { O bservable  } from 'rx js/Observa ble';
  6  
  7   describe(' FooterComp onent', ()  => {
  8     let comp onent: Foo terCompone nt;
  9     let appS ettingsSer vice: AppS ettingsSer vice;
  10     let auth entication Service: A uthenticat ionService ;
  11  
  12     beforeEa ch(() => {
  13       authen ticationSe rvice = ne w Authenti cationServ ice(null,  null, null , null);
  14       appSet tingsServi ce = new A ppSettings Service(au thenticati onService,  null);
  15  
  16       compon ent = new  FooterComp onent(appS ettingsSer vice);
  17     });
  18  
  19     it('shou ld be crea ted', () = > {
  20       expect (component ).toBeTrut hy();
  21     });
  22  
  23     it('test  ngOnInit  Method', ( ) => {
  24         const user  = { userN ame: ' AI ' };
  25       const  getUserInf oSpy = spy On(
  26         auth entication Service,
  27         'get DecodedUse rInfo'
  28       ).and. returnValu e(user);
  29       const  version =  {
  30         vers ionArs: 'V 1.0',
  31         vers ionBackend : 'V2.0',
  32         vers ionFronten d: 'V 3.0' ,
  33         vers ionParser:  'V 4.0'
  34       };
  35       const  versionSpy  = spyOn(a ppSettings Service, ' getVersion ').and.cal lFake(
  36         () = > {
  37           re turn new O bservable( observer = > {
  38              observer.n ext(versio n);
  39           }) ;
  40         }
  41       );
  42       compon ent.ngOnIn it();
  43       expect (versionSp y).toHaveB eenCalled( );
  44       expect (component .version). toEqual(ve rsion);
  45     });
  46   });
  47   **/
  48  
  49  
  50   import { F ooterCompo nent } fro m './foote r.componen t';
  51   import { v ersion } f rom '../.. /../versio n';
  52  
  53   describe(' FooterComp onent', ()  => {
  54     let comp onent: Foo terCompone nt;
  55  
  56     beforeEa ch(() => {
  57       compon ent = new  FooterComp onent();
  58     });
  59  
  60     it('shou ld be crea ted', () = > {
  61       expect (component ).toBeTrut hy();
  62     });
  63  
  64     it('test  ngOnInit  Method', ( ) => {
  65       expect (component .prod).toE qual(undef ined);
  66  
  67       compon ent.ngOnIn it();
  68  
  69       expect (component .prod).toE qual(versi on.version );
  70     });  
  71  
  72   });