# # 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_0 #log_level_to_debug dotest( ''' ok ''', "ok") end def test_1 dotest( ''' ''', '') end def test_2 #log_level_to_debug dotest( ''' ${x} ${v:x} ''', 'y y') end def test_3 #log_level_to_debug dotest( ''' ${f:x} ${field:x} ''', 'y y') end def test_dollar_notation_2 dotest( ''' ${f:x}X${field:x} ''', 'X') end end