Sha256: 6eafeddc2733474ee11706f84640010c1b483e1ec6cfdeb4c1bcc48c0b9c3ecc

Contents?: true

Size: 723 Bytes

Versions: 1

Compression:

Stored size: 723 Bytes

Contents

#  _____         _
# |_   _|__  ___| |_
#   | |/ _ \/ __| __|
#   | |  __/\__ \ |_
#   |_|\___||___/\__|
#
# for lib/facets/more/methodfilter.rb
#
# Extracted Wed Aug 23 18:22:52 EDT 2006
# Unit Tools Reap Test Extractor
#

require 'facets/more/methodfilter.rb'


  require 'test/unit'

  class TestMethodFilter1 < Test::Unit::TestCase

    class X
      private_filter //
      def foo ; end
      def method_missing(name,*args)
        name
      end
    end

    def test_1_01
      x = X.new
      assert_equal( :class, x.class )
    end

    def test_1_02
      x = X.new
      assert_not_equal( :object_id, x.object_id )
    end

    def test_1_02
      x = X.new
      assert( x.respond_to?(:foo) )
    end

  end


Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
facets-1.7.30 test/lib/facets/more/test_methodfilter.rb