diff options
Diffstat (limited to 't/lib/conflicts')
-rw-r--r-- | t/lib/conflicts/Bar.pm | 7 | ||||
-rw-r--r-- | t/lib/conflicts/Bar/Conflicts/Bad.pm | 13 | ||||
-rw-r--r-- | t/lib/conflicts/Bar/Conflicts/Bad2.pm | 13 | ||||
-rw-r--r-- | t/lib/conflicts/Bar/Conflicts/Bad3.pm | 10 | ||||
-rw-r--r-- | t/lib/conflicts/Bar/Conflicts/Good.pm | 13 | ||||
-rw-r--r-- | t/lib/conflicts/Bar/Conflicts/Good2.pm | 13 | ||||
-rw-r--r-- | t/lib/conflicts/Bar/Conflicts/Good3.pm | 10 | ||||
-rw-r--r-- | t/lib/conflicts/Bar/Three.pm | 7 | ||||
-rw-r--r-- | t/lib/conflicts/Bar/Two.pm | 7 | ||||
-rw-r--r-- | t/lib/conflicts/Broken.pm | 3 | ||||
-rw-r--r-- | t/lib/conflicts/Foo.pm | 7 | ||||
-rw-r--r-- | t/lib/conflicts/Foo/Conflicts/Bad.pm | 12 | ||||
-rw-r--r-- | t/lib/conflicts/Foo/Conflicts/Broken.pm | 11 | ||||
-rw-r--r-- | t/lib/conflicts/Foo/Conflicts/Good.pm | 13 | ||||
-rw-r--r-- | t/lib/conflicts/Foo/Three.pm | 7 | ||||
-rw-r--r-- | t/lib/conflicts/Foo/Two.pm | 7 |
16 files changed, 153 insertions, 0 deletions
diff --git a/t/lib/conflicts/Bar.pm b/t/lib/conflicts/Bar.pm new file mode 100644 index 0000000..0ce51ad --- /dev/null +++ b/t/lib/conflicts/Bar.pm @@ -0,0 +1,7 @@ +package Bar; +use strict; +use warnings; + +our $VERSION = 0.02; + +1; diff --git a/t/lib/conflicts/Bar/Conflicts/Bad.pm b/t/lib/conflicts/Bar/Conflicts/Bad.pm new file mode 100644 index 0000000..32a654e --- /dev/null +++ b/t/lib/conflicts/Bar/Conflicts/Bad.pm @@ -0,0 +1,13 @@ +package Bar::Conflicts::Bad; +use strict; +use warnings; + +use Dist::CheckConflicts + -conflicts => { + 'Bar' => '0.03', + }, + -also => [ + 'Bar::Conflicts::Bad2', + ]; + +1; diff --git a/t/lib/conflicts/Bar/Conflicts/Bad2.pm b/t/lib/conflicts/Bar/Conflicts/Bad2.pm new file mode 100644 index 0000000..9c76862 --- /dev/null +++ b/t/lib/conflicts/Bar/Conflicts/Bad2.pm @@ -0,0 +1,13 @@ +package Bar::Conflicts::Bad2; +use strict; +use warnings; + +use Dist::CheckConflicts + -conflicts => { + 'Bar::Two' => '0.02', + }, + -also => [ + 'Bar::Conflicts::Bad3', + ]; + +1; diff --git a/t/lib/conflicts/Bar/Conflicts/Bad3.pm b/t/lib/conflicts/Bar/Conflicts/Bad3.pm new file mode 100644 index 0000000..fb80b9e --- /dev/null +++ b/t/lib/conflicts/Bar/Conflicts/Bad3.pm @@ -0,0 +1,10 @@ +package Bar::Conflicts::Bad3; +use strict; +use warnings; + +use Dist::CheckConflicts + -conflicts => { + 'Bar::Three' => '0.01', + }; + +1; diff --git a/t/lib/conflicts/Bar/Conflicts/Good.pm b/t/lib/conflicts/Bar/Conflicts/Good.pm new file mode 100644 index 0000000..0f74447 --- /dev/null +++ b/t/lib/conflicts/Bar/Conflicts/Good.pm @@ -0,0 +1,13 @@ +package Bar::Conflicts::Good; +use strict; +use warnings; + +use Dist::CheckConflicts + -conflicts => { + 'Bar' => '0.01', + }, + -also => [ + 'Bar::Conflicts::Good2', + ]; + +1; diff --git a/t/lib/conflicts/Bar/Conflicts/Good2.pm b/t/lib/conflicts/Bar/Conflicts/Good2.pm new file mode 100644 index 0000000..8ba9fd3 --- /dev/null +++ b/t/lib/conflicts/Bar/Conflicts/Good2.pm @@ -0,0 +1,13 @@ +package Bar::Conflicts::Good2; +use strict; +use warnings; + +use Dist::CheckConflicts + -conflicts => { + 'Bar::Two' => '0.01', + }, + -also => [ + 'Bar::Conflicts::Good3', + ]; + +1; diff --git a/t/lib/conflicts/Bar/Conflicts/Good3.pm b/t/lib/conflicts/Bar/Conflicts/Good3.pm new file mode 100644 index 0000000..88b542e --- /dev/null +++ b/t/lib/conflicts/Bar/Conflicts/Good3.pm @@ -0,0 +1,10 @@ +package Bar::Conflicts::Good3; +use strict; +use warnings; + +use Dist::CheckConflicts + -conflicts => { + 'Bar::Three' => '0.01', + }; + +1; diff --git a/t/lib/conflicts/Bar/Three.pm b/t/lib/conflicts/Bar/Three.pm new file mode 100644 index 0000000..8c304fe --- /dev/null +++ b/t/lib/conflicts/Bar/Three.pm @@ -0,0 +1,7 @@ +package Bar::Three; +use strict; +use warnings; + +our $VERSION = 0.02; + +1; diff --git a/t/lib/conflicts/Bar/Two.pm b/t/lib/conflicts/Bar/Two.pm new file mode 100644 index 0000000..172ad51 --- /dev/null +++ b/t/lib/conflicts/Bar/Two.pm @@ -0,0 +1,7 @@ +package Bar::Two; +use strict; +use warnings; + +our $VERSION = 0.02; + +1; diff --git a/t/lib/conflicts/Broken.pm b/t/lib/conflicts/Broken.pm new file mode 100644 index 0000000..de400c3 --- /dev/null +++ b/t/lib/conflicts/Broken.pm @@ -0,0 +1,3 @@ +package Broken; + +die 'this module is utterly broken'; diff --git a/t/lib/conflicts/Foo.pm b/t/lib/conflicts/Foo.pm new file mode 100644 index 0000000..9660e6d --- /dev/null +++ b/t/lib/conflicts/Foo.pm @@ -0,0 +1,7 @@ +package Foo; +use strict; +use warnings; + +our $VERSION = 0.02; + +1; diff --git a/t/lib/conflicts/Foo/Conflicts/Bad.pm b/t/lib/conflicts/Foo/Conflicts/Bad.pm new file mode 100644 index 0000000..1cbf30f --- /dev/null +++ b/t/lib/conflicts/Foo/Conflicts/Bad.pm @@ -0,0 +1,12 @@ +package Foo::Conflicts::Bad; +use strict; +use warnings; + +use Dist::CheckConflicts + -conflicts => { + 'Foo' => 0.03, + 'Foo::Two' => 0.02, + 'Foo::Three' => 0.01, + }; + +1; diff --git a/t/lib/conflicts/Foo/Conflicts/Broken.pm b/t/lib/conflicts/Foo/Conflicts/Broken.pm new file mode 100644 index 0000000..87043ae --- /dev/null +++ b/t/lib/conflicts/Foo/Conflicts/Broken.pm @@ -0,0 +1,11 @@ +package Foo::Conflicts::Broken; +use strict; +use warnings; + +use Dist::CheckConflicts + -conflicts => { + 'Broken' => '0.03', + 'NotInstalled' => '0.01', + }; + +1; diff --git a/t/lib/conflicts/Foo/Conflicts/Good.pm b/t/lib/conflicts/Foo/Conflicts/Good.pm new file mode 100644 index 0000000..33d15de --- /dev/null +++ b/t/lib/conflicts/Foo/Conflicts/Good.pm @@ -0,0 +1,13 @@ +package Foo::Conflicts::Good; +use strict; +use warnings; + +use Dist::CheckConflicts + -conflicts => { + 'Foo' => 0.01, + 'Foo::Two' => 0.01, + 'Foo::Three' => 0.01, + 'NotInstalled' => '0.01', + }; + +1; diff --git a/t/lib/conflicts/Foo/Three.pm b/t/lib/conflicts/Foo/Three.pm new file mode 100644 index 0000000..b180934 --- /dev/null +++ b/t/lib/conflicts/Foo/Three.pm @@ -0,0 +1,7 @@ +package Foo::Three; +use strict; +use warnings; + +our $VERSION = 0.02; + +1; diff --git a/t/lib/conflicts/Foo/Two.pm b/t/lib/conflicts/Foo/Two.pm new file mode 100644 index 0000000..7a1daff --- /dev/null +++ b/t/lib/conflicts/Foo/Two.pm @@ -0,0 +1,7 @@ +package Foo::Two; +use strict; +use warnings; + +our $VERSION = 0.02; + +1; |