Sha256: c93cfb0c64863faf3358747e905adad91bdb07307b4c4e42cdab1e4be68e445e
Contents?: true
Size: 818 Bytes
Versions: 3
Compression:
Stored size: 818 Bytes
Contents
# # Testing Ruote (OpenWFEru) # # Mon Jun 15 12:58:12 JST 2009 # require File.join(File.dirname(__FILE__), 'base') require 'ruote/part/hash_participant' class EftRedoTest < Test::Unit::TestCase include FunctionalBase def test_redo pdef = Ruote.process_definition do sequence :tag => 'seq' do alpha _redo :ref => 'seq' end end alpha = @engine.register_participant :alpha, Ruote::HashParticipant.new #noisy wfid = @engine.launch(pdef) wait_for(:alpha) alpha.reply(alpha.first) wait_for(:alpha) alpha.reply(alpha.first) wait_for(:alpha) ps = @engine.process(wfid) assert_equal 0, ps.errors.size assert_equal 3, ps.expressions.size assert_equal 3, logger.log.select { |e| e['action'] == 'entered_tag' }.size end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
ruote-2.1.3 | test/functional/eft_9_redo.rb |
ruote-2.1.2 | test/functional/eft_9_redo.rb |
ruote-2.1.1 | test/functional/eft_9_redo.rb |