Sha256: b623456b791ba837386c72d178e164ab50737c52aa1a90aec529d69eec7d027c
Contents?: true
Size: 1.06 KB
Versions: 2
Compression:
Stored size: 1.06 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 concurrence :count => 1 do sequence do participant :ref => "channel_z", :timeout => "1s" _print "cancelled?" end _print "concurrence done" end end def test_0 #scheduler = @engine.get_scheduler #class << scheduler # attr_reader :pending_jobs #end #log_level_to_debug @engine.register_participant :channel_z, NullParticipant #require 'pp'; pp(scheduler.pending_jobs) assert_no_jobs_left dotest(Test0, "concurrence done") #require 'pp'; pp(scheduler.pending_jobs) assert_no_jobs_left end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
openwferu-0.9.16 | test/ft_55_ptimeout.rb |
openwferu-0.9.17 | test/ft_55_ptimeout.rb |