Sha256: 55f2c58f0135fbc6b55ce4a70fec174f4069216789b5591abdd762db7579fde4

Contents?: true

Size: 1.01 KB

Versions: 13

Compression:

Stored size: 1.01 KB

Contents

#
# Testing OpenWFE
#
# John Mettraux at openwfe.org
#
# Tue Jan  2 13:14:37 JST 2007
#

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


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

    #def setup
    #end

    #def teardown
    #end

    #
    # Test 0
    #

    class TestDefinition0 < OpenWFE::ProcessDefinition
        def make
            process_definition :name => "test0", :revision => "0" do
                sequence do
                    set :field => 'email_target' do
                        "whatever56x56@gmail.com"
                    end
                    set :field => 'customer_name' do
                        "Monsieur Toto"
                    end
                    participant :ref => 'eno'
                    _print "ok"
                end
            end
        end
    end

    def test_ppd_0
        dotest(
            TestDefinition0,
            "ok")
    end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
openwferu-0.9.15 test/ft_13_eno.rb
openwferu-0.9.10 test/ft_13_eno.rb
openwferu-0.9.10.653 test/ft_13_eno.rb
openwferu-0.9.11 test/ft_13_eno.rb
openwferu-0.9.12 test/ft_13_eno.rb
openwferu-0.9.12.863 test/ft_13_eno.rb
openwferu-0.9.13 test/ft_13_eno.rb
openwferu-0.9.14 test/ft_13_eno.rb
openwferu-0.9.9 test/ft_13_eno.rb
openwferu-0.9.16 test/ft_13_eno.rb
openwferu-0.9.6 test/ft_13_eno.rb
openwferu-0.9.8 test/ft_13_eno.rb
openwferu-0.9.7 test/ft_13_eno.rb