1010. EPMO Open Source Coordination Office Redaction File Detail Report

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.

1010.1 Files compared

# Location File Last Modified
1 ehmp.zip\ehmp\ehmp\product\tests\vista-rpc-tests\rbVista\tests vista_rpc_test.rb Tue Dec 15 14:05:18 2015 UTC
2 ehmp.zip\ehmp\ehmp\product\tests\vista-rpc-tests\rbVista\tests vista_rpc_test.rb Tue Oct 3 14:51:28 2017 UTC

1010.2 Comparison summary

Description Between
Files 1 and 2
Text Blocks Lines
Unchanged 3 110
Changed 2 4
Inserted 0 0
Removed 0 0

1010.3 Comparison options

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

1010.4 Active regular expressions

No regular expressions were active.

1010.5 Comparison detail

  1   require 't est/unit'
  2   require '. ./vista_rp c'
  3   require '. ./rpc_para meter'
  4  
  5   class Vist aRpcTest <  Test::Uni t::TestCas e
  6  
  7     def test _disconnec t_rpc
  8       expect ed = "[XWB ]10304\x05 #BYE#\x04"
  9       actual  = VistaRp c.prepare( 'BYE')
  10       assert _equal exp ected, act ual
  11     end
  12  
  13     def test _connectio n_rpc
  14         expected =  "[XWB]103 04\x0ATCPC onnect5001 3192.168.1 .107f00010 f0022LAPTO P2.v11. DOMAIN \x04"
  15       params  = [
  16           Rp cParameter .new(RpcPa rameter::L ITERAL, '1 92.168.1.1 07'),
  17             RpcParamet er.new(Rpc Parameter: :LITERAL,  'LAPTOP2.v 11. DOMAIN ')
  18       ]
  19       actual  = VistaRp c.prepare( 'HELLO', p arams)
  20       assert _equal exp ected, act ual
  21     end
  22  
  23     def test _intro_mes sage_rpc
  24       expect ed = "[XWB ]11302\x05 1.108\x0DX US INTRO M SG54f\x04"
  25       actual  = VistaRp c.prepare( 'XUS INTRO  MSG')
  26       assert _equal exp ected, act ual
  27     end
  28  
  29     def test _setup_log in_rpc
  30       expect ed = "[XWB ]11302\x05 1.108\x10X US SIGNON  SETUP54f\x 04"
  31       actual  = VistaRp c.prepare( 'XUS SIGNO N SETUP')
  32       assert _equal exp ected, act ual
  33     end
  34  
  35     def test __login_rp c
  36       expect ed = "[XWB ]11302\x05 1.108\x0BX US AV CODE 50017.r v1 1k3}!r&sAg P$f\x04"
  37       param  = RpcParam eter.new(R pcParamete r::ENCRYPT ED, 'ijr77 3;Akiba12. ', [14,4])
  38       actual  = VistaRp c.prepare( 'XUS AV CO DE', [para m])
  39       assert _equal exp ected, act ual
  40     end
  41  
  42     def test _set_conte xt_rpc
  43       expect ed = "[XWB ]11302\x05 1.108\x12X WB CREATE  CONTEXT500 19(&y?#jy< ?x:=?#68y] .f\x04"
  44       param  = RpcParam eter.new(R pcParamete r::ENCRYPT ED, 'OR CP RS GUI CHA RT', [8,14 ])
  45       actual  = VistaRp c.prepare( 'XWB CREAT E CONTEXT' , [param])
  46       assert _equal exp ected, act ual
  47     end
  48  
  49     def test _get_varia ble_value_ rpc
  50       arg =  "$P($G(^DI C(3.1,1362 ,0)),U,1)"
  51       expect ed = "[XWB ]11302\x05 1.108\x16X WB GET VAR IABLE VALU E51028$P($ G(^DIC(3.1 ,1362,0)), U,1)f\x04"
  52       param  = RpcParam eter.new(R pcParamete r::REFEREN CE, arg)
  53       actual  = VistaRp c.prepare( 'XWB GET V ARIABLE VA LUE', [par am])
  54       assert _equal exp ected, act ual
  55     end
  56  
  57   end