Sha256: 83be78bca387778631bcbf06b6fb3c00f46ddc4599905a64a882708da8ed3756
Contents?: true
Size: 979 Bytes
Versions: 1
Compression:
Stored size: 979 Bytes
Contents
# # Testing OpenWFEru # # John Mettraux at openwfe.org # # Sat Jan 5 22:57:53 JST 2008 # require 'flowtestbase' class FlowTest81 < Test::Unit::TestCase include FlowTestBase #def setup #end #def teardown #end # # Test 0 # class Def0 < OpenWFE::ProcessDefinition sequence do exp :name => "p0" exp :name => "sub0" exp :name => "sequence" do p0 sub0 end set :var => "a", :value => { "ref" => "p0" } exp :name => "participant", :variable_attributes => "a" exp :default => "p0" exp :name => " ", :default => "p0" end process_definition :name => "sub0" do _print "sub0" end end def test_0 @engine.register_participant :p0 do @tracer << "p0\n" end dotest Def0, %w{ p0 sub0 p0 sub0 p0 p0 p0 }.join("\n") end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ruote-0.9.18 | test/ft_81_exp.rb |