Sha256: e8c96a7085f95ea7956bb1ca393d98c0b74151f545d5aecd92654e7d35ff5864

Contents?: true

Size: 700 Bytes

Versions: 1

Compression:

Stored size: 700 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.300

        assert @engine.process_status(fei.wfid).errors.size > 0

        @engine.cancel_process fei

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