Sha256: 33d585961d723d1e07e142eee92577ed6c4f5c7bda735f426d9cf54a81e5390b

Contents?: true

Size: 656 Bytes

Versions: 1

Compression:

Stored size: 656 Bytes

Contents

#
# Testing OpenWFEru
#
# John Mettraux at openwfe.org
#

require 'flowtestbase'
require 'openwfe/def'


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

  #def setup
  #end

  #def teardown
  #end


  #
  # Test 0
  #

  TEST0 = """
  class Test0 < OpenWFE::ProcessDefinition
    _print 'ok.'
  end
  """.strip

  def test_0

    launch TEST0
    sleep 0.350
    assert_equal "ok.", @tracer.to_s
  end


  #
  # Test 1
  #

  TEST1 = """
<process-definition name='65_1' revision='0.1'>
  <print>ok.</print>
</process-definition>
  """.strip

  def test_1

    launch TEST1

    sleep 0.350
    assert_equal "ok.", @tracer.to_s
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ruote-0.9.19 test/ft_65_stringlaunch.rb