# # Testing OpenWFE # # John Mettraux at openwfe.org # # Mon Oct 9 22:19:44 JST 2006 # require 'flowtestbase' class FlowTest0 < Test::Unit::TestCase include FlowTestBase #def setup #end #def teardown #end def test_print dotest(\ ''' ok ''', "ok") end def test_dollar_notation_0 dotest(\ ''' ${x} ${v:x} ''', 'y y') end def test_dollar_notation_1 dotest(\ ''' ${f:x} ${field:x} ''', 'y y') end def test_dollar_notation_2 dotest(\ ''' ${f:x}X${field:x} ''', 'X') end def test_empty_pool dotest(\ ''' ok nok ''', "ok") end end