* subversion/bindings/swig/python/libsvn_swig_py/swigutil_py.c
[svn.git] / subversion / bindings / swig / ruby / test / test_util.rb
blob8224f0c7cfd3ff03621beccd549361668b6b86a6
1 require "my-assertions"
3 require "svn/core"
4 require "svn/util"
6 class SvnUtilTest < Test::Unit::TestCase
8   def test_to_ruby_const_name
9     assert_equal("ABC", Svn::Util.to_ruby_const_name("abc"))
10     assert_equal("ABC_DEF", Svn::Util.to_ruby_const_name("abc_def"))
11   end
13   def test_to_ruby_class_name
14     assert_equal("Abc", Svn::Util.to_ruby_class_name("abc"))
15     assert_equal("AbcDef", Svn::Util.to_ruby_class_name("abc_def"))
16     assert_equal("AbcDef", Svn::Util.to_ruby_class_name("ABC_DEF"))
17   end
18 end