Sha256: 845ac49126b8075138c979aef7ef88a99a86426fe4654ed167c84a6bb537ddbc

Contents?: true

Size: 746 Bytes

Versions: 1

Compression:

Stored size: 746 Bytes

Contents

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

require 'flowtestbase'
require 'openwfe/def'


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

    #def setup
    #end

    #def teardown
    #end

    #
    # Test 0
    #

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

    def test_0

        dotest(
            TestDefinition0,
            "toto")
    end


    #
    # Test 1
    #

    def test_1

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

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ruote-0.9.18 test/ft_18_pname.rb