# _____ _ # |_ _|__ ___| |_ # | |/ _ \/ __| __| # | | __/\__ \ |_ # |_|\___||___/\__| # # for lib/facets/core/string/pathize.rb # # Extracted Tue Jul 25 10:07:15 EDT 2006 # Unit Tools Reap Test Extractor # require 'facets/core/string/pathize.rb' require 'test/unit' class TCString < Test::Unit::TestCase def test_pathize assert_equal( 'my_module/my_class', 'MyModule::MyClass'.pathize ) assert_equal( 'u_r_i', 'URI'.pathize ) assert_equal( '/my_class', '::MyClass'.pathize ) assert_equal( '/my_module/my_class/', '/my_module/my_class/'.pathize ) end end