Sha256: cb4c16b901044b9517c4d785e4613bc2a13f8f799c655b3f901b8ed919190cb8
Contents?: true
Size: 1.36 KB
Versions: 1
Compression:
Stored size: 1.36 KB
Contents
# # Testing OpenWFE # # John Mettraux at openwfe.org # # Mon Oct 9 22:19:44 JST 2006 # require 'openwfe/def' require 'openwfe/workitem' require 'openwfe/worklist/storeparticipant' require 'flowtestbase' class FlowTest29 < Test::Unit::TestCase include FlowTestBase #def teardown #end #def setup #end DEFHOST = "http://openwferu.rubyforge.org/defs" # # TEST 0 #def xxxx_httprb_0 def test_httprb_0 li = OpenWFE::LaunchItem.new li.wfdurl = "#{DEFHOST}/testdef.rb" dotest( li, """a b c""") end # # TEST 1 class MainDefinition1 < OpenWFE::ProcessDefinition def make sequence do _print "A" subprocess :ref => "#{DEFHOST}/testdef.rb" _print "C" end end end #def xxxx_httprb_1 def test_httprb_1 dotest( MainDefinition1, """A a b c C""") end # # TEST 2 class MainDefinition2 < OpenWFE::ProcessDefinition def make sequence do _print "-1" subprocess :ref => "#{DEFHOST}/testdef.xml" _print "3" end end end #def xxxx_httprb_2 def test_httprb_2 dotest( MainDefinition2, """-1 0 1 2 3""") end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
openwferu-0.9.6 | test/ft_29_httprb.rb |