Skip to content

Commit

Permalink
Build results of 18a81a7 (on master)
Browse files Browse the repository at this point in the history
  • Loading branch information
kentfredric committed Mar 8, 2017
1 parent 424c0bf commit 6ec9ba3
Show file tree
Hide file tree
Showing 15 changed files with 38 additions and 30 deletions.
5 changes: 3 additions & 2 deletions Changes
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
Revision history for Data-Handle

1.000001 2017-03-08T11:07:17Z 60bb451
1.000001 2017-03-08T11:07:34Z 18a81a7
- Bugfix: Avoid test failures on -Ddefault_inc_excludes_dot
- Lower Test::More requirements

[Dependencies::Stats]
- Dependencies changed since 1.000000, see misc/*.deps* for details
- configure: +1 (recommends: ↑1)
- develop: +11 ↑3 -3 (recommends: +1, suggests: ↑2)
- test: +1 (recommends: ↑1 ↓1)
- test: +1 ↓1 (recommends: ↑1 ↓1)

1.000000 2014-10-10T13:04:03Z 3f54592
[00 Major - Version Scheme Change]
Expand Down
2 changes: 1 addition & 1 deletion META.json
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@
"File::Spec" : "0",
"IO::Handle" : "0",
"Test::Fatal" : "0",
"Test::More" : "0.96",
"Test::More" : "0",
"lib" : "0",
"perl" : "5.008"
}
Expand Down
2 changes: 1 addition & 1 deletion META.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ build_requires:
File::Spec: '0'
IO::Handle: '0'
Test::Fatal: '0'
Test::More: '0.96'
Test::More: '0'
lib: '0'
perl: '5.008'
configure_requires:
Expand Down
4 changes: 2 additions & 2 deletions Makefile.PL
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ my %WriteMakefileArgs = (
"File::Spec" => 0,
"IO::Handle" => 0,
"Test::Fatal" => 0,
"Test::More" => "0.96",
"Test::More" => 0,
"lib" => 0
},
"VERSION" => "1.000001",
Expand All @@ -57,7 +57,7 @@ my %FallbackPrereqs = (
"Symbol" => 0,
"Term::ANSIColor" => 0,
"Test::Fatal" => 0,
"Test::More" => "0.96",
"Test::More" => 0,
"Try::Tiny" => 0,
"lib" => 0,
"overload" => 0,
Expand Down
3 changes: 3 additions & 0 deletions misc/Changes.deps
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ This file contains changes in REQUIRED dependencies for standard CPAN phases (co
[Added / test requires]
- perl 5.008

[Changed / test requires]
- Test::More 0.96 → 0

1.000000 2014-10-10T13:04:03Z
[Added / configure requires]
- ExtUtils::MakeMaker
Expand Down
3 changes: 3 additions & 0 deletions misc/Changes.deps.all
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ This file contains ALL changes in dependencies in both REQUIRED / OPTIONAL depen
- ExtUtils::MakeMaker 6.98 → 7.00
- Test::More 1.001006 → 0.99

[Changed / test requires]
- Test::More 0.96 → 0

[Removed / develop requires]
- Dist::Zilla::Plugin::EOLTests
- Dist::Zilla::Plugin::MetaYAML
Expand Down
2 changes: 1 addition & 1 deletion t/00-report-prereqs.dd
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ do { my $x = {
'File::Spec' => '0',
'IO::Handle' => '0',
'Test::Fatal' => '0',
'Test::More' => '0.96',
'Test::More' => '0',
'lib' => '0',
'perl' => '5.008'
}
Expand Down
4 changes: 1 addition & 3 deletions t/01_lowlevel.t
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
use strict;
use warnings;

use Test::More 0.96;
use Test::More tests => 8;

use Test::Fatal;
use Data::Handle;
Expand Down Expand Up @@ -73,5 +73,3 @@ is(

is( $left, $right, 'Left and Right dual-read outputs are the same' );
is( tell $leftreader, tell $rightreader, 'Left and right dual-read are at the same position after reading' );

done_testing;
3 changes: 1 addition & 2 deletions t/02_example.t
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
use strict;
use warnings;

use Test::More 0.96;
use Test::More tests => 1;
use Test::Fatal;
use Data::Handle;

Expand Down Expand Up @@ -81,4 +81,3 @@ is(
);

# diag( $output );
done_testing();
4 changes: 1 addition & 3 deletions t/03_mess_with_seek.t
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use strict;
use warnings;

use Test::More 0.96;
use Test::More tests => 3;

use Test::Fatal;
use Data::Handle;
Expand All @@ -24,5 +24,3 @@ isnt(

isa_ok( $e, 'Data::Handle::Exception::BadFilePos', 'Expected Exception Type' );
isa_ok( $e, 'Data::Handle::Exception', 'Expected Exception Type' );

done_testing;
28 changes: 17 additions & 11 deletions t/04_things_that_fail.t
Original file line number Diff line number Diff line change
@@ -1,44 +1,52 @@
use strict;
use warnings;

use Test::More 0.96;
use Test::More tests => 146;

use Test::Fatal;
use Data::Handle;

my $id = 0;
our $numfails = 0;

sub checkisa {
my ( $exception, @types ) = @_;
my (@caller) = caller();
my $needdiag = 0;
local $numfails = 0;
$id++;
subtest "checkisa $id" => sub {
note explain \@types;
note "(fake) subtest: checkisa $id ---- ";
note explain \@types;
CHECKISA_FC: {

if ( not defined $exception ) {
my $fail = fail( sprintf 'checkisa(\$exception, %s ) didn\'t receive anything useful', explain(@types) );
diag( explain( { exception => $exception } ) );
return $fail;
$numfails++;
last CHECKISA_FC;
}
else {
pass("Exception is defined");
}
if ( not ref $exception ) {
my $fail = fail( sprintf 'checkisa($exception, %s ) didn\'t receive a ref', explain(@types) );
diag( explain( { exception => $exception } ) );
return $fail;
$numfails++;
last CHECKISA_FC;
}
else {
pass( sprintf q[Exception is a ref ( %s ) ], ref $exception );
}

for my $type (@types) {
$needdiag = 1
( $needdiag++, $numfails++ )
unless isa_ok( $exception, $type, 'Expected Exception Type ' . $type );
}
diag($exception) if $needdiag;
note( explain( \@caller ) ) if $needdiag;
};
}
diag($exception) if $needdiag;
note( explain( \@caller ) ) if $needdiag;
note "end (fake) subtest: checkisa $id ---";
return 0 == $numfails;
}

use lib 't/lib';
Expand Down Expand Up @@ -293,5 +301,3 @@ isnt(
);

checkisa( $e, ( 'Data::Handle::Exception::API::Invalid', 'Data::Handle::Exception::API', 'Data::Handle::Exception', ) );

done_testing;
2 changes: 1 addition & 1 deletion t/alternative_techniques/03_fdup_test.t
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
use strict;
use warnings;

use Test::More 0.96 skip_all => 'Example alternative technique that doesn\'t work';
use Test::More skip_all => 'Example alternative technique that doesn\'t work';

use lib "t/lib/";
use Data;
Expand Down
2 changes: 1 addition & 1 deletion t/alternative_techniques/03_fdup_test_cowns.t
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
use strict;
use warnings;

use Test::More 0.96 skip_all => 'Example alternative technique that doesn\'t work';
use Test::More skip_all => 'Example alternative technique that doesn\'t work';

use lib "t/lib/";
use Data;
Expand Down
2 changes: 1 addition & 1 deletion t/alternative_techniques/04_fopen.t
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
use strict;
use warnings;

use Test::More 0.96 skip_all => 'Example alternative technique that doesn\'t work';
use Test::More skip_all => 'Example alternative technique that doesn\'t work';

use lib "t/lib/";
use Data;
Expand Down
2 changes: 1 addition & 1 deletion t/alternative_techniques/05_new_from_fd.t
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
use strict;
use warnings;

use Test::More 0.96 skip_all => 'Example alternative technique that doesn\'t work';
use Test::More skip_all => 'Example alternative technique that doesn\'t work';

use lib "t/lib/";
use Data;
Expand Down

0 comments on commit 6ec9ba3

Please sign in to comment.