diff options
Diffstat (limited to 'src/zope/pagetemplate/tests/output')
16 files changed, 394 insertions, 0 deletions
diff --git a/src/zope/pagetemplate/tests/output/__init__.py b/src/zope/pagetemplate/tests/output/__init__.py new file mode 100644 index 0000000..b711d36 --- /dev/null +++ b/src/zope/pagetemplate/tests/output/__init__.py @@ -0,0 +1,2 @@ +# +# This file is necessary to make this directory a package. diff --git a/src/zope/pagetemplate/tests/output/checknotexpression.html b/src/zope/pagetemplate/tests/output/checknotexpression.html new file mode 100644 index 0000000..48e2ba0 --- /dev/null +++ b/src/zope/pagetemplate/tests/output/checknotexpression.html @@ -0,0 +1,9 @@ +<html> +<head></head> +<body> +<div>not:python:0</div> + + + +</body> +</html> diff --git a/src/zope/pagetemplate/tests/output/checknothing.html b/src/zope/pagetemplate/tests/output/checknothing.html new file mode 100644 index 0000000..c65a966 --- /dev/null +++ b/src/zope/pagetemplate/tests/output/checknothing.html @@ -0,0 +1,7 @@ +<html> +<body> +<head> + <title></title> +</head> +</body> +</html> diff --git a/src/zope/pagetemplate/tests/output/checkpathalt.html b/src/zope/pagetemplate/tests/output/checkpathalt.html new file mode 100644 index 0000000..ba33be1 --- /dev/null +++ b/src/zope/pagetemplate/tests/output/checkpathalt.html @@ -0,0 +1,17 @@ +<html> +<body> + <div> + <p>X</p> + <p>X</p> + <p>X</p> + <p>X</p> + <p>X</p> + + <p name="">Z</p> + <p name="">Z</p> + <p>Z</p> + + <p>c</p> + </div> +</body> +</html> diff --git a/src/zope/pagetemplate/tests/output/checkpathnothing.html b/src/zope/pagetemplate/tests/output/checkpathnothing.html new file mode 100644 index 0000000..c65a966 --- /dev/null +++ b/src/zope/pagetemplate/tests/output/checkpathnothing.html @@ -0,0 +1,7 @@ +<html> +<body> +<head> + <title></title> +</head> +</body> +</html> diff --git a/src/zope/pagetemplate/tests/output/checkwithxmlheader.html b/src/zope/pagetemplate/tests/output/checkwithxmlheader.html new file mode 100644 index 0000000..d2afeb0 --- /dev/null +++ b/src/zope/pagetemplate/tests/output/checkwithxmlheader.html @@ -0,0 +1,4 @@ +<?xml version="1.0" ?> +<html> +<body>Hello!</body> +</html> diff --git a/src/zope/pagetemplate/tests/output/dtml1a.html b/src/zope/pagetemplate/tests/output/dtml1a.html new file mode 100644 index 0000000..f146b34 --- /dev/null +++ b/src/zope/pagetemplate/tests/output/dtml1a.html @@ -0,0 +1,34 @@ +<html> + <head><title>Test of documentation templates</title></head> + <body> + + <dl> + <dt>The arguments to this test program were:</dt> + <dd> + <ul> + <li> + Argument number 1 + is one + </li><li> + Argument number 2 + is two + </li><li> + Argument number 3 + is three + </li><li> + Argument number 4 + is cha + </li><li> + Argument number 5 + is cha + </li><li> + Argument number 6 + is cha + </li> + </ul> + </dd> + </dl> + + And thats da trooth. + </body> +</html> diff --git a/src/zope/pagetemplate/tests/output/dtml1b.html b/src/zope/pagetemplate/tests/output/dtml1b.html new file mode 100644 index 0000000..edc7637 --- /dev/null +++ b/src/zope/pagetemplate/tests/output/dtml1b.html @@ -0,0 +1,7 @@ +<html> + <head><title>Test of documentation templates</title></head> + <body> + <p>No arguments were given.</p> + And thats da trooth. + </body> +</html> diff --git a/src/zope/pagetemplate/tests/output/dtml3.html b/src/zope/pagetemplate/tests/output/dtml3.html new file mode 100644 index 0000000..fd774e1 --- /dev/null +++ b/src/zope/pagetemplate/tests/output/dtml3.html @@ -0,0 +1,30 @@ +<head><title>Test of documentation templates</title></head> +<body> + <div> + The arguments were: + + <dl> + <span> + <dt>one.</dt> + <dd>Argument 1 was one</dd> + </span><span> + <dt>two.</dt> + <dd>Argument 2 was two</dd> + </span><span> + <dt>three.</dt> + <dd>Argument 3 was three</dd> + </span><span> + <dt>four.</dt> + <dd>Argument 4 was four</dd> + </span><span> + <dt>five.</dt> + <dd>Argument 5 was five</dd> + </span> + </dl> + <span> + (six-ten) + </span> + </div> + + And I am 100% sure! +</body> diff --git a/src/zope/pagetemplate/tests/output/globalsshadowlocals.html b/src/zope/pagetemplate/tests/output/globalsshadowlocals.html new file mode 100644 index 0000000..e22e59b --- /dev/null +++ b/src/zope/pagetemplate/tests/output/globalsshadowlocals.html @@ -0,0 +1,14 @@ +<html> +<head></head> +<body> + <div> + <span>2</span> + </div> + <div> + <span>1</span> + </div> + <div> + <span>3</span> + </div> +</body> +</html> diff --git a/src/zope/pagetemplate/tests/output/loop1.html b/src/zope/pagetemplate/tests/output/loop1.html new file mode 100644 index 0000000..f16ea89 --- /dev/null +++ b/src/zope/pagetemplate/tests/output/loop1.html @@ -0,0 +1,25 @@ +<html> +<head> +<title>Loop doc</title> +</head> +<body> +<p>Choose your type:</p> +<ul> + <li> + <a href="/mach/digital"> + 1. + digital</a> + </li> + <li> + <a href="/mach/analog"> + 2. + analog</a> + </li> + <li> + <a href="/mach/organic"> + 3. + organic</a> + </li> +</ul> +</body> +</html> diff --git a/src/zope/pagetemplate/tests/output/stringexpression.html b/src/zope/pagetemplate/tests/output/stringexpression.html new file mode 100644 index 0000000..58b55f5 --- /dev/null +++ b/src/zope/pagetemplate/tests/output/stringexpression.html @@ -0,0 +1,7 @@ +<html> +<body> +<head> + <title>Hello World!</title> +</head> +</body> +</html> diff --git a/src/zope/pagetemplate/tests/output/teeshop1.html b/src/zope/pagetemplate/tests/output/teeshop1.html new file mode 100644 index 0000000..e5a3c43 --- /dev/null +++ b/src/zope/pagetemplate/tests/output/teeshop1.html @@ -0,0 +1,106 @@ +<html> +<head> +<title>Zope Stuff</title> +<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> +<link rel="stylesheet" href="/common.css"> +</head> + +<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"> +<table width="100%" border="0" cellspacing="0" cellpadding="0"> + <tr bgcolor="#0000CC" align="center"> + <td> + <table width="200" border="0" cellspacing="0" cellpadding="0"> + <tr bgcolor="#FFFFFF"> + <td><img src="/images/lside.gif" width="52" height="94"><img src="/images/swlogo.gif" width="150" height="89"><img src="/images/rside.gif" width="52" height="94"></td> + </tr> + </table> + </td> + </tr> +</table> +<br> +<table width="300" border="0" cellspacing="0" cellpadding="0" align="center"> + <tr align="center"> + <td width="25%" class="boldbodylist">apparel</td> + <td width="25%" class="boldbodylist">mugs</td> + <td width="25%" class="boldbodylist">toys</td> + <td width="25%" class="boldbodylist">misc</td> + </tr> +</table> +<br> +<br> +<div> +<table width="500" border="0" cellspacing="0" cellpadding="0" align="center"> + <tr> + <td bgcolor="#0000CC"> + <table width="100%" border="0" cellspacing="1" cellpadding="3"> + <tr bgcolor="#FFFFFF" align="center"> + <td><img src="/images/welcome.gif" width="293" height="28"></td> + </tr> + <tr bgcolor="#FFFFFF" align="center" valign="top"> + <td> + <table width="100%" border="0" cellspacing="0" cellpadding="6"> + <tr> + <td colspan="2" class="bodylist" height="200" valign="top"><b>Description: + </b>This is the tee for those who LOVE Zope. Show your heart on your tee.</td> + <td align="right" width="1%" rowspan="2"> + <p><img src="/images/smlatee.jpg" + width="200" height="200"></p> + </td> + </tr> + <tr> + <td class="bodylist"><img src="images/clear.gif" width="150" height="10"></td> + <td class="bodylist"><b>Price</b>:12.99</td> + </tr> + </table> + </td> + </tr> + <tr bgcolor="#FFFFFF" align="center" valign="top"> + <td> + <table width="100%" border="0" cellspacing="0" cellpadding="6"> + <tr> + <td colspan="2" class="bodylist" height="200" valign="top"><b>Description: + </b>This is the tee for Jim Fulton. He's the Zope Pope!</td> + <td align="right" width="1%" rowspan="2"> + <p><img src="/images/smpztee.jpg" + width="200" height="200"></p> + </td> + </tr> + <tr> + <td class="bodylist"><img src="images/clear.gif" width="150" height="10"></td> + <td class="bodylist"><b>Price</b>:11.99</td> + </tr> + </table> + </td> + </tr> + <tr bgcolor="#FFFFFF" align="center" valign="top"> + <td> + <table width="100%" border="0" cellspacing="0" cellpadding="6"> + <tr> + <td align="center"><img src="images/buttons/submit.gif" width="87" height="30"></td> + <td align="center"><img src="images/buttons/cancel.gif" width="87" height="30"></td> + </tr> + </table> + </td> + </tr> + </table> + </td> + </tr> +</table> +</div> +<br><br> +<table width="100%" border="0" cellspacing="1" cellpadding="3" align="center"> + <tr> + <td align="center" bgcolor="#FFFFFF" class="bodylist"> + Copyright © 2000 + <a href="http://www.4-am.com">4AM Productions, Inc.</a>. + All rights reserved. <br> + Questions or problems should be directed to + <a href="mailto:webmaster@teamzonline.com">the webmaster</a>, + 254-412-0846.</td> + </tr> + <tr> + <td align="center"><img src="/images/zopelogos/buildzope.gif" width="54" height="54"></td> + </tr> +</table> +</body> +</html> diff --git a/src/zope/pagetemplate/tests/output/teeshop2.html b/src/zope/pagetemplate/tests/output/teeshop2.html new file mode 100644 index 0000000..9eef0f2 --- /dev/null +++ b/src/zope/pagetemplate/tests/output/teeshop2.html @@ -0,0 +1,50 @@ +<html> +<head> +<title>Zope Stuff</title> +<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> +<link rel="stylesheet" href="/common.css"> +</head> + +<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"> +<table width="100%" border="0" cellspacing="0" cellpadding="0"> + <tr bgcolor="#0000CC" align="center"> + <td> + <table width="200" border="0" cellspacing="0" cellpadding="0"> + <tr bgcolor="#FFFFFF"> + <td><img src="/images/lside.gif" width="52" height="94"><img src="/images/swlogo.gif" width="150" height="89"><img src="/images/rside.gif" width="52" height="94"></td> + </tr> + </table> + </td> + </tr> +</table> +<br> +<table width="300" border="0" cellspacing="0" cellpadding="0" align="center"> + <tr align="center"> + <td width="25%" class="boldbodylist">apparel</td> + <td width="25%" class="boldbodylist">mugs</td> + <td width="25%" class="boldbodylist">toys</td> + <td width="25%" class="boldbodylist">misc</td> + </tr> +</table> +<br> +<br> +<div> +Body +</div> +<br><br> +<table width="100%" border="0" cellspacing="1" cellpadding="3" align="center"> + <tr> + <td align="center" bgcolor="#FFFFFF" class="bodylist"> + Copyright © 2000 + <a href="http://www.4-am.com">4AM Productions, Inc.</a>. + All rights reserved. <br> + Questions or problems should be directed to + <a href="mailto:webmaster@teamzonline.com">the webmaster</a>, + 254-412-0846.</td> + </tr> + <tr> + <td align="center"><img src="/images/zopelogos/buildzope.gif" width="54" height="54"></td> + </tr> +</table> +</body> +</html> diff --git a/src/zope/pagetemplate/tests/output/teeshoplaf.html b/src/zope/pagetemplate/tests/output/teeshoplaf.html new file mode 100644 index 0000000..547dd6d --- /dev/null +++ b/src/zope/pagetemplate/tests/output/teeshoplaf.html @@ -0,0 +1,73 @@ +<html> +<head> +<title>Zope Stuff</title> +<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> +<link rel="stylesheet" href="/common.css"> +</head> + +<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"> +<table width="100%" border="0" cellspacing="0" cellpadding="0"> + <tr bgcolor="#0000CC" align="center"> + <td> + <table width="200" border="0" cellspacing="0" cellpadding="0"> + <tr bgcolor="#FFFFFF"> + <td><img src="/images/lside.gif" width="52" height="94"><img src="/images/swlogo.gif" width="150" height="89"><img src="/images/rside.gif" width="52" height="94"></td> + </tr> + </table> + </td> + </tr> +</table> +<br> +<table width="300" border="0" cellspacing="0" cellpadding="0" align="center"> + <tr align="center"> + <td width="25%" class="boldbodylist">apparel</td> + <td width="25%" class="boldbodylist">mugs</td> + <td width="25%" class="boldbodylist">toys</td> + <td width="25%" class="boldbodylist">misc</td> + </tr> +</table> +<br> +<br> +<div> +<table width="500" border="0" cellspacing="0" cellpadding="0" align="center"> + <tr> + <td bgcolor="#0000CC"> + <table width="100%" border="0" cellspacing="1" cellpadding="3"> + <tr bgcolor="#FFFFFF" align="center"> + <td><img src="/images/welcome.gif" width="293" height="28"></td> + </tr> + <tr bgcolor="#FFFFFF" align="center" valign="top"> + <td> <br> + <table width="100%" border="0" cellspacing="0" cellpadding="6"> + <tr> + <td>This is the tee for those who LOVE Zope. Show your heart on + your tee.</td> + <td align="right" width="1%"> + <p><img src="/images/smlatee.jpg" width="200" height="200"></p> + </td> + </tr> + </table> + </td> + </tr> + </table> + </td> + </tr> +</table> +</div> +<br><br> +<table width="100%" border="0" cellspacing="1" cellpadding="3" align="center"> + <tr> + <td align="center" bgcolor="#FFFFFF" class="bodylist"> + Copyright © 2000 + <a href="http://www.4-am.com">4AM Productions, Inc.</a>. + All rights reserved. <br> + Questions or problems should be directed to + <a href="mailto:webmaster@teamzonline.com">the webmaster</a>, + 254-412-0846.</td> + </tr> + <tr> + <td align="center"><img src="/images/zopelogos/buildzope.gif" width="54" height="54"></td> + </tr> +</table> +</body> +</html> diff --git a/src/zope/pagetemplate/tests/output/translation.html b/src/zope/pagetemplate/tests/output/translation.html new file mode 100644 index 0000000..4335d11 --- /dev/null +++ b/src/zope/pagetemplate/tests/output/translation.html @@ -0,0 +1,2 @@ +<p>Define and translate message id in ZPT</p> +<p>Translate this!</p> |