"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "wml_test/t/des-space.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.

des-space.t  (wml-2.28.0.tar.xz):des-space.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 => 2; use Test::More tests => 2;
my $pass = "1-9";
# Test if PNG support was found # Test if PNG support was found
my $png_support = 0; my $png_support = 0;
=begin removed =begin removed
my $conf; my $conf;
{ {
open (my $IN, '<', '../wml_common/gd/Makefile'); open (my $IN, '<', '../wml_common/gd/Makefile');
local $/ = undef; local $/ = undef;
$conf = <$IN>; $conf = <$IN>;
skipping to change at line 33 skipping to change at line 31
} }
=end removed =end removed
=cut =cut
if ($png_support) if ($png_support)
{ {
# PNG support available # PNG support available
# TEST*2 # TEST*2
WmlTest::generic( $pass, <<'EOT_IN', <<'EOT_OUT', '' ); WmlTest::all_passes( <<'EOT_IN', <<'EOT_OUT', '' );
#use wml::des::space #use wml::des::space
<space format=png width=6 height=4> <space format=png width=6 height=4>
<space format=gif width=6> <space format=gif width=6>
<space height=4> <space height=4>
<space> <space>
EOT_IN EOT_IN
<img src="imgdot-1x1-transp-ffffff.png" alt="" width="6" height="4" align="botto m" border="0"> <img src="imgdot-1x1-transp-ffffff.png" alt="" width="6" height="4" align="botto m" border="0">
<img src="imgdot-1x1-transp-ffffff.gif" alt="" width="6" height="1" align="botto m" border="0"> <img src="imgdot-1x1-transp-ffffff.gif" alt="" width="6" height="1" align="botto m" border="0">
<img src="imgdot-1x1-transp-ffffff.gif" alt="" width="1" height="4" align="botto m" border="0"> <img src="imgdot-1x1-transp-ffffff.gif" alt="" width="1" height="4" align="botto m" border="0">
<img src="imgdot-1x1-transp-ffffff.gif" alt="" width="1" height="1" align="botto m" border="0"> <img src="imgdot-1x1-transp-ffffff.gif" alt="" width="1" height="1" align="botto m" border="0">
EOT_OUT EOT_OUT
} }
else else
{ {
# PNG support unavailable # PNG support unavailable
WmlTest::generic( $pass, <<'EOT_IN', <<'EOT_OUT', '' ); WmlTest::all_passes( <<'EOT_IN', <<'EOT_OUT', '' );
#use wml::des::space #use wml::des::space
<space format=gif width=6> <space format=gif width=6>
<space height=4> <space height=4>
<space> <space>
EOT_IN EOT_IN
<img src="imgdot-1x1-transp-ffffff.gif" alt="" width="6" height="1" align="botto m" border="0"> <img src="imgdot-1x1-transp-ffffff.gif" alt="" width="6" height="1" align="botto m" border="0">
<img src="imgdot-1x1-transp-ffffff.gif" alt="" width="1" height="4" align="botto m" border="0"> <img src="imgdot-1x1-transp-ffffff.gif" alt="" width="1" height="4" align="botto m" border="0">
<img src="imgdot-1x1-transp-ffffff.gif" alt="" width="1" height="1" align="botto m" border="0"> <img src="imgdot-1x1-transp-ffffff.gif" alt="" width="1" height="1" align="botto m" border="0">
EOT_OUT EOT_OUT
} }
 End of changes. 4 change blocks. 
5 lines changed or deleted 3 lines changed or added

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