/[Frey]/trunk/t/02-Frey-PPI.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/02-Frey-PPI.t

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

revision 915 by dpavlin, Sun Jan 4 23:05:59 2009 UTC revision 1105 by dpavlin, Mon Jun 29 14:09:34 2009 UTC
# Line 4  use warnings; Line 4  use warnings;
4    
5  my $debug = @ARGV ? 1 : 0;  my $debug = @ARGV ? 1 : 0;
6    
7  use Test::More tests => 15;  use Test::More tests => 21;
8  use lib 'lib';  use lib 'lib';
9    
10  use Data::Dump qw/dump/;  use Data::Dump qw/dump/;
# Line 27  my $test = { Line 27  my $test = {
27                  },                  },
28                  has_tests => ["t/06-Frey-Feed.t"],                  has_tests => ["t/06-Frey-Feed.t"],
29          },          },
30            'App::RoomReservation' => {
31                    attribute_order => [],
32                    includes => { "use" => ["Moose", "App::RoomReservation::Room"] },
33                    has_tests => ["t/App/RoomReservation.t"],
34            }
35  };  };
36    
37  foreach my $class ( keys %$test ) {  foreach my $class ( keys %$test ) {
# Line 37  foreach my $class ( keys %$test ) { Line 42  foreach my $class ( keys %$test ) {
42    
43          ok( $data->{attribute_order} = $o->attribute_order, 'attribute_order' );          ok( $data->{attribute_order} = $o->attribute_order, 'attribute_order' );
44          ok( $data->{includes} = $o->includes, 'includes' );          ok( $data->{includes} = $o->includes, 'includes' );
45          $data->{has_tests} = $o->has_tests;          $data->{has_tests} = [ $o->has_tests ] if $o->has_tests;
46          diag "data $class = ",dump( $data ) if $debug;          diag "data $class = ",dump( $data ) if $debug;
47    
48          foreach ( keys %$data ) {          foreach ( keys %$data ) {

Legend:
Removed from v.915  
changed lines
  Added in v.1105

  ViewVC Help
Powered by ViewVC 1.1.26