Sha256: 69e536ef8f126e474b6d50c452e0c370003700d890305e3c0148100ae532cbbd

Contents?: true

Size: 714 Bytes

Versions: 1

Compression:

Stored size: 714 Bytes

Contents

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

require 'openwfe/def'

require 'flowtestbase'


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

    #def teardown
    #end

    #def setup
    #end

    #
    # TEST 0

    class Test0 < 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 > 0

        @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.18 test/ft_69_cancelmissing.rb