File: 10.init.t

package info (click to toggle)
module-build-cipux 0.4.0-7
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, wheezy
  • size: 164 kB
  • ctags: 44
  • sloc: perl: 575; makefile: 11
file content (20 lines) | stat: -rw-r--r-- 555 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!perl -w

use warnings;
use strict;
use Test::More tests => 5;

BEGIN {
    use_ok('Module::Build::CipUX');
}

# Test cipux creation for Module::Build::CipUX
my $cipux = Module::Build::CipUX->new( module_name => 'Module::Build::CipUX' );
ok( $cipux, '->new returns true' );
ok( ref $cipux, '->new returns a reference' );
isa_ok( $cipux, 'HASH', '->new returns a hash reference' );
isa_ok( $cipux, 'Module::Build::CipUX',
    '->new returns a Module::Build::CipUX object' );

#ok( scalar keys %$cipux == 3, '->new returns an object with 3 attributes' );