Produced by Araxis Merge on 10/4/2017 8:04:41 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\tests\acceptance-tests\features\steps | Immediate_sync_status_steps.rb | Mon Aug 21 12:51:01 2017 UTC |
| 2 | rdk.zip\rdk\product\tests\acceptance-tests\features\steps | Immediate_sync_status_steps.rb | Tue Oct 3 17:27:04 2017 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 2 | 64 |
| Changed | 1 | 2 |
| 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 | class Site Initialize | |
| 2 | def site _initializ e | |
| 3 | define _source_si te = { 'PA NORAMA' => '9E7A', ' KODAK' => 'C877', 'D OD' => 'DO D', 'DAS' => 'DAS', 'HDR' => ' HDR' } | |
| 4 | return define_so urce_site | |
| 5 | end | |
| 6 | end | |
| 7 | ||
| 8 | When(/^the client re quests syn c with imm ediate res ponse with in (\d+) s econd for the patien t "(.*?)" in RDK for mat$/) do |time_out, pid| | |
| 9 | # "http:// IP /sync/load ?pid=11016 V630869&im mediate=tr ue" | |
| 10 | # path = QueryRDKS ync.new("l oad", pid) .add_param eter("imme diate", "t rue") | |
| 11 | temp = R DKQuery.ne w('synchro nization-l oad') | |
| 12 | temp.add _parameter ("pid", pi d) | |
| 13 | temp.add _parameter ("immediat e", "true" ) | |
| 14 | path = t emp.path | |
| 15 | @respons e = nil | |
| 16 | ||
| 17 | begin | |
| 18 | @respo nse = HTTP artyRDK.ge t(path, ti me_out.to_ i) | |
| 19 | rescue E xception = > e | |
| 20 | p "Tim e out; " + e | |
| 21 | end | |
| 22 | ||
| 23 | fail "Ti me out; " if @respon se.nil? | |
| 24 | expect(@ response.c ode).to eq (201), "co de: #{@res ponse.code }, body: # {@response .body}" | |
| 25 | end | |
| 26 | ||
| 27 | Then(/^the sync imme diate resp onse will be reporte d the sync status wi thout wait ing for sy nc to comp leted$/) d o |table| | |
| 28 | @json_ob ject = JSO N.parse(@r esponse.bo dy) | |
| 29 | result_a rray = @js on_object[ "data"]["i tems"][0][ "syncStatu sByVistaSy stemId"].k eys | |
| 30 | runtime_ array = ta ble.rows[0 ] | |
| 31 | ||
| 32 | result_a rray.shoul d match_ar ray(runtim e_array) | |
| 33 | end |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.