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

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

revision 455 by dpavlin, Wed Nov 19 15:28:23 2008 UTC revision 942 by dpavlin, Tue Jan 6 13:53:44 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 => 13;  use Test::More tests => 15;
8  use lib 'lib';  use lib 'lib';
9    
10  use Data::Dump qw/dump/;  use Data::Dump qw/dump/;
# Line 23  my $test = { Line 23  my $test = {
23          'Frey::Feed' => {          'Frey::Feed' => {
24                  attribute_order => ["uri", "feed", "title"],                  attribute_order => ["uri", "feed", "title"],
25                  includes => {                  includes => {
26                          "use" => [ "Moose", "Frey::Types", "Frey::Mirror", "Data::Feed", "Data::Dump" ],                          "use" => [ "Moose", "Frey::Types", "Frey::Mirror", "XML::FeedPP", "Data::Dump" ],
27                  },                  },
28                    has_tests => ["t/06-Frey-Feed.t"],
29          },          },
30  };  };
31    
# Line 36  foreach my $class ( keys %$test ) { Line 37  foreach my $class ( keys %$test ) {
37    
38          ok( $data->{attribute_order} = $o->attribute_order, 'attribute_order' );          ok( $data->{attribute_order} = $o->attribute_order, 'attribute_order' );
39          ok( $data->{includes} = $o->includes, 'includes' );          ok( $data->{includes} = $o->includes, 'includes' );
40            $data->{has_tests} = $o->has_tests;
41          diag "data $class = ",dump( $data ) if $debug;          diag "data $class = ",dump( $data ) if $debug;
42    
43          foreach ( keys %$data ) {          foreach ( keys %$data ) {

Legend:
Removed from v.455  
changed lines
  Added in v.942

  ViewVC Help
Powered by ViewVC 1.1.26