test/expmap_test.rb in ruote-0.9.18 vs test/expmap_test.rb in ruote-0.9.19
- old
+ new
@@ -14,41 +14,41 @@
# testing misc things
#
class ExpmapTest < Test::Unit::TestCase
- #def setup
- #end
+ #def setup
+ #end
- #def teardown
- #end
+ #def teardown
+ #end
- def test_expmap_0
+ def test_expmap_0
- em = OpenWFE::ExpressionMap.new
+ em = OpenWFE::ExpressionMap.new
- #puts em.to_s
+ #puts em.to_s
- assert_equal \
- em.get_class(:sequence),
- OpenWFE::SequenceExpression
+ assert_equal \
+ em.get_class(:sequence),
+ OpenWFE::SequenceExpression
- assert_equal \
- em.get_class(:sequence),
- em.get_class("sequence")
+ assert_equal \
+ em.get_class(:sequence),
+ em.get_class("sequence")
- assert_not_equal \
- em.get_class(:loop),
- em.get_class(:cursor)
+ assert_not_equal \
+ em.get_class(:loop),
+ em.get_class(:cursor)
- assert \
- em.get_class('process-definition') == OpenWFE::DefineExpression,
- "class of 'process-definition' should be DefineExpression"
- assert \
- em.is_definition?('process-definition'),
- "process-definition should be considered as a definition"
- assert \
- em.is_definition?(:process_definition),
- "process-definition should be considered as a definition (2)"
- end
+ assert \
+ em.get_class('process-definition') == OpenWFE::DefineExpression,
+ "class of 'process-definition' should be DefineExpression"
+ assert \
+ em.is_definition?('process-definition'),
+ "process-definition should be considered as a definition"
+ assert \
+ em.is_definition?(:process_definition),
+ "process-definition should be considered as a definition (2)"
+ end
end