Sha256: fe127a543cd6b00354cd9d24c15002334591c9d89ca7cd33baacf37c7d8775c8
Contents?: true
Size: 1.53 KB
Versions: 3
Compression:
Stored size: 1.53 KB
Contents
# # Testing OpenWFE # # John Mettraux at openwfe.org # # Mon Oct 9 22:19:44 JST 2006 # require 'flowtestbase' class FlowTest5 < FlowTestBase #def setup #end #def teardown #end def test_sleep_0 #def xxxx_sleep_0 dotest(\ '''<process-definition name="sleep_0" revision="0"> <sequence> <sleep for="2s" /> <print>alpha</print> </sequence> </process-definition>''', """alpha""", 3) end def test_sleep_1 #def xxxx_sleep_1 dotest(\ '''<process-definition name="sleep_1" revision="0"> <concurrence> <sequence> <sleep for="2s" /> <print>alpha</print> </sequence> <print>bravo</print> </concurrence> </process-definition>''', """bravo alpha""", 3) end def test_sleep_2 #def xxxx_sleep_2 dotest(\ '''<process-definition name="sleep_2" revision="0"> <sequence> <sleep until="${ruby:Time.new() + 4}" /> <print>alpha</print> </sequence> </process-definition>''', """alpha""", 5) end def test_sleep_3 #def xxxx_sleep_3 dotest(\ '''<process-definition name="sleep_3" revision="0"> <sequence> <sleep for="900" /> <print>alpha</print> </sequence> </process-definition>''', "alpha", 1.5) end def test_sleep_4 #def xxxx_sleep_4 dotest(\ '''<process-definition name="sleep_4" revision="0"> <sequence> <sleep for="1100" /> <print>alpha</print> </sequence> </process-definition>''', "", 1, true) end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
openwferu-0.9.2 | test/ft_5_time.rb |
openwferu-0.9.3 | test/ft_5_time.rb |
openwferu-0.9.4 | test/ft_5_time.rb |