Sha256: 61e652d285294dfbd1a9bb4f9debb16d776a2ec8857cfd7c6769d455ac8a16b4

Contents?: true

Size: 804 Bytes

Versions: 14

Compression:

Stored size: 804 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 < Test::Unit::TestCase
    include 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

14 entries across 14 versions & 1 rubygems

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