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\tests | vista_connection_test.rb | Tue Dec 15 14:05:18 2015 UTC |
| 2 | ehmp.zip\ehmp\ehmp\product\tests\vista-rpc-tests\rbVista\tests | vista_connection_test.rb | Tue Oct 3 14:50:54 2017 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 2 | 54 |
| Changed | 1 | 4 |
| 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 | require 't est/unit' | |
| 2 | require 's ocket' | |
| 3 | require '. ./vista_co nnection' | |
| 4 | ||
| 5 | class Vist aConnectio nTest < Te st::Unit:: TestCase | |
| 6 | ||
| 7 | def setu p | |
| 8 | @host = ' IP ' | |
| 9 | @port = PORT | |
| 10 | @cxn = VistaConn ection.new @host, @p ort | |
| 11 | end | |
| 12 | ||
| 13 | def test _my_ip_v6 | |
| 14 | ip = @ cxn.my_ip_ v6 | |
| 15 | assert _equal tru e, Addrinf o.tcp(ip, 0).ipv6? | |
| 16 | end | |
| 17 | ||
| 18 | def test _my_ip_v4 | |
| 19 | ip = @ cxn.my_ip_ v4 | |
| 20 | assert _equal tru e, Addrinf o.tcp(ip, 0).ipv4? | |
| 21 | end | |
| 22 | ||
| 23 | def test _connect_d isconnect | |
| 24 | @cxn.c onnect | |
| 25 | assert _equal tru e, @cxn.is _connected ? | |
| 26 | @cxn.d isconnect | |
| 27 | assert _equal fal se, @cxn.i s_connecte d? | |
| 28 | end | |
| 29 | end |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.