Sha256: 84cd926221efd20299797b2d168c5c96805deeef24a88b06023a31d4083feefa

Contents?: true

Size: 723 Bytes

Versions: 1

Compression:

Stored size: 723 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 = @engine.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
openwferu-0.9.17 test/ft_69_cancelmissing.rb