Regenerate test files
[gitmo/Mouse.git] / t / 020_attributes / 016_attribute_traits_registered.t
index bb216f9..c34cb4e 100644 (file)
@@ -1,16 +1,17 @@
 #!/usr/bin/perl
+# This is automatically generated by author/import-moose-test.pl.
+# DO NOT EDIT THIS FILE. ANY CHANGES WILL BE LOST!!!
+use t::lib::MooseCompat;
 
 use strict;
 use warnings;
 
-use lib 't/lib';
-
-use Test::More tests => 23;
+use Test::More;
+$TODO = q{Mouse is not yet completed};
 use Test::Exception;
 use Test::Mouse;
 
 
-
 {
     package My::Attribute::Trait;
     use Mouse::Role;
@@ -89,10 +90,7 @@ does_ok($bar_attr, 'My::Attribute::Trait');
 is($bar_attr->foo, "blah", "attr initialized");
 
 ok(!$bar_attr->meta->does_role('Aliased'), "does_role ignores aliases for sanity");
-{
-local $TODO = 'aliased name is not supported';
 ok($bar_attr->does('Aliased'), "attr->does uses aliases");
-}
 ok(!$bar_attr->meta->does_role('Fictional'), "does_role returns false for nonexistent roles");
 ok(!$bar_attr->does('Fictional'), "attr->does returns false for nonexistent roles");
 
@@ -113,13 +111,11 @@ does_ok($derived_bar_attr, 'My::Other::Attribute::Trait' );
 is($derived_bar_attr->the_other_attr, "oink", "attr initialized" );
 
 ok(!$derived_bar_attr->meta->does_role('Aliased'), "does_role ignores aliases for sanity");
-{
-local $TODO = 'aliased name is not supported';
 ok($derived_bar_attr->does('Aliased'), "attr->does uses aliases");
-}
 ok(!$derived_bar_attr->meta->does_role('Fictional'), "does_role returns false for nonexistent roles");
 ok(!$derived_bar_attr->does('Fictional'), "attr->does returns false for nonexistent roles");
 
 can_ok($quux, 'additional_method');
 is(eval { $quux->additional_method }, 42, '... got the right value for additional_method');
 
+done_testing;