test/fei_test.rb in openwferu-0.9.9 vs test/fei_test.rb in openwferu-0.9.10

- old
+ new

@@ -7,13 +7,14 @@ # Mon Oct 9 22:19:44 JST 2006 # require 'test/unit' require 'rutest_utils' +#require 'openwfe/owfe' require 'openwfe/workitem' require 'openwfe/flowexpressionid' -#require 'openwfe/rudefinitions' +require 'openwfe/rudefinitions' class FeiTest < Test::Unit::TestCase #def setup @@ -128,9 +129,19 @@ assert \ fei.parent_workflow_instance_id == "123456", "failure 1" end + + #def test_to_fei + # fei = new_fei + # wi = OpenWFE::InFlowItem.new + # wi.last_expression_id = fei + # assert_nil OpenWFE::to_fei(nil) + # assert_equal fei, OpenWFE::to_fei(fei) + # assert_equal fei, OpenWFE::to_fei(wi) + # assert_equal fei, OpenWFE::to_fei(fei.to_s) + #end protected def puts_hash (h) puts