/[A3C]/t/30-aaieduhr.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

Annotation of /t/30-aaieduhr.t

Parent Directory Parent Directory | Revision Log Revision Log


Revision 89 - (hide annotations)
Tue Apr 29 21:43:36 2008 UTC (15 years, 11 months ago) by dpavlin
File MIME type: application/x-troff
File size: 352 byte(s)
move away from XML::Simple to XML::Rule so we can preserve original order

Allthough, a bit more chatty that XML::Simple implementation, this one has
much better ratio of dark magic vs short notation, IMHO
1 dpavlin 88 #!/usr/bin/env perl
2     use warnings;
3     use strict;
4    
5     =head1 DESCRIPTION
6    
7     test AAIEduHr integration
8    
9     =cut
10    
11 dpavlin 89 use Jifty::Test tests => 8;
12 dpavlin 88
13     use Data::Dump qw/dump/;
14    
15     use_ok('A3C::AAIEduHr');
16    
17 dpavlin 89 foreach my $nr ( 1 .. 7 ) {
18     my $name = sprintf('hrEdu%03d', $nr);
19     ok( my $a = A3C::AAIEduHr->vocabulary( $name ), "vucabulatory $name" );
20     diag "$name = ",dump( $a );
21     }

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.26