Sha256: d4ba774de42eff24919f7d9f2981e84f17c42f8c08d64180fa38c56a93ca640d

Contents?: true

Size: 700 Bytes

Versions: 2

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.200

        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

2 entries across 2 versions & 1 rubygems

Version Path
openwferu-0.9.14 test/ft_69_cancelmissing.rb
openwferu-0.9.15 test/ft_69_cancelmissing.rb