test/ft_18_pname.rb in ruote-0.9.18 vs test/ft_18_pname.rb in ruote-0.9.19
- old
+ new
@@ -10,47 +10,47 @@
require 'flowtestbase'
require 'openwfe/def'
class FlowTest18 < Test::Unit::TestCase
- include FlowTestBase
+ include FlowTestBase
- #def setup
- #end
+ #def setup
+ #end
- #def teardown
- #end
+ #def teardown
+ #end
- #
- # Test 0
- #
+ #
+ # Test 0
+ #
- class TestDefinition0 < OpenWFE::ProcessDefinition
- def make
- _process_definition :name => "test0", :revision => "0" do
- p_toto
- end
- end
+ class TestDefinition0 < OpenWFE::ProcessDefinition
+ def make
+ _process_definition :name => "test0", :revision => "0" do
+ p_toto
+ end
end
+ end
- def test_0
+ def test_0
- dotest(
- TestDefinition0,
- "toto")
- end
+ dotest(
+ TestDefinition0,
+ "toto")
+ end
- #
- # Test 1
- #
+ #
+ # Test 1
+ #
- def test_1
+ def test_1
- dotest(\
+ dotest(\
"""<process-definition name='test1' revision='0'>
- <p-toto/>
+ <p-toto/>
</process-definition>""", "toto")
- end
+ end
end