Filewatcher File Search File Search
Catalog
Content Search
» » » » »

Test-Assert-0.05.tar.gz

Homepage:-
Package version:-
Architecture:-
Distribution:Perl-CPAN
Filename:Test-Assert-0.05.tar.gz

/Test-Assert-0.05/README

NAME
    Test::Assert - Assertion methods for those who like JUnit.

SYNOPSIS
      # Use as base class
      package My::TestMethod;
      use base 'Test::Assert';
      sub test_method {
        my $self = shift;
        $self->assert_true(1, "pass");
        $self->assert_true(0, "fail");
      }

      # Use as imported methods
      package My::Test;
      use Test::Assert ':all';
      asser
more»

/Test-Assert-0.05/Changes

------------------------------------------------------------------------
0.05 | Piotr Roszatycki <dexter@debian.org> | 2009-01-01

New:

* New methods "assert_not_isa".

Changes:

* Safe "isa" method is used with eval which doesn't fail if $SIG{__DIE__} is
  changed.
* Requires constant::boolean.

------------------------------------------------------------------------
0.04 | Piotr Roszatycki <dex
more»

/Test-Assert-0.05/xt/copyright.t

#!/usr/bin/env perl

use strict;
use warnings;

our $VERSION = '0.999_001';

use File::Find;
use File::Slurp;
use Readonly;

use Test::More qw(no_plan); ## no critic (Bangs::ProhibitNoPlan)


Readonly my $LOCALTIME_YEAR_FIELD_NUMBER => 5;
Readonly my $LOCALTIME_YEAR_OFFSET       => 1900;


my $this_year =
    (localtime)[$LOCALTIME_YEAR_FIELD_NUMBER] + $LOCALTIME_YEAR_OFFSET;
my $copyrights_found 
more»

Browse inside Test-Assert-0.05.tar.gz

         [DIR]Test-Assert-0.05/ (11)

Download Test-Assert-0.05.tar.gz

Results 1 - 1 of 1
Help - FTP Sites List - Software Dir.
Search over 15 billion files
© 1997-2016 FileWatcher.com