Files
perl-Hash-AutoHash-Args/Hash-AutoHash-Args-1.12_Build_and_Test.patch
Christian Wittmer afa0d60eba Accepting request 45937 from home:computersalat:devel:perl
Copy from home:computersalat:devel:perl/perl-Hash-AutoHash-Args via accept of submit request 45937 revision 2.
Request was accepted with message:
self accept

OBS-URL: https://build.opensuse.org/request/show/45937
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Hash-AutoHash-Args?expand=0&rev=1
2010-08-21 19:15:22 +00:00

209 lines
7.7 KiB
Diff

diff -udr Hash-AutoHash-Args-1.12.old/Build.PL Hash-AutoHash-Args-1.12/Build.PL
--- Hash-AutoHash-Args-1.12.old/Build.PL 2010-02-24 00:33:28.000000000 +0100
+++ Hash-AutoHash-Args-1.12/Build.PL 2010-07-29 10:20:48.000000000 +0200
@@ -18,7 +18,7 @@
license => 'perl',
dist_author => q{Nat Goodman <natg@shore.net>},
dist_version_from => 'lib/Hash/AutoHash/Args.pm',
- build_requires => {'Test::More' => 0.88,
+ build_requires => {'Test::More' => 0,
'Test::Deep' => 0,
'Exporter' => 0,
},
Only in Hash-AutoHash-Args-1.12: Makefile
diff -udr Hash-AutoHash-Args-1.12.old/t/autoargs.000.code_exists.t Hash-AutoHash-Args-1.12/t/autoargs.000.code_exists.t
--- Hash-AutoHash-Args-1.12.old/t/autoargs.000.code_exists.t 2010-02-24 00:33:28.000000000 +0100
+++ Hash-AutoHash-Args-1.12/t/autoargs.000.code_exists.t 2010-07-29 10:23:11.000000000 +0200
@@ -8,4 +8,4 @@
use_ok('Hash::AutoHash::Args::V0');
}
diag( "Testing Hash::AutoHash::Args $Hash::AutoHash::Args::VERSION, Perl $], $^X" );
-done_testing();
+#done_testing();
diff -udr Hash-AutoHash-Args-1.12.old/t/autoargs.001.boilerplate.t Hash-AutoHash-Args-1.12/t/autoargs.001.boilerplate.t
--- Hash-AutoHash-Args-1.12.old/t/autoargs.001.boilerplate.t 2010-02-24 00:33:28.000000000 +0100
+++ Hash-AutoHash-Args-1.12/t/autoargs.001.boilerplate.t 2010-07-29 10:23:11.000000000 +0200
@@ -50,7 +50,7 @@
);
module_boilerplate_ok('lib/Hash/AutoHash/Args.pm');
-done_testing();
+#done_testing();
# }
diff -udr Hash-AutoHash-Args-1.12.old/t/autoargs.002.pod.t Hash-AutoHash-Args-1.12/t/autoargs.002.pod.t
--- Hash-AutoHash-Args-1.12.old/t/autoargs.002.pod.t 2010-02-24 00:33:28.000000000 +0100
+++ Hash-AutoHash-Args-1.12/t/autoargs.002.pod.t 2010-07-29 10:30:54.000000000 +0200
@@ -11,4 +11,4 @@
plan skip_all => "Test::Pod $min_tp required for testing POD" if $@;
all_pod_files_ok(all_pod_files());
-done_testing();
+#done_testing();
diff -udr Hash-AutoHash-Args-1.12.old/t/autoargs.010.basics.t Hash-AutoHash-Args-1.12/t/autoargs.010.basics.t
--- Hash-AutoHash-Args-1.12.old/t/autoargs.010.basics.t 2010-02-24 00:33:28.000000000 +0100
+++ Hash-AutoHash-Args-1.12/t/autoargs.010.basics.t 2010-07-29 10:23:11.000000000 +0200
@@ -2,7 +2,7 @@
use Carp;
use Hash::AutoHash::Args;
use Hash::AutoHash::Args::V0;
-use Test::More;
+use Test::More qw(no_plan);
use Test::Deep;
sub test_basics {
@@ -74,4 +74,4 @@
test_basics(0);
test_basics(1);
-done_testing();
+#done_testing();
diff -udr Hash-AutoHash-Args-1.12.old/t/autoargs.020.class_methods.t Hash-AutoHash-Args-1.12/t/autoargs.020.class_methods.t
--- Hash-AutoHash-Args-1.12.old/t/autoargs.020.class_methods.t 2010-02-24 00:33:28.000000000 +0100
+++ Hash-AutoHash-Args-1.12/t/autoargs.020.class_methods.t 2010-07-29 10:32:10.000000000 +0200
@@ -1,14 +1,14 @@
use lib qw(t);
use Carp;
-use Test::More;
+use Test::More qw(no_plan);
use Test::Deep;
use autohashUtil;
use Hash::AutoHash::Args;
use Hash::AutoHash::Args::V0;
-note "Testing main class";
+#note "Testing main class";
test_class_methods('Hash::AutoHash::Args','autoargs_set');
-note "Testing V0 class";
+#note "Testing V0 class";
test_class_methods('Hash::AutoHash::Args::V0','autoargs_set');
-done_testing();
+#done_testing();
diff -udr Hash-AutoHash-Args-1.12.old/t/autoargs.020.special_keys.t Hash-AutoHash-Args-1.12/t/autoargs.020.special_keys.t
--- Hash-AutoHash-Args-1.12.old/t/autoargs.020.special_keys.t 2010-02-24 00:33:28.000000000 +0100
+++ Hash-AutoHash-Args-1.12/t/autoargs.020.special_keys.t 2010-07-29 10:23:11.000000000 +0200
@@ -1,6 +1,6 @@
use lib qw(t);
use Carp;
-use Test::More;
+use Test::More qw(no_plan);
use Test::Deep;
use autohashUtil;
use Hash::AutoHash::Args;
@@ -46,4 +46,4 @@
map {my $copy=$_; $copy=~s/^autohash/autoargs/; $copy} @Hash::AutoHash::SUBCLASS_EXPORT_OK);
test_special_keys(1,@keys);
-done_testing();
+#done_testing();
diff -udr Hash-AutoHash-Args-1.12.old/t/autoargs.030.functions.t Hash-AutoHash-Args-1.12/t/autoargs.030.functions.t
--- Hash-AutoHash-Args-1.12.old/t/autoargs.030.functions.t 2010-02-24 00:33:28.000000000 +0100
+++ Hash-AutoHash-Args-1.12/t/autoargs.030.functions.t 2010-07-29 10:23:11.000000000 +0200
@@ -2,7 +2,7 @@
use Carp;
use Hash::AutoHash::Args;
use Hash::AutoHash::Args::V0;
-use Test::More;
+use Test::More qw(no_plan);
use Test::Deep;
#################################################################################
@@ -169,4 +169,4 @@
test_exported_functions(0);
test_exported_functions(1);
-done_testing();
+#done_testing();
diff -udr Hash-AutoHash-Args-1.12.old/t/autoargs.030.v0_methods.t Hash-AutoHash-Args-1.12/t/autoargs.030.v0_methods.t
--- Hash-AutoHash-Args-1.12.old/t/autoargs.030.v0_methods.t 2010-02-24 00:33:28.000000000 +0100
+++ Hash-AutoHash-Args-1.12/t/autoargs.030.v0_methods.t 2010-07-29 10:23:11.000000000 +0200
@@ -2,7 +2,7 @@
use Carp;
use Hash::AutoHash::Args;
use Hash::AutoHash::Args::V0;
-use Test::More;
+use Test::More qw(no_plan);
use Test::Deep;
#################################################################################
@@ -76,4 +76,4 @@
ArG3=>'changed value31','--arg3'=>'changed value32',-ARG3=>'changed value33',)],
'V1 set_args');
-done_testing();
+#done_testing();
diff -udr Hash-AutoHash-Args-1.12.old/t/autoargs.031.alias.t Hash-AutoHash-Args-1.12/t/autoargs.031.alias.t
--- Hash-AutoHash-Args-1.12.old/t/autoargs.031.alias.t 2010-02-24 00:33:28.000000000 +0100
+++ Hash-AutoHash-Args-1.12/t/autoargs.031.alias.t 2010-07-29 10:23:11.000000000 +0200
@@ -2,7 +2,7 @@
use Carp;
use Hash::AutoHash::Args qw(autoargs_alias);
use Hash::AutoHash::Args::V0;
-use Test::More;
+use Test::More qw(no_plan);
use Test::Deep;
#################################################################################
@@ -41,4 +41,4 @@
test_exported_functions(0);
test_exported_functions(1);
-done_testing();
+#done_testing();
diff -udr Hash-AutoHash-Args-1.12.old/t/autoargs.098.docs.t Hash-AutoHash-Args-1.12/t/autoargs.098.docs.t
--- Hash-AutoHash-Args-1.12.old/t/autoargs.098.docs.t 2010-02-24 00:33:28.000000000 +0100
+++ Hash-AutoHash-Args-1.12/t/autoargs.098.docs.t 2010-07-29 10:23:11.000000000 +0200
@@ -1,7 +1,7 @@
use lib qw(t);
use Carp;
use Hash::AutoHash::Args;
-use Test::More;
+use Test::More qw(no_plan);
use Test::Deep;
use Hash::AutoHash::Args;
@@ -299,4 +299,4 @@
ok(new Hash::AutoHash::Args(name=>'Joe'),'new as class method');
ok(!$args->new,'new as object method');
-done_testing();
+#done_testing();
diff -udr Hash-AutoHash-Args-1.12.old/t/autoargs.099.v0_docs.t Hash-AutoHash-Args-1.12/t/autoargs.099.v0_docs.t
--- Hash-AutoHash-Args-1.12.old/t/autoargs.099.v0_docs.t 2010-02-24 00:33:28.000000000 +0100
+++ Hash-AutoHash-Args-1.12/t/autoargs.099.v0_docs.t 2010-07-29 10:23:11.000000000 +0200
@@ -1,7 +1,7 @@
use lib qw(t);
use Carp;
use Hash::AutoHash::Args::V0;
-use Test::More;
+use Test::More qw(no_plan);
use Test::Deep;
########################################
@@ -55,4 +55,4 @@
my($name,$first_name,$last_name)=@$args{qw(name first_name last_name)};
cmp_deeply([$name,$first_name,$last_name],['Joe the Plumber','Joe','Plumber'],'set_args');
-done_testing();
+#done_testing();
diff -udr Hash-AutoHash-Args-1.12.old/t/autoargs.100.grow_slot.t Hash-AutoHash-Args-1.12/t/autoargs.100.grow_slot.t
--- Hash-AutoHash-Args-1.12.old/t/autoargs.100.grow_slot.t 2010-02-24 00:33:28.000000000 +0100
+++ Hash-AutoHash-Args-1.12/t/autoargs.100.grow_slot.t 2010-07-29 10:23:11.000000000 +0200
@@ -5,7 +5,7 @@
use Carp;
use Hash::AutoHash::Args;
use Hash::AutoHash::Args::V0;
-use Test::More;
+use Test::More qw(no_plan);
use Test::Deep;
my $obj=bless {name=>'I am an object'},'Object';
@@ -29,4 +29,4 @@
cmp_deeply($args->obj,[$obj,$obj,$obj],
'V0 arg=>three objects: ARRAY slot stays ARRAY');
-done_testing();
+#done_testing();