Sha256: 5817e27fb8e8d6d76410ef361c5d6c967d98bdf55f875f92d84f8a94746e53d0

Contents?: true

Size: 1.03 KB

Versions: 5

Compression:

Stored size: 1.03 KB

Contents

#
# Testing OpenWFE
#
# John Mettraux at openwfe.org
#
# Mon Oct  9 22:19:44 JST 2006
#

require 'openwfe/def'

require 'flowtestbase'


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

    #def teardown
    #end

    #def setup
    #end

    #
    # TEST 0

    class Test0 < ProcessDefinition
        sequence do
            subproc :forget => true
            _print "main done."
        end
        process_definition :name => :subproc do
            sequence do
                _print "sub done."
            end
        end
    end

    def test_0

        #log_level_to_debug

        dotest(Test0, "main done.\nsub done.", 0.600)
    end


    #
    # TEST 1

    class Test1 < ProcessDefinition
        sequence do
            subproc
            _print "main done."
        end
        process_definition :name => :subproc do
            sequence do
                _print "sub done."
            end
        end
    end

    def test_1

        #log_level_to_debug

        dotest(Test1, "sub done.\nmain done.")
    end

end

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
openwferu-0.9.14 test/ft_66_subforget.rb
openwferu-0.9.15 test/ft_66_subforget.rb
openwferu-0.9.16 test/ft_66_subforget.rb
openwferu-0.9.17 test/ft_66_subforget.rb
ruote-0.9.18 test/ft_66_subforget.rb