59. EPMO Open Source Coordination Office Redaction File Detail Report

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

59.1 Files compared

# Location File Last Modified
1 rdk.zip\rdk\product\production\rdk\src\resources\note-objects note-objects-madlib-generator-request-activity-spec.js Mon Aug 21 12:51:00 2017 UTC
2 rdk.zip\rdk\product\production\rdk\src\resources\note-objects note-objects-madlib-generator-request-activity-spec.js Tue Oct 3 18:16:36 2017 UTC

59.2 Comparison summary

Description Between
Files 1 and 2
Text Blocks Lines
Unchanged 7 114
Changed 6 20
Inserted 0 0
Removed 0 0

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

59.4 Active regular expressions

No regular expressions were active.

59.5 Comparison detail

  1   'use stric t';
  2  
  3   var madlib Generator  = require( './note-ob jects-madl ib-generat or-request -activity' ).getMadli bString;
  4  
  5   var raData  = require ('./note-o bjects-mad lib-genera tor-reques t-activity -spec-data ').data;
  6   var reques tActivityA ctive = ra Data.activ eRequest;
  7   var active RequestWit hMissingDa taDefault  = raData.a ctiveReque stWithMiss ingDataDef ault;
  8   var appCon fig = {
  9       'vista Sites': {
  10           '9 E7A': {
  11                'name':  'PANORAMA' ,
  12                'divisio n': '500',
  13                  'host': ' IP          ',
  14                  'localIP':  ' IP        ',
  15                'localAd dress': 'l ocalhost',
  16                  'port':  PORT ,
  17                'product ion': fals e,
  18                  'accessCod e': ' REDACTED ',
  19                  'verifyCod e': ' REDACTED ',
  20                'infoBut tonOid': ' 1.3.6.1.4. 1.3768',
  21                'abbrevi ation': 'P AN'
  22           },
  23           'C 877': {
  24                'name':  'KODAK',
  25                'divisio n': '507',
  26                  'host': ' IP          ',
  27                  'localIP':  ' IP        ',
  28                'localAd dress': 'l ocalhost',
  29                  'port':  PORT ,
  30                'product ion': fals e,
  31                  'accessCod e': ' REDACTED ',
  32                  'verifyCod e': ' REDACTED ',
  33                'infoBut tonOid': ' 1.3.6.1.4. 1.3768',
  34                'abbrevi ation': 'K DK'
  35           }
  36       }
  37   };
  38  
  39  
  40   describe(' Calling no te-objects -madlib-ge nerator-re quest-acti vity-spec  test for',  function( ) {
  41       var er rorMessage  = [];
  42  
  43       descri be('genera teMadlibSt ring()', f unction()  {
  44  
  45           it .skip('act ivity-requ est parses  the corre ct Active  content',  function()  {
  46                var ra =  requestAc tivityActi ve;
  47                var retV al = madli bGenerator (errorMess age, ra, a ppConfig);
  48  
  49                expect(r etVal.inde xOf('04/20 /2016')).t o.equal(0)  ;
  50                expect(r etVal.inde xOf('Urgen t')).to.eq ual(40) ;
  51                expect(r etVal.inde xOf('Reass igned to:  Patients P rimary Car e team.  R oles: Phys ician, Nur se Practit ioner.')). to.above(0 ) ;
  52           }) ;
  53       });
  54  
  55       descri be('genera teMadlibSt ring() Wit h Missing  Source Att ributes to  Result in  Default E mpty Strin g', functi on() {
  56  
  57           it ('activity -request p arses the  Active con tent, with  missing a ttributes  to Result  in Default  Empty Str ing', func tion() {
  58  
  59                var ra =  activeReq uestWithMi ssingDataD efault;
  60                var retV al = madli bGenerator (errorMess age, ra, a ppConfig);
  61                expect(r etVal.inde xOf('Assig ned to: Pa tients Pri mary Care  team.  Rol es: Physic ian')).to. equal(85);
  62                expect(r etVal.inde xOf('Reass igned to:  Patients P rimary Car e team.  R oles: Phys ician, Nur se Practit ioner')).t o.equal(31 4);
  63                expect(r etVal.inde xOf('Decli ned by: Pa norama,Use r')).to.eq ual(473);
  64           }) ;
  65       });
  66  
  67   });