/[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

Diff of /trunk/t/1_nos.t

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 32 by dpavlin, Mon May 16 22:32:58 2005 UTC revision 33 by dpavlin, Tue May 17 11:09:08 2005 UTC
# Line 9  BEGIN { use_ok('Nos') }; Line 9  BEGIN { use_ok('Nos') };
9    
10  ok(my $nos = new Nos('dsn' => 'dbi:Pg:dbname=notices'), "new");  ok(my $nos = new Nos('dsn' => 'dbi:Pg:dbname=notices'), "new");
11    
12  ok($nos->_add_list( list => 'My list', email => 'my-list@example.com'), "_add_list");  ok($nos->new_list( list => 'My list', email => 'my-list@example.com'), "new_list my-list");
13  ok($nos->_get_list('My list'), "_get_list");  ok($nos->new_list( list => 'My list', email => 'my2@example.com'), "new_list my2");
14    
15  ok($nos->_add_list( list => 'Another list', email => 'list2@example.com'), "_add_list");  ok($nos->_add_list( list => 'Another list', email => 'list2@example.com'), "_add_list");
16  ok($nos->_get_list('Another list'), "_get_list");  ok($nos->_get_list('Another list'), "_get_list");

Legend:
Removed from v.32  
changed lines
  Added in v.33

  ViewVC Help
Powered by ViewVC 1.1.26