# # Testing OpenWFEru # # John Mettraux at openwfe.org # require 'flowtestbase' require 'openwfe/expressions/raw_prog' require 'openwfe/participants/csvparticipant' include OpenWFE class FlowTest21 < FlowTestBase #def setup #end #def teardown #end # # Test 0 # class TestDefinition0 < ProcessDefinition def make process_definition :name => "rs0", :revision => "0" do cron :tab => "* * * * *", :name => "cron" do participant :cron_event end end end end def test_0 @engine.register_participant(:cron_event) do @tracer << "cron_event" end dotest(TestDefinition0, "", 62) end end