Sha256: fbf411eb33a432263a43cbd0784515d0451e3cb0ec627170e57fd03dbe66df12
Contents?: true
Size: 762 Bytes
Versions: 2
Compression:
Stored size: 762 Bytes
Contents
# # testing ruote # # Thu Dec 3 22:39:03 JST 2009 # require File.join(File.dirname(__FILE__), 'base') require 'ruote/part/storage_participant' class FtStorageParticipantTest < Test::Unit::TestCase include FunctionalBase def test_participant pdef = Ruote.process_definition :name => 'def0' do alpha end @engine.register_participant :alpha, Ruote::StorageParticipant #noisy wfid = @engine.launch(pdef) wait_for(:alpha) assert_equal 1, @engine.storage.get_many('workitems').size alpha = Ruote::StorageParticipant.new alpha.context = @engine.context wi = alpha.first assert_equal Ruote::Workitem, wi.class alpha.reply(wi) wait_for(wfid) assert_nil @engine.process(wfid) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ruote-2.1.2 | test/functional/ft_20_storage_participant.rb |
ruote-2.1.1 | test/functional/ft_20_storage_participant.rb |