Produced by Araxis Merge on 10/4/2017 8:04:36 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\notes | notes-unsigned-pjds-writer-itest-spec.js | Mon Aug 21 12:51:00 2017 UTC |
| 2 | rdk.zip\rdk\product\production\rdk\src\write\notes | notes-unsigned-pjds-writer-itest-spec.js | Tue Oct 3 18:52:48 2017 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 8 | 130 |
| Changed | 7 | 28 |
| 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 pJdsWr iter = req uire('./no tes-unsign ed-pjds-wr iter'); | |
| 4 | ||
| 5 | var writeb ackContext = { | |
| 6 | duz: { | |
| 7 | ' R E D A CTED ': '100000 00255' | |
| 8 | }, | |
| 9 | siteHash: ' R E D A CTED ', | |
| 10 | pid: ' R E D A CTED ;8', | |
| 11 | vistaC onfig: { | |
| 12 | host: ' IP ', | |
| 13 | port: PORT , | |
| 14 | accessCode : ' REDACT ', | |
| 15 | verifyCode : ' REDACTED ', | |
| 16 | localIP: ' IP ', | |
| 17 | lo calAddress : 'localho st', | |
| 18 | co ntext: 'HM P UI CONTE XT' | |
| 19 | }, | |
| 20 | model: { | |
| 21 | 'a uthorUid': '10000000 255', | |
| 22 | 'documentD efUid': 'u rn:va:doc- def: R E D A CTED :40', | |
| 23 | 'e ncounterUi d': 'H2931 013', | |
| 24 | 'e ncounterDa teTime': ' 1993101314 00', | |
| 25 | 'r eferenceDa teTime': ' 2015071014 10', | |
| 26 | 'locationU id': 'urn: va:locatio n: R E D A CTED :32', | |
| 27 | 'p atientIcn' : '10110V0 04877', | |
| 28 | 'pid': ' R E D A CTED ;8', | |
| 29 | 's tatus': 'U NSIGNED' | |
| 30 | }, | |
| 31 | appCon fig: { | |
| 32 | 'j dsServer': { | |
| 33 | 'host': ' IP ', | |
| 34 | 'port': PORT , | |
| 35 | 'baseUrl': 'http:// IP ' | |
| 36 | } | |
| 37 | } | |
| 38 | }; | |
| 39 | ||
| 40 | describe(' write-back notes pjd s writer', function( ) { | |
| 41 | descri be('tests create', f unction() { | |
| 42 | it .skip('ret urns succe ss with vp rResponse set', func tion() { | |
| 43 | expect(w ritebackCo ntext.vprR esponse).t o.be.undef ined(); | |
| 44 | pJdsWrit er.create( writebackC ontext, fu nction(err ) { | |
| 45 | expe ct(err).to .be.falsy( ); | |
| 46 | expe ct(writeba ckContext. vprRespons e).to.be.d efined(); | |
| 47 | }); | |
| 48 | }) ; | |
| 49 | }); | |
| 50 | descri be('tests update', f unction() { | |
| 51 | it .skip('ret urns succe ss with vp rResponse set', func tion() { | |
| 52 | writebac kContext.m odel.text = 'TEST TE XT'; | |
| 53 | pJdsWrit er.update( writebackC ontext, fu nction(err ) { | |
| 54 | expe ct(err).to .be.falsy( ); | |
| 55 | expe ct(writeba ckContext. vprRespons e).to.equa l({ | |
| 56 | success: ' Successful ly updated note.' | |
| 57 | }); | |
| 58 | }); | |
| 59 | }) ; | |
| 60 | }); | |
| 61 | descri be('tests read', fun ction() { | |
| 62 | it .skip('ret urns succe ss with vp rResponse set', func tion() { | |
| 63 | pJdsWrit er.read(wr itebackCon text, func tion(err) { | |
| 64 | expe ct(err).to .be.falsy( ); | |
| 65 | expe ct(writeba ckContext. vprRespons e.docs[0]. text).to.e qual('TEST TEXT'); | |
| 66 | }); | |
| 67 | }) ; | |
| 68 | }); | |
| 69 | descri be('tests delete', f unction() { | |
| 70 | it .skip('ret urns succe ss with vp rResponse set', func tion() { | |
| 71 | pJdsWrit er.delete( writebackC ontext, fu nction(err ) { | |
| 72 | expe ct(err).to .be.falsy( ); | |
| 73 | expe ct(writeba ckContext. vprRespons e).to.equa l({ | |
| 74 | 'delete': true | |
| 75 | }); | |
| 76 | }); | |
| 77 | }) ; | |
| 78 | }); | |
| 79 | }); |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.