Sha256: bfe1a7885ccbe0f573fa830e9cb658fa6949b3982ec8314c0788c1f40d6a07bd
Contents?: true
Size: 1.06 KB
Versions: 2
Compression:
Stored size: 1.06 KB
Contents
# # Testing OpenWFE # # John Mettraux at openwfe.org # # Mon Oct 29 12:46:32 JST 2007 # require 'openwfe/def' #require 'openwfe/worklist/storeparticipant' require 'flowtestbase' class FlowTest59b < Test::Unit::TestCase include FlowTestBase #def setup #end #def teardown #end # # TEST 0 class Test0 < ProcessDefinition #_sleep :for => "10s" cron :tab => "* * * * *", :name => "//mario" do _print "nada" end end def test_0 fei = @engine.launch Test0 sleep 0.250 #puts @engine.list_process_status fei #puts #puts @engine.get_process_stack fei #puts @engine.get_process_stack(fei)[0].class.name #puts #puts @engine.process_status(fei).expressions[0].instance_variables #puts #puts @engine.process_status(fei).expressions[0].awakening_time #puts #puts @engine.process_status(fei).expressions[0].scheduler_job_id puts @engine.get_scheduler.inspect @engine.cancel_process fei end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
openwferu-0.9.16 | test/ft_59b_ps_for_pat.rb |
openwferu-0.9.17 | test/ft_59b_ps_for_pat.rb |