Sha256: 39a416d1d2835ef3cb979437eea5b0425ceeb32977bdc4874a9f0998c2193272
Contents?: true
Size: 1.04 KB
Versions: 1
Compression:
Stored size: 1.04 KB
Contents
# # Testing OpenWFEru # # John Mettraux at openwfe.org # # Sat Jan 5 22:57:53 JST 2008 # require 'flowtestbase' #require 'openwfe/def' #require 'openwfe/worklist/storeparticipant' #include OpenWFE 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 |
---|---|
openwferu-0.9.17 | test/ft_81_exp.rb |