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\labs | lab-sample-specimen-urgency-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-sample-specimen-urgency-fetch-list-itest-spec.js | Tue Oct 3 19:13:33 2017 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 2 | 72 |
| 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 fetch = require( './lab-sam ple-specim en-urgency -fetch-lis t').fetch; | |
| 4 | var async = require( 'async'); | |
| 5 | ||
| 6 | var log = sinon.stub (require(' bunyan').c reateLogge r({ name: 'lab-sampl e-specimen -urgency-f etch-list' })); | |
| 7 | //var log = require( 'bunyan'). createLogg er({ name: 'lab-samp le-specime n-urgency- 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: 'OR CPR S GUI CHAR T', | |
| 12 | host: ' IP ', | |
| 13 | port: PORT , | |
| 14 | accessCode : ' REDACT ', | |
| 15 | verifyCode : ' REDACTED ', | |
| 16 | localIP: ' IP ', | |
| 17 | localA ddress: 'l ocalhost' | |
| 18 | }; | |
| 19 | ||
| 20 | function t estIenForS uccess(ien ) { | |
| 21 | it('ca n call the RPC with ien: ' + i en, functi on (done) { | |
| 22 | th is.timeout (20000); | |
| 23 | as ync.series ([function (callback ) { | |
| 24 | fetch(lo g, configu ration, ca llback, {l abTestIEN: ien}); | |
| 25 | }] , function (err, resu lt) { | |
| 26 | expect(e rr).to.be. falsy(); | |
| 27 | expect(r esult).to. be.truthy( ); | |
| 28 | done(); | |
| 29 | }) ; | |
| 30 | }); | |
| 31 | } | |
| 32 | ||
| 33 | describe(' lab-sample -specimen- urgency re source int egration t est', func tion() { | |
| 34 | testIe nForSucces s(291); / /Text entr ies for Co llSamp bel ong associ ated with the row ab ove them ( all but la st row has text) | |
| 35 | testIe nForSucces s(312); / /Text entr ies for Co llSamp bel ong associ ated with the row ab ove them ( only one r ow has tex t) | |
| 36 | testIe nForSucces s(515); | |
| 37 | testIe nForSucces s(548); / /unknown c ategory en try \"ReqC om\"" | |
| 38 | testIe nForSucces s(1076); / /unknown c ategory en try \"Defa ult Urgenc y\"" | |
| 39 | testIe nForSucces s(312); / /CollSamp array did not contai n 10 entri es, it had 9 | |
| 40 | testIe nForSucces s(314); / /CollSamp array did not contai n 10 entri es, it had 1 | |
| 41 | }); |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.