adding the methods attribute
[gitmo/Class-MOP.git] / t / 010_self_introspection.t
index 24572a5..b102c2d 100644 (file)
@@ -3,7 +3,7 @@
 use strict;
 use warnings;
 
-use Test::More tests => 183;
+use Test::More tests => 189;
 use Test::Exception;
 
 BEGIN {
@@ -50,7 +50,9 @@ my @class_mop_module_methods = qw(
 my @class_mop_class_methods = qw(
     meta
     
-    initialize reinitialize create create_anon_class
+    initialize reinitialize create 
+    
+    create_anon_class is_anon_class
     
     instance_metaclass get_meta_instance
     new_object clone_object
@@ -62,7 +64,7 @@ my @class_mop_class_methods = qw(
     superclasses class_precedence_list
     
     has_method get_method add_method remove_method alias_method
-    get_method_list compute_all_applicable_methods 
+    get_method_list get_method_map compute_all_applicable_methods 
        find_method_by_name find_all_methods_by_name find_next_method_by_name
     
        add_before_method_modifier add_after_method_modifier add_around_method_modifier
@@ -141,6 +143,7 @@ my @class_mop_module_attributes = (
 );
 
 my @class_mop_class_attributes = (
+    '%:methods', 
     '%:attributes', 
     '$:attribute_metaclass', 
     '$:method_metaclass',