test/ft_17_condition.rb in openwferu-0.9.16 vs test/ft_17_condition.rb in openwferu-0.9.17
- old
+ new
@@ -18,29 +18,29 @@
#def teardown
#end
def test_condition_0
- dotest(\
+ dotest(
'''<process-definition name="con" revision="0">
<if test="a == a">
<print>ok</print>
</if>
</process-definition>''', "ok")
end
def test_condition_1
- dotest(\
+ dotest(
'''<process-definition name="con" revision="0">
<if test="a == b">
<print>ok</print>
</if>
</process-definition>''', "")
end
def test_condition_2
- dotest(\
+ dotest(
'''<process-definition name="con" revision="0">
<sequence>
<set field="toto" value="nada" />
<if test="${f:toto} == nada">
<print>ok</print>
@@ -48,11 +48,11 @@
</sequence>
</process-definition>''', "ok")
end
def test_condition_3
- dotest(\
+ dotest(
'''<process-definition name="con" revision="0">
<sequence>
<set field="toto" value="true" />
<if test="${f:toto}">
<print>ok</print>
@@ -60,19 +60,19 @@
</sequence>
</process-definition>''', "ok")
end
def test_condition_4
- dotest(\
+ dotest(
'''<process-definition name="con" revision="0">
<if rtest="1+2 == 3">
<print>ok</print>
</if>
</process-definition>''', "ok")
end
def test_condition_5
- dotest(\
+ dotest(
'''<process-definition name="con" revision="0">
<if test="1+2 == 3">
<print>ok</print>
<print>nok</print>
</if>