#
# Testing OpenWFE
#
# John Mettraux at openwfe.org
#
# Mon Oct 9 22:19:44 JST 2006
#
require 'flowtestbase'
class FlowTest5 < Test::Unit::TestCase
include FlowTestBase
#def setup
#end
#def teardown
#end
def test_sleep_0
#def xxxx_sleep_0
dotest(\
'''
alpha
''', """alpha""", 3)
end
def test_sleep_1
#def xxxx_sleep_1
dotest(\
'''
alpha
bravo
''', """bravo
alpha""", 3)
end
def test_sleep_2
#def xxxx_sleep_2
dotest(\
'''
alpha
''', """alpha""", 5)
end
def test_sleep_3
#def xxxx_sleep_3
dotest(\
'''
alpha
''', "alpha", 1.5)
end
def test_sleep_4
#def xxxx_sleep_4
dotest(\
'''
alpha
''', "", 1, true)
end
end