Sha256: 5dad1b1670b51ece36ec764cff1e0d01c672459b89448acd9ae20b6d2dd35d52
Contents?: true
Size: 1.23 KB
Versions: 3
Compression:
Stored size: 1.23 KB
Contents
# # Testing OpenWFE # # John Mettraux at openwfe.org # # Tue Jan 2 13:14:37 JST 2007 # require 'flowtestbase' require 'openwfe/expressions/raw_prog' class FlowTest12 < Test::Unit::TestCase include FlowTestBase #def setup #end #def teardown #end # # Test 0 # class BpDef0 < OpenWFE::ProcessDefinition def make process_definition :name => "test0", :revision => "0" do sequence do participant :ref => "block-participant" _print "done." end end end end def test_bp_0 dotest( BpDef0, """the block participant received a workitem done.""") end # # Test 1 # class BpDef1 < OpenWFE::ProcessDefinition def make process_definition :name => "test1", :revision => "0" do bp1a end end end def test_bp_1 @engine.register_participant("bp1a") do |fexp, wi| @tracer << "bp1a : " @tracer << fexp.class.name @tracer << "\n" end dotest( BpDef1, """bp1a : OpenWFE::ParticipantExpression""") end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
openwferu-0.9.5 | test/ft_12_blockparticipant.rb |
openwferu-0.9.6 | test/ft_12_blockparticipant.rb |
openwferu-0.9.7 | test/ft_12_blockparticipant.rb |