Sha256: f85b6f35492f78a58c287b62ec03d99e86715a1ace01621accae43bbc225f51a

Contents?: true

Size: 809 Bytes

Versions: 2

Compression:

Stored size: 809 Bytes

Contents

#
# Testing OpenWFE
#
# John Mettraux at openwfe.org
#
# Mon Jul  9 10:25:18 JST 2007
#

require 'openwfe/def'
require 'flowtestbase'


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

    #def teardown
    #end

    #def setup
    #end

    #
    # TEST 0

    class EngineLevelProcessDefinition < OpenWFE::ProcessDefinition
        sequence do
        end
        process_definition :name => "//elsub" do
            _print "nada"
        end
    end

    class TestDefinition0 < OpenWFE::ProcessDefinition
        elsub
        #subprocess :ref => "//elsub"
    end

    def test_0

        $OWFE_LOG.level = Logger::DEBUG

        engine.launch EngineLevelProcessDefinition
        sleep 0.700
        dotest TestDefinition0, "nada"

        $OWFE_LOG.level = Logger::INFO
    end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
openwferu-0.9.12.863 test/ft_61_elsub.rb
openwferu-0.9.13 test/ft_61_elsub.rb