183. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 10/4/2017 8:04:38 AM 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.

183.1 Files compared

# Location File Last Modified
1 rdk.zip\rdk\product\production\rdk\src\write\pick-list\person new-persons-fetch-list-itest-spec.js Mon Aug 21 12:51:00 2017 UTC
2 rdk.zip\rdk\product\production\rdk\src\write\pick-list\person new-persons-fetch-list-itest-spec.js Tue Oct 3 19:18:39 2017 UTC

183.2 Comparison summary

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

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

183.4 Active regular expressions

No regular expressions were active.

183.5 Comparison detail

  1   'use stric t';
  2  
  3   var fetch  = require( './new-per sons-fetch -list').fe tch;
  4  
  5   var log =  sinon.stub (require(' bunyan').c reateLogge r({ name:  'new-perso ns-fetch-l ist' }));
  6   //var log  = require( 'bunyan'). createLogg er({ name:  'new-pers ons-fetch- list' });  //Uncommen t this lin e (and com ment above ) to see o utput in I ntelliJ co nsole
  7  
  8   var config uration =  {
  9       enviro nment: 'de velopment' ,
  10       contex t: 'OR CPR S GUI CHAR T',
  11         host: ' IP          ',
  12         port:  PORT ,
  13         accessCode : ' REDACT ',
  14         verifyCode : ' REDACTED ',
  15         localIP: ' IP        ',
  16       localA ddress: 'l ocalhost'
  17   };
  18  
  19   describe(' new-person s-fetch-li st resourc e', functi on() {
  20       it('ca n call the  RPC with  no date',  function(d one) {
  21           th is.timeout (120000);
  22           fe tch(log, c onfigurati on, functi on(err, re sult) {
  23                expect(e rr).to.be. null();
  24                expect(r esult).not .to.be.fal sy();
  25                result.m ust.be.an. array();
  26                expect(r esult.leng th).to.be. gte(0);
  27                done();
  28           }) ;
  29       });
  30  
  31       it('ca n call the  RPC with  a date tha t returns  results',  function(d one) {
  32           th is.timeout (20000);
  33           fe tch(log, c onfigurati on, functi on(err, re sult) {
  34                expect(e rr).to.be. null();
  35                expect(r esult).not .to.be.fal sy();
  36                result.m ust.be.an. array();
  37                expect(r esult.leng th).to.be. gte(0);
  38                done();
  39           },  {date: '2 0160101'}) ;
  40       });
  41  
  42       it('ca n call the  RPC with  a date tha t returns  0 results' , function (done) {
  43           th is.timeout (20000);
  44           fe tch(log, c onfigurati on, functi on(err, re sult) {
  45                expect(e rr).to.be. null();
  46                expect(r esult).not .to.be.fal sy();
  47                result.m ust.be.an. array();
  48                expect(r esult.leng th).to.equ al(0);
  49                done();
  50           },  {date: '1 8000101'}) ;
  51       });
  52  
  53       it('fe tch works  recursivel y', functi on (done)  {
  54           th is.timeout (120000);
  55  
  56           fe tch(log, c onfigurati on, functi on(err, re sult) {
  57                expect(e rr).to.be. falsy();
  58                expect(r esult).to. be.truthy( );
  59                done();
  60           }) ; //No par ams passed  to this
  61       });
  62   });