/[Frey]/trunk/t/01-frey-classloader.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/01-frey-classloader.t

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

revision 796 by dpavlin, Thu Nov 27 22:11:13 2008 UTC revision 797 by dpavlin, Wed Dec 10 19:34:06 2008 UTC
# Line 11  use lib 'lib'; Line 11  use lib 'lib';
11  use Data::Dump qw/dump/;  use Data::Dump qw/dump/;
12    
13  BEGIN {  BEGIN {
14          use_ok('Frey::ClassLoader');          use_ok('Frey::Class::Loader');
15  }  }
16    
17  ok( my $o = Frey::ClassLoader->new( debug => $debug ), 'new' );  ok( my $o = Frey::Class::Loader->new( debug => $debug ), 'new' );
18  isa_ok( $o, 'Frey::ClassLoader' );  isa_ok( $o, 'Frey::Class::Loader' );
19  diag dump( $o ) if $debug;  diag dump( $o ) if $debug;
20    
21  ok( $o->meta, 'has meta' );  ok( $o->meta, 'has meta' );
22  #diag dump( $o->meta );  #diag dump( $o->meta );
23  is( $o->meta->name, 'Frey::ClassLoader', 'meta->name' );  is( $o->meta->name, 'Frey::Class::Loader', 'meta->name' );
24    
25  ok( defined $o->debug, 'debug' );  ok( defined $o->debug, 'debug' );
26    

Legend:
Removed from v.796  
changed lines
  Added in v.797

  ViewVC Help
Powered by ViewVC 1.1.26