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\multifunction | orwpce4-lex-lookup-fetch-list-itest-spec.js | Mon Aug 21 12:51:00 2017 UTC |
| 2 | rdk.zip\rdk\product\production\rdk\src\write\pick-list\multifunction | orwpce4-lex-lookup-fetch-list-itest-spec.js | Tue Oct 3 19:16:34 2017 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 2 | 90 |
| 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 | 'use stric t'; | |
| 2 | ||
| 3 | var getOrw pce4LexLoo kUp = requ ire('./orw pce4-lex-l ookup-fetc h-list').g etOrwpce4L exLookUp; | |
| 4 | ||
| 5 | var log = sinon.stub (require(' bunyan').c reateLogge r({ name: 'orwpce4-l ex-look-up -fetch-lis t' })); | |
| 6 | //var log = require( 'bunyan'). createLogg er({ name: 'orwpce4- lex-look-u p-fetch-li st' }); // Uncomment this line (and comme nt above) to see out put in Int elliJ cons ole | |
| 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(' orwpce4-le x-look-up resource i ntegration test', fu nction() { | |
| 20 | it('ca n call the getOrwpce 4LexLookUp RPC to re trieve ICD codes', f unction (d one) { | |
| 21 | th is.timeout (20000); | |
| 22 | ge tOrwpce4Le xLookUp(lo g, configu ration, 'C AD', 'ICD' , function (err, resu lt) { | |
| 23 | expect(e rr).to.be. falsy(); | |
| 24 | expect(r esult).to. be.truthy( ); | |
| 25 | result.m ust.be.an. array(); | |
| 26 | expect(r esult.leng th).to.be. gt(0); | |
| 27 | done(); | |
| 28 | }) ; | |
| 29 | }); | |
| 30 | it('ca n call the getOrwpce 4LexLookUp RPC to re trieve CHP codes', f unction (d one) { | |
| 31 | th is.timeout (20000); | |
| 32 | ge tOrwpce4Le xLookUp(lo g, configu ration, 'C AD', 'CHP' , function (err, resu lt) { | |
| 33 | expect(e rr).to.be. falsy(); | |
| 34 | expect(r esult).to. be.truthy( ); | |
| 35 | result.m ust.be.an. array(); | |
| 36 | expect(r esult.leng th).to.be. gt(0); | |
| 37 | done(); | |
| 38 | }) ; | |
| 39 | }); | |
| 40 | it('ca n call the getOrwpce 4LexLookUp RPC to re trieve CPT codes', f unction (d one) { | |
| 41 | th is.timeout (20000); | |
| 42 | ge tOrwpce4Le xLookUp(lo g, configu ration, 'C AD', 'CPT' , function (err, resu lt) { | |
| 43 | expect(e rr).to.be. falsy(); | |
| 44 | expect(r esult).to. be.truthy( ); | |
| 45 | result.m ust.be.an. array(); | |
| 46 | expect(r esult.leng th).to.be. gt(0); | |
| 47 | done(); | |
| 48 | }) ; | |
| 49 | }); | |
| 50 | }); |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.