Sha256: d3891e6b5c49491af9576914db3114ba62a1b4ee5c3209ebc459ddaff4b1834a
Contents?: true
Size: 1 KB
Versions: 11
Compression:
Stored size: 1 KB
Contents
# # Testing OpenWFE # # John Mettraux at openwfe.org # # Mon Oct 9 22:19:44 JST 2006 # require 'openwfe/def' require 'flowtestbase' class FlowTest2c < Test::Unit::TestCase include FlowTestBase #def setup #end #def teardown #end #def xxxx_con_0 def test_con_0 dotest( '''<process-definition name="con" revision="0"> <concurrence> <print>a</print> <print>b</print> </concurrence> </process-definition>''', [ '''a b''', '''b a''' ]) end # # TEST 1 class TestCon2c1 < OpenWFE::ProcessDefinition sequence do concurrence :count => "1", :remaining => "forget" do _print "a" sequence do _sleep "500" _print "b" end end _print "c" end end def test_con_1 dotest( TestCon2c1, "a\nc\nb", 2) end end
Version data entries
11 entries across 11 versions & 2 rubygems