Produced by Araxis Merge on 10/3/2017 11:16:08 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\vista-rpc-tests\rbVista\runs | vista_select_runs.rb | Tue Dec 15 14:05:18 2015 UTC |
| 2 | ehmp.zip\ehmp\ehmp\product\tests\vista-rpc-tests\rbVista\runs | vista_select_runs.rb | Tue Oct 3 14:50:36 2017 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 3 | 162 |
| Changed | 2 | 8 |
| 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 '../.. /../../vis ta-rpc-tes ts/rbVista ', __FILE_ _ | |
| 4 | $LOAD_PATH .unshift p ath unless $LOAD_PAT H.include? (path) | |
| 5 | ||
| 6 | require 't est/unit' | |
| 7 | ||
| 8 | require 'r pc_paramet er' | |
| 9 | require 'v ista_rpc.r b' | |
| 10 | require 'v ista_conne ction' | |
| 11 | ||
| 12 | require 'v ista_user' | |
| 13 | # require 'vista_sel ect.rb' | |
| 14 | ||
| 15 | class Vist aSelectRun s < Test:: Unit::Test Case | |
| 16 | ||
| 17 | def setu p | |
| 18 | @host = ' IP ' | |
| 19 | @port = PORT | |
| 20 | @cxn = VistaConn ection.new @host, @p ort | |
| 21 | @user = VistaUse r.new | |
| 22 | p '--- ---------- ' | |
| 23 | p @cxn | |
| 24 | p @use r | |
| 25 | p '--- ---------- ' | |
| 26 | end | |
| 27 | ||
| 28 | def test_f ms_run | |
| 29 | # quer y = VistaS elect.new | |
| 30 | # quer y.file = ' 410' | |
| 31 | # quer y.fields = '.01;1;24 ;23;22' | |
| 32 | # quer y.number = 200 | |
| 33 | # quer y.from = ' 178' | |
| 34 | # quer y.part = ' 178' | |
| 35 | # quer y.index = 'AN' | |
| 36 | access_cod e = ' REDACT ' | |
| 37 | verify_cod e = ' REDACTED ' | |
| 38 | contex t = 'XUPRO GMODE' | |
| 39 | sensit ivePatient = "20" | |
| 40 | ||
| 41 | @cxn.c onnect | |
| 42 | client = @user.l ogin @cxn, access_co de, verify _code, con text | |
| 43 | p client | |
| 44 | ||
| 45 | # @cxn .exec(comm and) | |
| 46 | ||
| 47 | # rs = query.fin d (@cxn) | |
| 48 | # @cxn .disconnec t | |
| 49 | # asse rt_equal 5 6, rs.leng th | |
| 50 | end | |
| 51 | ||
| 52 | # def te st_simple_ run | |
| 53 | # query = DdrList er.new | |
| 54 | # query .file_numb er = '200' | |
| 55 | # query .file_name = 'Person ' | |
| 56 | # query .fields = { | |
| 57 | # ' .01' => 'N ame', | |
| 58 | # ' 2' => 'Acc ess Code', | |
| 59 | # ' 4' => 'Gen der', | |
| 60 | # ' 5' => 'DOB ', | |
| 61 | # ' .141' => ' Room #', | |
| 62 | # ' 8' => 'Tit le', | |
| 63 | # ' 9' => 'SSN ', | |
| 64 | # ' 11' => 'Ve rify Code' , | |
| 65 | # ' 29' => 'Se rvice' | |
| 66 | # } | |
| 67 | # query .number = 1 | |
| 68 | # query .from = '5 46' | |
| 69 | # | |
| 70 | # expec ted = [ | |
| 71 | # [ '546','ZZP ROGRAMMER, NINE',"@Jy $9BO'9iCm# :x*p:'E",' F','','',' 2','666948 848',"tHff xTgZ)<4~.7 `EUx}j",'1 043'] | |
| 72 | # ] | |
| 73 | # | |
| 74 | # @cxn. connect | |
| 75 | # greet ing = @use r.login @c xn, '1prog rammer', ' programmer 1.', 'DVBA CAPRI GUI ' | |
| 76 | # | |
| 77 | # rs = query.find (@cxn) | |
| 78 | # @cxn. disconnect | |
| 79 | # asser t_equal ex pected, rs | |
| 80 | # asser t_equal ex pected, qu ery.record s | |
| 81 | # end | |
| 82 | ||
| 83 | ||
| 84 | ||
| 85 | end |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.