test/fei_test.rb in openwferu-0.9.5 vs test/fei_test.rb in openwferu-0.9.6
- old
+ new
@@ -6,13 +6,14 @@
#
# Mon Oct 9 22:19:44 JST 2006
#
require 'test/unit'
+require 'rutest_utils'
require 'openwfe/workitem'
require 'openwfe/flowexpressionid'
-require 'openwfe/rudefinitions'
+#require 'openwfe/rudefinitions'
class FeiTest < Test::Unit::TestCase
#def setup
@@ -129,23 +130,9 @@
fei.parent_workflow_instance_id == "123456",
"failure 1"
end
protected
-
- 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'
- return fei
- end
def puts_hash (h)
puts
h.each do |k, v|
puts " * '#{k.to_debug_s}' --> '#{v}'"