"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "wml_test/t/10-wml.t" between
wml-2.28.0.tar.xz and wml-2.30.0.tar.xz

About: WML (Website META Language) is an extensible Webdesigner’s off-line HTML generation toolkit.

10-wml.t  (wml-2.28.0.tar.xz):10-wml.t  (wml-2.30.0.tar.xz)
use strict; use strict;
use warnings; use warnings;
use WmlTest; use WmlTest ();
WmlTest::init(); WmlTest::init();
use Test::More tests => 4; use Test::More tests => 4;
# #
# TEST 1-2: throughput # TEST 1-2: throughput
# #
my $pass = "1-9";
{ {
my $in = <<'EOT_IN'; my $in = <<'EOT_IN';
foo bar baz quux foo bar baz quux
!"$%&/()=?`'*+ !"$%&/()=?`'*+
EOT_IN EOT_IN
my $out = <<'EOT_OUT'; my $out = <<'EOT_OUT';
foo bar baz quux foo bar baz quux
!"$%&/()=?`'*+ !"$%&/()=?`'*+
EOT_OUT EOT_OUT
# TEST*2 # TEST*2
WmlTest::generic( $pass, $in, $out, '-Dbar -Dvoid=\"\" -Dvoid2=' ); WmlTest::all_passes( $in, $out, '-Dbar -Dvoid=\"\" -Dvoid2=' );
} }
{ {
my $in = <<'EOT_IN'; my $in = <<'EOT_IN';
<protect pass=2-9>\ <protect pass=2-9>\
$(bar) $(bar)
$(void) $(void)
$(void2) $(void2)
$(ROOT)\ $(ROOT)\
</protect> </protect>
EOT_IN EOT_IN
my $out = <<'EOT_OUT'; my $out = <<'EOT_OUT';
1 1
. .
EOT_OUT EOT_OUT
# TEST*2 # TEST*2
WmlTest::generic( $pass, $in, $out, '-Dbar -Dvoid=\"\" -Dvoid2= -DROOT=.', WmlTest::all_passes( $in, $out, '-Dbar -Dvoid=\"\" -Dvoid2= -DROOT=.', );
);
} }
WmlTest::cleanup(); WmlTest::cleanup();
 End of changes. 4 change blocks. 
6 lines changed or deleted 3 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)