Sha256: 1492b596fafbf50575a640afd5d0c398733016070d7dfefccc8bf8e4cd62dfcb

Contents?: true

Size: 758 Bytes

Versions: 2

Compression:

Stored size: 758 Bytes

Contents

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

require 'flowtestbase'
require 'openwfe/expressions/raw_prog'

include OpenWFE



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

    #def setup
    #end

    #def teardown
    #end

    #
    # Test 0
    #

    class TestDefinition0 < ProcessDefinition
        def make
            process_definition :name => "23b_when0", :revision => "0" do
                concurrence do
                    _when :test => "false == true", :timeout => "10s" do
                        _print "la vaca vuela"
                    end
                    _print "ok"
                end
            end
        end
    end

    def test_0
        dotest(TestDefinition0, "ok", 23)
    end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
openwferu-0.9.5 test/ft_23b_when.rb
openwferu-0.9.6 test/ft_23b_when.rb