convert_class_name (ZenTest)

    # File lib/zentest.rb, line 187
      def convert_class_name(name)
        name = name.to_s

        if self.is_test_class(name) then
          if $r then
            name = name.gsub(/Test($|::)/, '\1') # FooTest::BlahTest => Foo::Blah
          else
            name = name.gsub(/(^|::)Test/, '\1') # TestFoo::TestBlah => Foo::Blah
          end
        else
          if $r then
            name = name.gsub(/($|::)/, 'Test\1') # Foo::Blah => FooTest::BlahTest
          else
            name = name.gsub(/(^|::)/, '\1Test') # Foo::Blah => TestFoo::TestBlah
          end
        end

        return name
      end