"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "wml_test/t/des-navbar.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-navbar.t  (wml-2.28.0.tar.xz):des-navbar.t  (wml-2.30.0.tar.xz)
use strict; use strict;
use warnings; use warnings;
use Test::More tests => 4; use Test::More tests => 4;
use WmlTest; use WmlTest ();
WmlTest::init(); WmlTest::init();
my $pass = "1-9";
# TEST*2 # TEST*2
WmlTest::generic( $pass, <<'EOT_IN', <<'EOT_OUT', '' ); WmlTest::all_passes( <<'EOT_IN', <<'EOT_OUT', '' );
#use wml::des::navbar #use wml::des::navbar
<navbar:define name=test> <navbar:define name=test>
<navbar:button id=foo url="foo.html" txt="foo"> <navbar:button id=foo url="foo.html" txt="foo">
<navbar:button id=bar url="bar.html" txt="bar"> <navbar:button id=bar url="bar.html" txt="bar">
</navbar:define> </navbar:define>
<navbar:render name=test> <navbar:render name=test>
EOT_IN EOT_IN
<a href="foo.html" onmouseover="self.status = 'foo.html'; return true" onmouseou t="self.status = ''; return true" onfocus="self.status = 'foo.html'; return true " onblur="self.status = ''; return true">foo</a><a href="bar.html" onmouseover=" self.status = 'bar.html'; return true" onmouseout="self.status = ''; return true " onfocus="self.status = 'bar.html'; return true" onblur="self.status = ''; retu rn true">bar</a> <a href="foo.html" onmouseover="self.status = 'foo.html'; return true" onmouseou t="self.status = ''; return true" onfocus="self.status = 'foo.html'; return true " onblur="self.status = ''; return true">foo</a><a href="bar.html" onmouseover=" self.status = 'bar.html'; return true" onmouseout="self.status = ''; return true " onfocus="self.status = 'bar.html'; return true" onblur="self.status = ''; retu rn true">bar</a>
EOT_OUT EOT_OUT
# TEST*2 # TEST*2
WmlTest::generic( $pass, <<'EOT_IN', <<'EOT_OUT', '' ); WmlTest::all_passes( <<'EOT_IN', <<'EOT_OUT', '' );
#use wml::des::navbar #use wml::des::navbar
<navbar:define name=test> <navbar:define name=test>
<navbar:button id=foo url="foo.html" txt="foo"> <navbar:button id=foo url="foo.html" txt="foo">
<navbar:button id=bar url="bar.html" txt="bar"> <navbar:button id=bar url="bar.html" txt="bar">
</navbar:define> </navbar:define>
<navbar:render name=test select=foo> <navbar:render name=test select=foo>
EOT_IN EOT_IN
foo<a href="bar.html" onmouseover="self.status = 'bar.html'; return true" onmous eout="self.status = ''; return true" onfocus="self.status = 'bar.html'; return t rue" onblur="self.status = ''; return true">bar</a> foo<a href="bar.html" onmouseover="self.status = 'bar.html'; return true" onmous eout="self.status = ''; return true" onfocus="self.status = 'bar.html'; return t rue" onblur="self.status = ''; return true">bar</a>
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)