/[notice-sender]/trunk/t/2_soap.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/2_soap.t

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

revision 43 by dpavlin, Wed May 18 12:29:35 2005 UTC revision 44 by dpavlin, Wed May 18 12:32:56 2005 UTC
# Line 3  Line 3 
3  use strict;  use strict;
4  use blib;  use blib;
5    
6  use Test::More tests => 19;  use Test::More tests => 22;
7    
8  BEGIN {  BEGIN {
9          use_ok('Nos');          use_ok('Nos');
# Line 104  ok(my @arr2 = $soap->ListMembers( Line 104  ok(my @arr2 = $soap->ListMembers(
104    
105  eq_array(\@arr, \@arr2, "members lists same");  eq_array(\@arr, \@arr2, "members lists same");
106    
107    cmp_ok($#arr, '==', 0, "member count ok");
108    
109    cmp_ok($arr[0]->{'full_name'}, '==', 'Dobrica Pavlinusic', "full_name");
110    cmp_ok($arr[0]->{'email'}, '==', 'dpavlin@rot13.org', "email");
111    
112  # kill server  # kill server
113    
114  ok(kill('HUP' => $pid), "kill $pid");  ok(kill('HUP' => $pid), "kill $pid");

Legend:
Removed from v.43  
changed lines
  Added in v.44

  ViewVC Help
Powered by ViewVC 1.1.26