Sha256: 78171c5beab5d2730deb29dda1164afd6dcf21fe6cde2005d6199ae8264bba69
Contents?: true
Size: 921 Bytes
Versions: 2
Compression:
Stored size: 921 Bytes
Contents
# # Testing OpenWFE # # John Mettraux at openwfe.org # # Thu Sep 13 17:46:20 JST 2007 # require 'openwfe/def' require 'flowtestbase' class FlowTest70 < Test::Unit::TestCase include FlowTestBase #def teardown #end #def setup #end # # TEST 0 class Test0 < ProcessDefinition sequence do set :v => "//topvar", :val => "top" set :v => "localvar", :val => "local" toto end end def test_0 #log_level_to_debug @engine.register_participant "toto", NullParticipant fei = @engine.launch(Test0) sleep 0.100 assert_equal @engine.lookup_variable("topvar"), "top" assert_equal @engine.lookup_variable("topvar", fei.wfid), "top" assert_equal @engine.lookup_variable("localvar", fei.wfid), "local" @engine.cancel_process(fei.wfid) sleep 0.100 end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
openwferu-0.9.14 | test/ft_70_lookupvar.rb |
openwferu-0.9.15 | test/ft_70_lookupvar.rb |