Sha256: 5dbd9ef111968a596c183a9d01a23f1c4437dfea08c8ed9e5fed02ce3e5fab5c

Contents?: true

Size: 797 Bytes

Versions: 8

Compression:

Stored size: 797 Bytes

Contents

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

require 'flowtestbase'
require 'openwfe/expressions/raw_prog'
require 'openwfe/participants/csvparticipants'

include OpenWFE



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

    #def setup
    #end

    #def teardown
    #end

    #
    # Test 0
    #

    class TestDefinition0 < ProcessDefinition
        def make
            process_definition :name => "rs0", :revision => "0" do
                cron :tab => "* * * * *", :name => "cron" do
                    participant :cron_event
                end
            end
        end
    end

    def test_0

        @engine.register_participant(:cron_event) do
            @tracer << "cron_event"
        end

        dotest(TestDefinition0, "", 62)
    end

end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
openwferu-0.9.10 test/ft_21_cron.rb
openwferu-0.9.10.653 test/ft_21_cron.rb
openwferu-0.9.11 test/ft_21_cron.rb
openwferu-0.9.12 test/ft_21_cron.rb
openwferu-0.9.6 test/ft_21_cron.rb
openwferu-0.9.7 test/ft_21_cron.rb
openwferu-0.9.8 test/ft_21_cron.rb
openwferu-0.9.9 test/ft_21_cron.rb