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.
| # | Location | File | Last Modified |
|---|---|---|---|
| 1 | rdk.zip\rdk\product\production\rdk\src\write\pick-list\immunizations | immunization-data-fetch-list-itest-spec.js | Mon Aug 21 12:51:00 2017 UTC |
| 2 | rdk.zip\rdk\product\production\rdk\src\write\pick-list\immunizations | immunization-data-fetch-list-itest-spec.js | Tue Oct 3 19:11:17 2017 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 2 | 110 |
| Changed | 1 | 10 |
| Inserted | 0 | 0 |
| Removed | 0 | 0 |
| 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 |
No regular expressions were active.
| 1 | /*global s inon, desc ribe, it * / | |
| 2 | 'use stric t'; | |
| 3 | ||
| 4 | var fetch = require( './immuniz ation-data -fetch-lis t').fetch; | |
| 5 | ||
| 6 | var log = sinon.stub (require(' bunyan').c reateLogge r({ name: 'immunizat ion-data-f etch-list' })); | |
| 7 | //var log = require( 'bunyan'). createLogg er({ name: 'immuniza tion-data- fetch-list ' }); //Un comment th is line (a nd comment above) to see outpu t in Intel liJ consol e | |
| 8 | ||
| 9 | var config uration = { | |
| 10 | enviro nment: 'de velopment' , | |
| 11 | contex t: 'HMP UI CONTEXT', | |
| 12 | host: ' IP ', | |
| 13 | port: PORT , | |
| 14 | accessCode : ' REDACT ', | |
| 15 | verifyCode : ' REDACTED ', | |
| 16 | localIP: ' IP ', | |
| 17 | localA ddress: 'l ocalhost' | |
| 18 | }; | |
| 19 | ||
| 20 | describe(' immunizati on-data re source int egration t est', func tion() { | |
| 21 | it('ca n call the fetch RPC ', functio n (done) { | |
| 22 | th is.timeout (20000); | |
| 23 | ||
| 24 | fe tch(log, c onfigurati on, functi on(err, re sult) { | |
| 25 | expect(e rr).to.be. falsy(); | |
| 26 | expect(r esult).to. be.truthy( ); | |
| 27 | done(); | |
| 28 | }) ; //No par ams passed to this | |
| 29 | }); | |
| 30 | ||
| 31 | it('ca n call the fetch RPC with pxvf ilter and subfiles n ot set', f unction (d one) { | |
| 32 | th is.timeout (20000); | |
| 33 | ||
| 34 | fe tch(log, c onfigurati on, functi on(err, re sult) { | |
| 35 | expect(e rr).to.be. falsy(); | |
| 36 | expect(r esult).to. be.truthy( ); | |
| 37 | done(); | |
| 38 | }) ; | |
| 39 | }); | |
| 40 | ||
| 41 | it('ca n call the fetch RPC with pxvf ilter set to S:H (fo r selectab le histori c)', funct ion (done) { | |
| 42 | th is.timeout (20000); | |
| 43 | ||
| 44 | fe tch(log, c onfigurati on, functi on(err, re sult) { | |
| 45 | expect(e rr).to.be. falsy(); | |
| 46 | expect(r esult).to. be.truthy( ); | |
| 47 | done(); | |
| 48 | }, {pxvfilte r: 'S:H'}) ; | |
| 49 | }); | |
| 50 | ||
| 51 | it('ca n call the fetch RPC with subf iles set t o 1', func tion (done ) { | |
| 52 | th is.timeout (20000); | |
| 53 | ||
| 54 | fe tch(log, c onfigurati on, functi on(err, re sult) { | |
| 55 | expect(e rr).to.be. falsy(); | |
| 56 | expect(r esult).to. be.truthy( ); | |
| 57 | done(); | |
| 58 | }, {subfiles : '1'}); | |
| 59 | }); | |
| 60 | }); |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.