package testcases::WebPodView; use strict; use XAO::Utils; use base qw(testcases::base); sub test_all { my $self=shift; $self->catch_stdout(); $self->{web}->execute(path => '/test.html', cgi => CGI->new('')); my $text=$self->get_stdout(); my $ok=<<'EOT';
TEST

MISC TEST

some paragraph on multiple lines that includes italic text and a link: the IO::File manpage.

Code sample:

 # Like that
 #
 my $test=1;

 # Line after break
LIST TEST

Paragraph of text on the top.

aaaa
Item a is very strange.

  • fubar

    1. one-one-one

    2. two-two-two

    That was enumerated list in bullet list in definitions list.

    Another paragraph here with a link.

    And yet another one.

  • buraf

bbbb
Item b is kind of weird.

  1. one

  2. two

That's an enumerated list.

cccc
Item c is from the moon.

first item of inner list
some text

second item with no text
third item with a lot of text
aaaaaaaaaaaaaa bbbbbbbbbbbbbbbb ccccccccccc ddddddddddddddd eeeeeee fffffffff ggggggggggg hhhhhhhhhhhhhhhh iiiiiiiiiiiiiiiiii jjjjjjjjjj kkkkkkkkkkkkk llllllllllllll mmmmmmmmmmmmmmm nnnnnnnnnnnnn oooooooo ppppppppppppp.

STOP

Last 'code' paragraph © 2001 ®.

EOT my $match; my $pos_text=index($text,substr($ok,0,10)); my $pos_ok=0; my $line=0; while($pos_okassert(0, "Translation is not correct in line $line" . " ('$ok_exc' ne '$text_exc')"); } } 1;