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-time-valid-immediate-collect-time-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-time-valid-immediate-collect-time-fetch-list-itest-spec.js | Tue Oct 3 19:13:47 2017 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 3 | 90 |
| Changed | 2 | 20 |
| 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 | var filema nDateUtil = require( '../../../ utils/file man-date-c onverter') ; | |
| 4 | ||
| 5 | var fetch = require( './lab-tim e-valid-im mediate-co llect-time -fetch-lis t').fetch; | |
| 6 | ||
| 7 | var log = sinon.stub (require(' bunyan').c reateLogge r({ name: 'lab-time- valid-imme diate-coll ect-time-f etch-list' })); | |
| 8 | //var log = require( 'bunyan'). createLogg er({ name: 'lab-time -valid-imm ediate-col lect-time- fetch-list ' }); //Un comment th is line (a nd comment above) to see outpu t in Intel liJ consol e | |
| 9 | ||
| 10 | ||
| 11 | ||
| 12 | describe(' lab-time-v alid-immed iate-colle ct-time re source int egration t est', func tion() { | |
| 13 | it('ca n call the fetch RPC on PANORA MA', funct ion (done) { | |
| 14 | va r configur ation = { | |
| 15 | environm ent: 'deve lopment', | |
| 16 | context: 'OR CPRS GUI CHART' , | |
| 17 | host: ' IP ', | |
| 18 | port: PORT , | |
| 19 | accessCode : ' REDACT ', | |
| 20 | verifyCode : ' REDACTED ', | |
| 21 | localIP: ' IP ', | |
| 22 | localAdd ress: 'loc alhost' | |
| 23 | }; | |
| 24 | ||
| 25 | th is.timeout (20000); | |
| 26 | va r dateObje ct = new D ate('Septe mber 3, 20 15 9:24:00 '); | |
| 27 | va r time = f ilemanDate Util.getFi lemanDateT ime(dateOb ject); | |
| 28 | ||
| 29 | fe tch(log, c onfigurati on, functi on(err, re sult) { | |
| 30 | expect(e rr).to.be. falsy(); | |
| 31 | expect(r esult).to. be.truthy( ); | |
| 32 | done(); | |
| 33 | }, {time: ti me}); | |
| 34 | }); | |
| 35 | it('ca n call the fetch RPC on KODAK' , function (done) { | |
| 36 | va r configur ation = { | |
| 37 | environm ent: 'deve lopment', | |
| 38 | context: 'OR CPRS GUI CHART' , | |
| 39 | host: ' IP ', | |
| 40 | port: PORT , | |
| 41 | accessCode : ' REDACT ', | |
| 42 | verifyCode : ' REDACTED ', | |
| 43 | localIP: ' IP ', | |
| 44 | localAdd ress: 'loc alhost' | |
| 45 | }; | |
| 46 | ||
| 47 | th is.timeout (20000); | |
| 48 | ||
| 49 | fe tch(log, c onfigurati on, functi on(err, re sult) { | |
| 50 | expect(e rr).to.be. falsy(); | |
| 51 | expect(r esult).to. be.truthy( ); | |
| 52 | done(); | |
| 53 | }, {time: '3 151127.151 '}); | |
| 54 | }); | |
| 55 | }); |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.