Sha256: 21e1fe61273d1c250800b8fe4f3a7a49bef1275cd0753bace031bbda1abe9fb2

Contents?: true

Size: 845 Bytes

Versions: 7

Compression:

Stored size: 845 Bytes

Contents

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

require 'openwfe/version'
#require 'openwfe/rudefinitions'


class Tracer

    def initialize
        super
        @trace = ""
    end

    def to_s
        @trace.to_s.strip
    end

    def << s
        @trace << s
    end

    def clear
        @trace = ""
    end

    def puts s
        @trace << "#{s}\n"
    end
end

def new_fei ()
    fei = OpenWFE::FlowExpressionId.new()
    fei.owfe_version = OpenWFE::OPENWFERU_VERSION
    fei.engine_id = 'this'
    fei.initial_engine_id = 'that'
    fei.workflow_definition_url = 'http://test/test.xml'
    fei.workflow_definition_name = 'test'
    fei.workflow_definition_revision = '1.0'
    fei.workflow_instance_id = '123456'
    fei.expression_name = 'do-test'
    fei.expression_id = '0.0'
    fei
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
openwferu-0.9.10 test/rutest_utils.rb
openwferu-0.9.10.653 test/rutest_utils.rb
openwferu-0.9.11 test/rutest_utils.rb
openwferu-0.9.12 test/rutest_utils.rb
openwferu-0.9.12.863 test/rutest_utils.rb
openwferu-0.9.13 test/rutest_utils.rb
openwferu-0.9.9 test/rutest_utils.rb