Sha256: 3bef61802e6be55daffaa72eac1b5d03f0c9f2849114bf8f0e489337bf14e692

Contents?: true

Size: 799 Bytes

Versions: 3

Compression:

Stored size: 799 Bytes

Contents

#
# Testing OpenWFE
#
# John Mettraux at openwfe.org
#
# Mon Oct  9 22:19:44 JST 2006
#

require 'flowtestbase'


class FlowTest2 < FlowTestBase

    #def setup
    #end

    #def teardown
    #end

    #def xxxx_con_0
    def test_con_0
        dotest(\
'''<process-definition name="con" revision="0">
    <concurrence>
        <print>a</print>
        <print>b</print>
    </concurrence>
</process-definition>''', [ '''a
b''', '''b
a''' ])
    end

    #def xxxx_con_1
    def test_con_1
        dotest(\
'''<process-definition name="con" revision="1">
    <concurrence
        count="1"
    >
        <print>a</print>
        <sequence>
            <sleep for="10s" />
            <print>b</print>
        </sequence>
    </concurrence>
</process-definition>''', "a", 0.1, false )
    end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
openwferu-0.9.2 test/ft_2_concurrence.rb
openwferu-0.9.3 test/ft_2_concurrence.rb
openwferu-0.9.4 test/ft_2_concurrence.rb