Sha256: a30f62c2ceef98c915bcbd12a0c99214906c4b3b0703ca93d3057f6034f61164

Contents?: true

Size: 771 Bytes

Versions: 2

Compression:

Stored size: 771 Bytes

Contents

#
# Testing OpenWFE
#
# John Mettraux at openwfe.org
#
# Tue Jan  2 13:14:37 JST 2007
#

require 'flowtestbase'
require 'openwfe/expressions/raw_prog'

include OpenWFE


class FlowTest18 < FlowTestBase

    #def setup
    #end

    #def teardown
    #end

    #
    # Test 0
    #

    class TestDefinition0 < ProcessDefinition
        def make
            _process_definition :name => "test0", :revision => "0" do
                p_toto
            end
        end
    end

    def test_0
    #def xxxx__0

        dotest(
            TestDefinition0,
            "toto")
    end


    #
    # Test 1
    #

    def test_1
    #def xxxx_1

        dotest(\
"""<process-definition name='test1' revision='0'>
    <p-toto/>
</process-definition>""", "toto")
    end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
openwferu-0.9.3 test/ft_18_pname.rb
openwferu-0.9.4 test/ft_18_pname.rb