Sha256: 50c357f61c1ed3fb3be3af2dd401750f26ba857d1be517cf1b31bbe8dfa38c90

Contents?: true

Size: 662 Bytes

Versions: 1

Compression:

Stored size: 662 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.19 test/ft_18_pname.rb