#
# Testing OpenWFE
#
# John Mettraux at openwfe.org
#
# Mon Dec 25 14:27:48 JST 2006
#
require 'flowtestbase'
class FlowTest7 < FlowTestBase
#def setup
#end
#def teardown
#end
def test_lose_0
#def xxxx_lose_0
dotest(\
'
I should not be printed
ok 0
- - -
ok 1
ok 2
v0 : ${v0}
ok 3
- - -
ok 4
ok 5
v1 : ${v1}
ok 6
done.
''',
"""ok 0
- - -
ok 1
ok 2
v0 : true
ok 3
- - -
ok 5
v1 :
done.""",
3,
true)
end
def test_lose_1
#def xxxx_lose_1
dotest(\
'
a
b
c
''',
"""b
c""",
0.1,
true)
end
end