/[notice-sender]/trunk/t/1_nos.t
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Annotation of /trunk/t/1_nos.t

Parent Directory Parent Directory | Revision Log Revision Log


Revision 31 - (hide annotations)
Mon May 16 22:04:40 2005 UTC (19 years ago) by dpavlin
File MIME type: application/x-troff
File size: 467 byte(s)
make tests pass

1 dpavlin 20 #!/usr/bin/perl -w
2    
3     use strict;
4     use blib;
5    
6 dpavlin 31 use Test::More tests => 5;
7    
8 dpavlin 24 BEGIN { use_ok('Nos') };
9 dpavlin 20
10 dpavlin 24 ok(my $nos = new Nos('dsn' => 'dbi:Pg:dbname=notices'), "new");
11 dpavlin 25
12 dpavlin 31 ok($nos->_add_list( list => 'My list', email => 'my-list@example.com'), "_add_list");
13    
14 dpavlin 25 ok($nos->add_member_to_list( list => 'My list', email => 'foo@example.com' ), "add_member_to_list");
15 dpavlin 29
16     ok($nos->add_message_to_list( list => 'My list', message => 'Subject: test\nJust a test' ), "add_message_to_list");

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.26