Sha256: 5f512631f3d00134402e5510e771df0282958845be543134eb14fe3447140bac
Contents?: true
Size: 842 Bytes
Versions: 6
Compression:
Stored size: 842 Bytes
Contents
# # testing ruote # # Mon Sep 14 19:11:45 JST 2009 # require File.join(File.dirname(__FILE__), 'base') require 'ruote/part/no_op_participant' require 'ruote/part/null_participant' class FtNullNoopParticipantsTest < Test::Unit::TestCase include FunctionalBase def test_null_participant pdef = Ruote.process_definition :name => 'def0' do alpha end alpha = @engine.register_participant :alpha, Ruote::NullParticipant #noisy wfid = @engine.launch(pdef) wait_for(4) ps = @engine.process(wfid) assert_not_nil ps assert_equal [], ps.errors end def test_noop_participant pdef = Ruote.process_definition :name => 'def0' do alpha echo 'done.' end @engine.register_participant :alpha, Ruote::NoOpParticipant #noisy assert_trace "done.", pdef end end
Version data entries
6 entries across 6 versions & 2 rubygems