/[cwmp]/google/trunk/t/06-queue.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 /google/trunk/t/06-queue.t

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

revision 226 by dpavlin, Wed Nov 14 18:16:14 2007 UTC revision 227 by dpavlin, Sun Nov 25 18:51:26 2007 UTC
# Line 4  use warnings; Line 4  use warnings;
4    
5  my $debug = shift @ARGV;  my $debug = shift @ARGV;
6    
7  use Test::More tests => 255;  use Test::More tests => 256;
8  use Data::Dump qw/dump/;  use Data::Dump qw/dump/;
9  use lib 'lib';  use lib 'lib';
10    
11    use Devel::LeakTrace::Fast;
12    
13  BEGIN {  BEGIN {
14          use_ok('CWMP::Queue');          use_ok('CWMP::Queue');
15  }  }
16    
17  #use Cwd qw/abs_path/;  use Cwd qw/abs_path/;
18  #ok(my $abs_path = abs_path($0), "abs_path");  ok(my $abs_path = abs_path($0), "abs_path");
19  #$abs_path =~ s!/[^/]*$!/!;     #!fix-vim  $abs_path =~ s!/[^/]*$!/!;      #!fix-vim
20    
21  ok( my $obj = CWMP::Queue->new({  ok( my $obj = CWMP::Queue->new({
22          id => 'test',          id => 'test',
23            dir => "$abs_path/queue",
24            clean => 1,
25          debug => $debug,          debug => $debug,
26  }), 'new' );  }), 'new' );
27  isa_ok( $obj, 'CWMP::Queue' );  isa_ok( $obj, 'CWMP::Queue' );

Legend:
Removed from v.226  
changed lines
  Added in v.227

  ViewVC Help
Powered by ViewVC 1.1.26