Sha256: 7288d9b0f7d5992e26bd74c8d4ebd30c992a9090c5c443c3bd3561e11eb046c3
Contents?: true
Size: 1.15 KB
Versions: 4
Compression:
Stored size: 1.15 KB
Contents
# # Testing OpenWFEru # # John Mettraux at openwfe.org # require 'flowtestbase' require 'pending' require 'openwfe/def' #require 'openwfe/participants/participants' include OpenWFE class FlowTest55 < Test::Unit::TestCase include FlowTestBase include PendingJobsMixin #def setup #end #def teardown #end # # Test 0 # class Test0 < ProcessDefinition sequence do concurrence :count => 1 do sequence do participant :ref => "channel_z", :timeout => "1s" _print "cancelled?" end _print "concurrence done" end end end #def xxxx_0 def test_0 @engine.register_participant :channel_z, NullParticipant #class << @engine.get_scheduler # attr_reader :pending_jobs #end # # having a look into the scheduler #require 'pp'; pp @engine.get_scheduler.pending_jobs assert_no_jobs_left dotest(Test0, "concurrence done") #require 'pp'; pp @engine.get_scheduler.pending_jobs assert_no_jobs_left end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
openwferu-0.9.11 | test/ft_55_ptimeout.rb |
openwferu-0.9.12 | test/ft_55_ptimeout.rb |
openwferu-0.9.12.863 | test/ft_55_ptimeout.rb |
openwferu-0.9.13 | test/ft_55_ptimeout.rb |