02-Common-Conf-File.t 660 Bytes
Newer Older
Yadd's avatar
Yadd committed
1
2
3
4
5
6
7
# Before `make install' is performed this script should be runnable with
# `make test'. After `make install' it should work as `perl Lemonldap-NG-Manager.t'

#########################

# change 'tests => 1' to 'tests => last_test_to_print';

8
use Test::More tests => 2;
9
BEGIN { use_ok('Lemonldap::NG::Common::Conf') }
Yadd's avatar
Yadd committed
10
11
12
13
14
15

#########################

# Insert your test code below, the Test::More module is use()ed here so read
# its man page ( perldoc Test::More ) for help writing this test script.

16
my $h;
17

18
ok(
19
    $h = new Lemonldap::NG::Common::Conf(
Yadd's avatar
Yadd committed
20
21
22
23
        {
            type    => 'File',
            dirName => ".",
        }
24
25
    ),
    'type => file',
26
);
27