Sha256: eba1a17ea01f22772533aa2a947a453d7fdca945f1660535c473efcbde635575

Contents?: true

Size: 728 Bytes

Versions: 1

Compression:

Stored size: 728 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.18 test/ft_65_stringlaunch.rb