Docs, small fixes, find_method_by_name and the get_value/set_value abstraction for...
[gitmo/Class-MOP.git] / t / 014_attribute_introspection.t
index c51c953..56467d6 100644 (file)
@@ -3,7 +3,7 @@
 use strict;
 use warnings;
 
-use Test::More tests => 40;
+use Test::More tests => 48;
 use Test::Exception;
 
 BEGIN {
@@ -31,7 +31,11 @@ BEGIN {
         has_reader    reader
         has_predicate predicate
         has_init_arg  init_arg
-        has_default   default
+        has_default   default    is_default_a_coderef
+        
+        slots
+        get_value
+        set_value
         
         associated_class
         attach_to_class detach_from_class
@@ -41,6 +45,11 @@ BEGIN {
         generate_writer_method
         generate_predicate_method
         
+        generate_accessor_method_inline
+        generate_reader_method_inline
+        generate_writer_method_inline
+        generate_predicate_method_inline    
+        
         process_accessors
         install_accessors
         remove_accessors
@@ -75,4 +84,4 @@ BEGIN {
     # but that is getting a little excessive so I  
     # wont worry about it for now. Maybe if I get 
     # bored I will do it.
-}
\ No newline at end of file
+}