Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add strict and warnings pragmas in test files #11

Merged
merged 1 commit into from Jan 14, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 3 additions & 0 deletions t/001_load.t
Expand Up @@ -2,6 +2,9 @@

# t/001_load.t - check module loading and create testing directory

use strict;
use warnings;

use Test::More tests => 1;

BEGIN {
Expand Down
3 changes: 3 additions & 0 deletions t/lib/DBICTest/Schema.pm
@@ -1,6 +1,9 @@
package # hide from PAUSE
DBICTest::Schema;

use strict;
use warnings;

use base qw/DBIx::Class::Schema/;

no warnings qw/qw/;
Expand Down
3 changes: 3 additions & 0 deletions t/lib/DBICTest/Schema/SerializeJSON.pm
@@ -1,6 +1,9 @@
package # hide from PAUSE
DBICTest::Schema::SerializeJSON;

use strict;
use warnings;

use base qw/DBIx::Class/;

__PACKAGE__->load_components (qw/InflateColumn::Serializer Core/);
Expand Down
3 changes: 3 additions & 0 deletions t/lib/DBICTest/Schema/SerializeStorable.pm
@@ -1,6 +1,9 @@
package # hide from PAUSE
DBICTest::Schema::SerializeStorable;

use strict;
use warnings;

use base qw/DBIx::Class/;

__PACKAGE__->load_components (qw/InflateColumn::Serializer Core/);
Expand Down
3 changes: 3 additions & 0 deletions t/lib/DBICTest/Schema/SerializeYAML.pm
@@ -1,6 +1,9 @@
package # hide from PAUSE
DBICTest::Schema::SerializeYAML;

use strict;
use warnings;

use base qw/DBIx::Class/;

__PACKAGE__->load_components (qw/InflateColumn::Serializer Core/);
Expand Down
3 changes: 3 additions & 0 deletions t/lib/DBICTest/Schema/TestTable.pm
@@ -1,6 +1,9 @@
package # hide from PAUSE
DBICTest::Schema::TestTable;

use strict;
use warnings;

use base qw/DBIx::Class/;

__PACKAGE__->load_components (qw/Core/);
Expand Down
4 changes: 3 additions & 1 deletion xt/kwalitee.t
@@ -1,4 +1,6 @@
# in a separate test file
use strict;
use warnings;

use Test::More;

eval { require Test::Kwalitee; Test::Kwalitee->import() };
Expand Down
3 changes: 3 additions & 0 deletions xt/pod.t
@@ -1,5 +1,8 @@
# -*- perl -*-

use strict;
use warnings;

use Test::More;
eval "use Test::Pod 1.00";
plan skip_all => "Test::Pod 1.00 required for testing POD" if $@;
Expand Down
3 changes: 3 additions & 0 deletions xt/podcoverage.t
@@ -1,5 +1,8 @@
# -*- perl -*-

use strict;
use warnings;

use Test::More;
eval "use Test::Pod::Coverage 1.00";
plan skip_all => "Test::Pod::Coverage 1.00 required for testing POD coverage" if $@;
Expand Down