Produced by Araxis Merge on 10/3/2017 11:16:06 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 | ehmp.zip\ehmp\ehmp\product\tests\acceptance-tests\features-arch\old_ehmp_features_ruby\steps | search_steps_solar.rb | Tue Dec 15 14:05:18 2015 UTC |
| 2 | ehmp.zip\ehmp\ehmp\product\tests\acceptance-tests\features-arch\old_ehmp_features_ruby\steps | search_steps_solar.rb | Mon Oct 2 20:09:45 2017 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 2 | 50 |
| 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 | path = Fil e.expand_p ath '..', __FILE__ | |
| 2 | $LOAD_PATH .unshift p ath unless $LOAD_PAT H.include? (path) | |
| 3 | path = Fil e.expand_p ath '../.. /../../sha red-test-r uby', __FI LE__ | |
| 4 | $LOAD_PATH .unshift p ath unless $LOAD_PAT H.include? (path) | |
| 5 | require 'V erifyJsonR untimeValu e.rb' | |
| 6 | ||
| 7 | When(/^the client se arches for "(.*?)" f or the pat ient "(.*? )" in VPR format$/) do |text, pid| | |
| 8 | base_sol r_url = De faultLogin .solr_url | |
| 9 | p path = "#{base_s olr_url}/s olr/vpr/se lect?q=*#{ text}*&fq= pid:#{pid} &wt=json&i ndent=true &start=0&r ows=1000" | |
| 10 | #http:// IP /solr/vpr/ select?q=* rad*&fq=pi d:10108&wt =json&inde nt=true&st art=0&rows =1000& | |
| 11 | @respons e = HTTPar tyWithBasi cAuth.get_ with_autho rization(p ath) | |
| 12 | end | |
| 13 | ||
| 14 | Then(/^the solar sea rch result s contains "(.*?)"/) do |total _items| | |
| 15 | ||
| 16 | @json_ob ject = JSO N.parse(@r esponse.bo dy) | |
| 17 | expected _total_ite ms = @json _object["r esponse"][ "numFound" ] | |
| 18 | expect(e xpected_to tal_items. to_s).to e q(total_it ems) | |
| 19 | end | |
| 20 | ||
| 21 | Then(/^the solar sea rch result s contains $/) do |ta ble| | |
| 22 | @json_ob ject = JSO N.parse(@r esponse.bo dy) | |
| 23 | result_a rray = @js on_object[ "response" ]["docs"] | |
| 24 | json_ver ify = Veri fyJsonRunt imeValue.n ew | |
| 25 | json_ver ify.verify _json_runt ime_vlaue( result_arr ay, table) | |
| 26 | end |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.