Sha256: 074e3b4257f59138ee2bac670fe2361e71c230bbddd96600307ee80238e8243a
Contents?: true
Size: 1.99 KB
Versions: 4
Compression:
Stored size: 1.99 KB
Contents
# # Testing OpenWFE # # John Mettraux at openwfe.org # # Tue Jan 2 13:14:37 JST 2007 # require 'flowtestbase' class FlowTest9 < Test::Unit::TestCase include FlowTestBase #def setup #end #def teardown #end def test_cursor_0 dotest(\ '<process-definition name="'+name_of_test+'''" revision="0"> <cursor> <print>a</print> <print>b</print> </cursor> </process-definition>''', """a b""") end def test_cursor_1 dotest(\ '<process-definition name="'+name_of_test+'''" revision="0"> <cursor> <print>a</print> <print>b</print> <cancel /> <print>c</print> </cursor> </process-definition>''', """a b""") end def test_cursor_2 dotest(\ '<process-definition name="'+name_of_test+'''" revision="0"> <cursor> <print>a</print> <print>b</print> <skip step="2" /> <print>c</print> </cursor> </process-definition>''', """a b""") end def test_cursor_2b # # ZigZag test # dotest(\ '<process-definition name="'+name_of_test+'''" revision="0"> <cursor> <print>a</print> <skip step="3" /> <print>b</print> <skip step="2" /> <back step="2"/> <print>c</print> </cursor> </process-definition>''', """a b c""") end def test_cursor_3 dotest(\ '<process-definition name="'+name_of_test+'''" revision="0"> <cursor> <print>a</print> <skip step="2" /> <print>b</print> <print>c</print> </cursor> </process-definition>''', """a c""") end def test_cursor_4 dotest(\ '<process-definition name="'+name_of_test+'''" revision="0"> <sequence> <cursor> <print>a</print> <set field="__cursor_command__" value="skip 2" /> <print>b</print> <print>c</print> </cursor> <print>d</print> </sequence> </process-definition>''', """a c d""") end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
openwferu-0.9.5 | test/ft_9_cursor.rb |
openwferu-0.9.6 | test/ft_9_cursor.rb |
openwferu-0.9.7 | test/ft_9_cursor.rb |
openwferu-0.9.8 | test/ft_9_cursor.rb |