#
# Testing OpenWFE
#
# John Mettraux at openwfe.org
#
# Mon Oct 9 22:19:44 JST 2006
#
require 'flowtestbase'
class FlowTest0 < FlowTestBase
#def setup
#end
#def teardown
#end
def test_print
dotest(\
'''
ok
''', "ok")
end
def test_participant
dotest(\
'''
''', "test-alpha")
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
end