/[pxelator]/lib/PXElator/t/html.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

Contents of /lib/PXElator/t/html.t

Parent Directory Parent Directory | Revision Log Revision Log


Revision 180 - (show annotations)
Sun Aug 9 18:56:04 2009 UTC (14 years, 9 months ago) by dpavlin
File MIME type: application/x-troff
File size: 425 byte(s)
added pre_dump
1 #!/usr/bin/perl
2
3 use warnings;
4 use strict;
5 use autodie;
6
7 use Test::More tests => 5;
8
9 use_ok 'html';
10
11 ok( my $html = html::table( 2, qw/a1 a2 b1 b2 c1 c2/ ), 'table' );
12 diag $html;
13
14 ok( $html = html::table( -3, qw/h1 h2 h3 a1 a2 a3 b1 b2 b3/ ), 'table' );
15 diag $html;
16
17 ok( $html = html::select( 'dropdown', 2, 1, 2, 3 ), 'select' );
18 diag $html;
19
20 ok( $html = html::pre_dump( foo => 1, bar => 'baz' ), 'pre_dump' );
21 diag $html;

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.26