Sha256: 9dd3c224649093605e4bcb6b407b2846783357ba9268b56cd9459b0af68831c4

Contents?: true

Size: 1.02 KB

Versions: 13

Compression:

Stored size: 1.02 KB

Contents

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

require 'flowtestbase'


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

    #def setup
    #end

    #def teardown
    #end

    def test_fqv_0
        dotest(\
'''<process-definition name="n" revision="0">
    <sequence>
        <set variable="x"><q>y</q></set>
        <print>x is "${x}"</print>
    </sequence>
</process-definition>''', 
'x is "y"')
    end

    def test_fqv_1
        dotest(\
'''<process-definition name="n" revision="0">
    <sequence>
        <set variable="x0"><q>y0</q></set>
        <set variable="x1"><v>x0</v></set>
        <print>x1 is "${x1}"</print>
    </sequence>
</process-definition>''', 
'x1 is "y0"')
    end

    def test_fqv_2
        dotest(\
'''<process-definition name="n" revision="0">
    <sequence>
        <set field="x0"><q>y0</q></set>
        <set variable="x1"><f>x0</f></set>
        <print>x1 is "${x1}"</print>
    </sequence>
</process-definition>''', 
'x1 is "y0"')
    end

end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
openwferu-0.9.10 test/ft_16_fqv.rb
openwferu-0.9.10.653 test/ft_16_fqv.rb
openwferu-0.9.11 test/ft_16_fqv.rb
openwferu-0.9.12 test/ft_16_fqv.rb
openwferu-0.9.12.863 test/ft_16_fqv.rb
openwferu-0.9.13 test/ft_16_fqv.rb
openwferu-0.9.14 test/ft_16_fqv.rb
openwferu-0.9.15 test/ft_16_fqv.rb
openwferu-0.9.5 test/ft_16_fqv.rb
openwferu-0.9.6 test/ft_16_fqv.rb
openwferu-0.9.7 test/ft_16_fqv.rb
openwferu-0.9.8 test/ft_16_fqv.rb
openwferu-0.9.9 test/ft_16_fqv.rb