159. EPMO Open Source Coordination Office Redaction File Detail Report

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

159.1 Files compared

# Location File Last Modified
1 rdk.zip\rdk\product\production\rdk\src\write\pick-list\labs lab-order-orderable-items-fetch-list-itest-spec.js Mon Aug 21 12:51:00 2017 UTC
2 rdk.zip\rdk\product\production\rdk\src\write\pick-list\labs lab-order-orderable-items-fetch-list-itest-spec.js Tue Oct 3 19:13:13 2017 UTC

159.2 Comparison summary

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

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

159.4 Active regular expressions

No regular expressions were active.

159.5 Comparison detail

  1   'use stric t';
  2  
  3   var fetchD irectRpcCa ll = requi re('./lab- order-orde rable-item s-fetch-li st').fetch DirectRpcC all;
  4   var fetch  = require( './lab-ord er-orderab le-items-f etch-list' ).fetch;
  5  
  6   var log =  sinon.stub (require(' bunyan').c reateLogge r({
  7       name:  'lab-order -orderable -items-ite st'
  8   }));
  9  
  10   // log = r equire('bu nyan').cre ateLogger( {
  11   //     nam e: 'lab-or der-ordera ble-items- itest',
  12   //     lev el: 'debug '
  13   // });
  14  
  15   var config uration =  {
  16       enviro nment: 'de velopment' ,
  17       contex t: 'OR CPR S GUI CHAR T',
  18         host: ' IP          ',
  19         port:  PORT ,
  20         accessCode : ' REDACT ',
  21         verifyCode : ' REDACTED ',
  22         localIP: ' IP        ',
  23       localA ddress: 'l ocalhost'
  24   };
  25  
  26   describe(' lab-order- orderable- items reso urce integ ration tes t', functi on() {
  27       it('fe tchDirectR pcCall RPC  works', f unction(do ne) {
  28           th is.timeout (120000);
  29           fe tchDirectR pcCall(log , configur ation, fun ction(err,  result) {
  30                expect(e rr).to.be. null();
  31                expect(r esult).to. be.truthy( );
  32                done();
  33           },  {searchSt ring: 'ABC ', labType : 'S.LAB'} );
  34       });
  35       it('fe tchDirectR pcCall wil l return a n error wh en labType  parameter  is missin g', functi on(done) {
  36           th is.timeout (20000);
  37           fe tchDirectR pcCall(log , configur ation, fun ction(err,  result) {
  38                expect(e rr).to.be. truthy();
  39                expect(r esult).to. be.falsy() ;
  40                done();
  41           },  {searchSt ring: 'ABC ', labType : ''});
  42       });
  43       it('fe tchDirectR pcCall wil l have no  data retur ned on inv alid labTy pe', funct ion(done)  {
  44           th is.timeout (120000);
  45           fe tchDirectR pcCall(log , configur ation, fun ction(err,  result) {
  46                expect(e rr).to.be. falsy();
  47                expect(r esult).to. eql([]);
  48                done();
  49           },  {searchSt ring: 'ABC ', labType : 'A'});
  50       });
  51  
  52  
  53       it('fe tch RPC wo rks', func tion(done)  {
  54           th is.timeout (120000);
  55           fe tch(log, c onfigurati on, functi on(err, re sult) {
  56                expect(e rr).to.be. null();
  57                expect(r esult).to. be.truthy( );
  58                done();
  59           },  {searchSt ring: 'ABC ', labType : 'S.LAB'} );
  60       });
  61       it('fe tch will r eturn an e rror when  labType pa rameter is  missing',  function( done) {
  62           th is.timeout (20000);
  63           fe tch(log, c onfigurati on, functi on(err, re sult) {
  64                expect(e rr).to.be. truthy();
  65                expect(r esult).to. be.falsy() ;
  66                done();
  67           },  {searchSt ring: 'ABC ', labType : ''});
  68       });
  69       it('fe tch will h ave no dat a returned  on invali d labType' , function (done) {
  70           th is.timeout (120000);
  71           fe tch(log, c onfigurati on, functi on(err, re sult) {
  72                expect(e rr).to.be. falsy();
  73                expect(r esult).to. eql([]);
  74                done();
  75           },  {searchSt ring: 'ABC ', labType : 'A'});
  76       });
  77   });