Sha256: 7f065ba1f853f007f9184df5bd33afe93dbd921ed7cd3c4c902485dd93f09b22
Contents?: true
Size: 1.09 KB
Versions: 1
Compression:
Stored size: 1.09 KB
Contents
# # Testing OpenWFEru # # John Mettraux at openwfe.org # require 'flowtestbase' require 'openwfe/expressions/raw_prog' require 'openwfe/participants/csvparticipant' include OpenWFE class FlowTest20 < FlowTestBase #def setup #end #def teardown #end # # Test 0 # class TestDefinition0 < ProcessDefinition def make process_definition :name => "rs0", :revision => "0" do concurrence do cron :tab => "* * * * *", :name => "cron" do participant :cron_event end sequence do _print "before" _sleep :for => "61s" _print "after" end end end end end def test_0 @engine.register_participant(:cron_event) do |fexp, wi| @tracer << "#{fexp.class.name}\n" end dotest( TestDefinition0, """before OpenWFE::ParticipantExpression after""", 62) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
openwferu-0.9.4 | test/ft_20_cron.rb |