method

method_added

ruby latest stable - Class: Test::Unit::TestCase

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v2_1_10) is shown here.

method_added(name)
public

No documentation available.

# File lib/test/unit/testcase.rb, line 24
      def self.method_added(name)
        return unless name.to_s.start_with?("test_")
        @test_methods ||= {}
        if @test_methods[name]
          warn "test/unit warning: method #{ self }##{ name } is redefined"
        end
        @test_methods[name] = true
      end