Sha256: 8bcaea997d5ac398733b757b159ea0e047b05d7f7f81d60fd08605a8dd4f9a45

Contents?: true

Size: 682 Bytes

Versions: 1

Compression:

Stored size: 682 Bytes

Contents

#
# Testing OpenWFE
#
# John Mettraux at openwfe.org
#
# Thu Sep 13 09:50:29 JST 2007
#

require 'rubygems'

require 'openwfe/def'

require 'flowtestbase'


class FlowTest69 < Test::Unit::TestCase
  include FlowTestBase

  #def teardown
  #end

  #def setup
  #end

  #
  # TEST 0

  class Test0 < OpenWFE::ProcessDefinition
    #__bravo
    participant :ref => "__bravo"
  end

  def test_0

    #log_level_to_debug

    fei = launch Test0

    sleep 0.350

    assert @engine.process_status(fei.wfid).errors.size == 1

    @engine.cancel_process fei

    sleep 0.100

    assert_nil @engine.process_status(fei.wfid)
    assert_equal ({}), @engine.list_process_status
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ruote-0.9.19 test/ft_69_cancelmissing.rb