Sha256: 94b9e53d819ac5d0ea0e0a0c437abd6949fb3027f38f87734cb10cb58cc7dfe0
Contents?: true
Size: 1.07 KB
Versions: 5
Compression:
Stored size: 1.07 KB
Contents
# # Testing OpenWFEru # # John Mettraux at openwfe.org # require 'flowtestbase' require 'openwfe/expressions/raw_prog' include OpenWFE class FlowTest20 < Test::Unit::TestCase include 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
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
openwferu-0.9.12.863 | test/ft_20_cron.rb |
openwferu-0.9.13 | test/ft_20_cron.rb |
openwferu-0.9.14 | test/ft_20_cron.rb |
openwferu-0.9.15 | test/ft_20_cron.rb |
openwferu-0.9.16 | test/ft_20_cron.rb |