Parent Directory | Revision Log
another refactoring - cleanup cruft code - create Frey::ClassLoader to deal with package/class stuff - Frey::Web role with dom2html to based on Continuity::Widget::DomNode
1 | dpavlin | 24 | #!/usr/bin/perl |
2 | use strict; | ||
3 | use warnings; | ||
4 | |||
5 | my $debug = @ARGV ? 1 : 0; | ||
6 | |||
7 | dpavlin | 100 | use Test::More tests => 6; |
8 | dpavlin | 24 | use lib 'lib'; |
9 | |||
10 | #use Devel::LeakTrace::Fast; | ||
11 | use Data::Dump qw/dump/; | ||
12 | |||
13 | BEGIN { | ||
14 | use_ok('Frey'); | ||
15 | } | ||
16 | |||
17 | ok( my $o = Frey->new( debug => $debug ), 'new' ); | ||
18 | isa_ok( $o, 'Frey' ); | ||
19 | diag dump( $o ) if $debug; | ||
20 | |||
21 | ok( $o->meta, 'has meta' ); | ||
22 | #diag dump( $o->meta ); | ||
23 | is( $o->meta->name, 'Frey', 'meta->name' ); | ||
24 | |||
25 | ok( defined $o->debug, 'debug' ); | ||
26 |
Name | Value |
---|---|
svn:executable | * |
ViewVC Help | |
Powered by ViewVC 1.1.26 |