diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2012-06-27 09:44:54 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2012-06-27 09:44:54 +0200 |
commit | f5d31e6723182745c9e97b16192b42d84c52f3e0 (patch) | |
tree | 2bbb6487df504358db083b48845e05f0c4c0ec10 /test | |
parent | 4561c0f5fb01f06ed55b89c21c4c98813786abe8 (diff) | |
download | edoors-ruby-f5d31e6723182745c9e97b16192b42d84c52f3e0.zip edoors-ruby-f5d31e6723182745c9e97b16192b42d84c52f3e0.tar.gz |
update test_iotas to reflect API updates
Diffstat (limited to 'test')
-rw-r--r-- | test/test_iotas.rb | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/test/test_iotas.rb b/test/test_iotas.rb index 59c9552..333d514 100644 --- a/test/test_iotas.rb +++ b/test/test_iotas.rb @@ -136,7 +136,7 @@ class OutputDoor < Edoors::Door # end # -spin = Edoors::Spin.new 'dom0', :debug_routing=>false, :debug_errors=>true +spin = Edoors::Spin.new 'dom0', :debug_routing=>false, :debug_garbage=>true # room0 = Edoors::Room.new 'room0', spin room1 = Edoors::Room.new 'room1', spin @@ -148,14 +148,13 @@ input1 = InputDoor.new 'input1', room1 output1 = OutputDoor.new 'output1', room1, true concat1 = ConcatBoard.new 'concat1', room1 # -room0.add_link Edoors::Link.new('input0', 'output0', nil, nil, nil) +room0.add_link Edoors::Link.new('input0', 'output0', nil, nil) # p0 = spin.require_p Edoors::Particle p0.set_data Edoors::LNK_SRC, 'input1' -p0.set_data Edoors::LNK_DSTS, 'concat1?follow,output1' -p0.set_data Edoors::LNK_FIELDS, 'f0,f2' -p0.set_data Edoors::LNK_CONDF, 'f0,f1,f2' -p0.set_data Edoors::LNK_CONDV, 'v0v1v2' +p0.set_data Edoors::LNK_DSTS, ['concat1?follow','output1'] +p0.set_data Edoors::LNK_KEYS, ['f0','f2'] +p0.set_data Edoors::LNK_VALUE, {'f0'=>'v0','f1'=>'v1','f2'=>'v2'} p0.add_dst Edoors::SYS_ACT_ADD_LINK, room1.path room1.send_sys_p p0 # send_sys_p -> room0 -> spin -> room1 -> input1 # |