diff options
Diffstat (limited to 't/lib/Moose/Meta')
-rw-r--r-- | t/lib/Moose/Meta/Attribute/Custom/Bar.pm | 10 | ||||
-rw-r--r-- | t/lib/Moose/Meta/Attribute/Custom/Foo.pm | 5 | ||||
-rw-r--r-- | t/lib/Moose/Meta/Attribute/Custom/Trait/Bar.pm | 10 | ||||
-rw-r--r-- | t/lib/Moose/Meta/Attribute/Custom/Trait/Foo.pm | 5 |
4 files changed, 30 insertions, 0 deletions
diff --git a/t/lib/Moose/Meta/Attribute/Custom/Bar.pm b/t/lib/Moose/Meta/Attribute/Custom/Bar.pm new file mode 100644 index 0000000..64dd230 --- /dev/null +++ b/t/lib/Moose/Meta/Attribute/Custom/Bar.pm @@ -0,0 +1,10 @@ +package Moose::Meta::Attribute::Custom::Bar; + +sub register_implementation { 'My::Bar' } + + +package My::Bar; + +use Moose::Role; + +1; diff --git a/t/lib/Moose/Meta/Attribute/Custom/Foo.pm b/t/lib/Moose/Meta/Attribute/Custom/Foo.pm new file mode 100644 index 0000000..49f7a01 --- /dev/null +++ b/t/lib/Moose/Meta/Attribute/Custom/Foo.pm @@ -0,0 +1,5 @@ +package Moose::Meta::Attribute::Custom::Foo; + +use Moose::Role; + +1; diff --git a/t/lib/Moose/Meta/Attribute/Custom/Trait/Bar.pm b/t/lib/Moose/Meta/Attribute/Custom/Trait/Bar.pm new file mode 100644 index 0000000..17412c1 --- /dev/null +++ b/t/lib/Moose/Meta/Attribute/Custom/Trait/Bar.pm @@ -0,0 +1,10 @@ +package Moose::Meta::Attribute::Custom::Trait::Bar; + +sub register_implementation { 'My::Trait::Bar' } + + +package My::Trait::Bar; + +use Moose::Role; + +1; diff --git a/t/lib/Moose/Meta/Attribute/Custom/Trait/Foo.pm b/t/lib/Moose/Meta/Attribute/Custom/Trait/Foo.pm new file mode 100644 index 0000000..682b61f --- /dev/null +++ b/t/lib/Moose/Meta/Attribute/Custom/Trait/Foo.pm @@ -0,0 +1,5 @@ +package Moose::Meta::Attribute::Custom::Trait::Foo; + +use Moose::Role; + +1; |