Sha256: a54f5b8f18df31f74264b7c169f3a4180c98362bbc25cda747b40e4443c684d4

Contents?: true

Size: 750 Bytes

Versions: 1

Compression:

Stored size: 750 Bytes

Contents

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

require 'flowtestbase'
require 'openwfe/def'

include OpenWFE


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

    #def setup
    #end

    #def teardown
    #end


    #
    # Test 0
    #

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

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


    #
    # Test 1
    #

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

    def test_1

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

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
openwferu-0.9.17 test/ft_65_stringlaunch.rb