test/rutest_utils.rb in openwferu-0.9.5 vs test/rutest_utils.rb in openwferu-0.9.6
- old
+ new
@@ -4,10 +4,13 @@
# John Mettraux at openwfe.org
#
# Mon Oct 9 22:19:44 JST 2006
#
+require 'openwfe/rudefinitions'
+
+
class Tracer
def initialize
super
@trace = ""
@@ -24,5 +27,18 @@
def clear
@trace = ""
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