Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
b1a51989
Commit
b1a51989
authored
Mar 27, 2001
by
Guido van Rossum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Test cases including on-error testing.
parent
b63260b3
Changes
12
Show whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
196 additions
and
0 deletions
+196
-0
lib/python/TAL/test/input/test11.html
lib/python/TAL/test/input/test11.html
+14
-0
lib/python/TAL/test/input/test11.xml
lib/python/TAL/test/input/test11.xml
+14
-0
lib/python/TAL/test/input/test9.xml
lib/python/TAL/test/input/test9.xml
+30
-0
lib/python/TAL/test/output/test11.html
lib/python/TAL/test/output/test11.html
+5
-0
lib/python/TAL/test/output/test11.xml
lib/python/TAL/test/output/test11.xml
+5
-0
lib/python/TAL/test/output/test9.xml
lib/python/TAL/test/output/test9.xml
+30
-0
lib/python/TAL/tests/input/test11.html
lib/python/TAL/tests/input/test11.html
+14
-0
lib/python/TAL/tests/input/test11.xml
lib/python/TAL/tests/input/test11.xml
+14
-0
lib/python/TAL/tests/input/test9.xml
lib/python/TAL/tests/input/test9.xml
+30
-0
lib/python/TAL/tests/output/test11.html
lib/python/TAL/tests/output/test11.html
+5
-0
lib/python/TAL/tests/output/test11.xml
lib/python/TAL/tests/output/test11.xml
+5
-0
lib/python/TAL/tests/output/test9.xml
lib/python/TAL/tests/output/test9.xml
+30
-0
No files found.
lib/python/TAL/test/input/test11.html
0 → 100644
View file @
b1a51989
<html
xmlns:tal=
"http://xml.zope.org/namespaces/tal"
>
<p
tal:replace=
"structure string:<a>bar</a>"
tal:attributes=
"href string:http://www.python.org"
>
dummy text
</p>
<p
tal:define=
"x python:1"
tal:on-error=
"string:bad boy!"
>
<span
tal:define=
"x python:2"
>
<span
tal:define=
"x python:3"
>
<span
tal:content=
"python:1/0"
/>
</span>
</span>
</p>
<p
tal:on-error=
"string:x undefined"
>
<span
tal:content=
"x"
/>
</p>
</html>
lib/python/TAL/test/input/test11.xml
0 → 100644
View file @
b1a51989
<html
xmlns:tal=
"http://xml.zope.org/namespaces/tal"
>
<p
tal:replace=
"structure string:<a>bar</a>"
tal:attributes=
"href string:http://www.python.org"
>
dummy text
</p>
<p
tal:define=
"x python:1"
tal:on-error=
"string:bad boy!"
>
<span
tal:define=
"x python:2"
>
<span
tal:define=
"x python:3"
>
<span
tal:content=
"python:1/0"
/>
</span>
</span>
</p>
<p
tal:on-error=
"string:x undefined"
>
<span
tal:content=
"x"
/>
</p>
</html>
lib/python/TAL/test/input/test9.xml
0 → 100644
View file @
b1a51989
<html>
<body>
<p>
Just a bunch of text.
</p>
<p>
more text...
</p>
<ul>
<li>
first item
</li>
<li>
second item
<ol>
<li>
second list, first item
</li>
<li>
second list, second item
<dl
compact=
""
>
<dt>
term 1
</dt>
<dt>
term 2
</dt>
<dd>
definition
</dd>
</dl></li>
</ol></li>
<li>
Now let's have a paragraph...
<p>
My Paragraph
</p>
</li>
<li>
And a table in a list item:
<table>
</table></li>
</ul>
</body>
</html>
lib/python/TAL/test/output/test11.html
0 → 100644
View file @
b1a51989
<html
xmlns:tal=
"http://xml.zope.org/namespaces/tal"
>
<a
href=
"http://www.python.org"
>
bar
</a>
<p
tal:define=
"x python:1"
tal:on-error=
"string:bad boy!"
>
bad boy!
</p>
<p
tal:on-error=
"string:x undefined"
>
x undefined
</p>
</html>
lib/python/TAL/test/output/test11.xml
0 → 100644
View file @
b1a51989
<html
xmlns:tal=
"http://xml.zope.org/namespaces/tal"
>
<a
href=
"http://www.python.org"
>
bar
</a>
<p
tal:define=
"x python:1"
tal:on-error=
"string:bad boy!"
>
bad boy!
</p>
<p
tal:on-error=
"string:x undefined"
>
x undefined
</p>
</html>
lib/python/TAL/test/output/test9.xml
0 → 100644
View file @
b1a51989
<html>
<body>
<p>
Just a bunch of text.
</p>
<p>
more text...
</p>
<ul>
<li>
first item
</li>
<li>
second item
<ol>
<li>
second list, first item
</li>
<li>
second list, second item
<dl
compact=
""
>
<dt>
term 1
</dt>
<dt>
term 2
</dt>
<dd>
definition
</dd>
</dl></li>
</ol></li>
<li>
Now let's have a paragraph...
<p>
My Paragraph
</p>
</li>
<li>
And a table in a list item:
<table>
</table></li>
</ul>
</body>
</html>
lib/python/TAL/tests/input/test11.html
0 → 100644
View file @
b1a51989
<html
xmlns:tal=
"http://xml.zope.org/namespaces/tal"
>
<p
tal:replace=
"structure string:<a>bar</a>"
tal:attributes=
"href string:http://www.python.org"
>
dummy text
</p>
<p
tal:define=
"x python:1"
tal:on-error=
"string:bad boy!"
>
<span
tal:define=
"x python:2"
>
<span
tal:define=
"x python:3"
>
<span
tal:content=
"python:1/0"
/>
</span>
</span>
</p>
<p
tal:on-error=
"string:x undefined"
>
<span
tal:content=
"x"
/>
</p>
</html>
lib/python/TAL/tests/input/test11.xml
0 → 100644
View file @
b1a51989
<html
xmlns:tal=
"http://xml.zope.org/namespaces/tal"
>
<p
tal:replace=
"structure string:<a>bar</a>"
tal:attributes=
"href string:http://www.python.org"
>
dummy text
</p>
<p
tal:define=
"x python:1"
tal:on-error=
"string:bad boy!"
>
<span
tal:define=
"x python:2"
>
<span
tal:define=
"x python:3"
>
<span
tal:content=
"python:1/0"
/>
</span>
</span>
</p>
<p
tal:on-error=
"string:x undefined"
>
<span
tal:content=
"x"
/>
</p>
</html>
lib/python/TAL/tests/input/test9.xml
0 → 100644
View file @
b1a51989
<html>
<body>
<p>
Just a bunch of text.
</p>
<p>
more text...
</p>
<ul>
<li>
first item
</li>
<li>
second item
<ol>
<li>
second list, first item
</li>
<li>
second list, second item
<dl
compact=
""
>
<dt>
term 1
</dt>
<dt>
term 2
</dt>
<dd>
definition
</dd>
</dl></li>
</ol></li>
<li>
Now let's have a paragraph...
<p>
My Paragraph
</p>
</li>
<li>
And a table in a list item:
<table>
</table></li>
</ul>
</body>
</html>
lib/python/TAL/tests/output/test11.html
0 → 100644
View file @
b1a51989
<html
xmlns:tal=
"http://xml.zope.org/namespaces/tal"
>
<a
href=
"http://www.python.org"
>
bar
</a>
<p
tal:define=
"x python:1"
tal:on-error=
"string:bad boy!"
>
bad boy!
</p>
<p
tal:on-error=
"string:x undefined"
>
x undefined
</p>
</html>
lib/python/TAL/tests/output/test11.xml
0 → 100644
View file @
b1a51989
<html
xmlns:tal=
"http://xml.zope.org/namespaces/tal"
>
<a
href=
"http://www.python.org"
>
bar
</a>
<p
tal:define=
"x python:1"
tal:on-error=
"string:bad boy!"
>
bad boy!
</p>
<p
tal:on-error=
"string:x undefined"
>
x undefined
</p>
</html>
lib/python/TAL/tests/output/test9.xml
0 → 100644
View file @
b1a51989
<html>
<body>
<p>
Just a bunch of text.
</p>
<p>
more text...
</p>
<ul>
<li>
first item
</li>
<li>
second item
<ol>
<li>
second list, first item
</li>
<li>
second list, second item
<dl
compact=
""
>
<dt>
term 1
</dt>
<dt>
term 2
</dt>
<dd>
definition
</dd>
</dl></li>
</ol></li>
<li>
Now let's have a paragraph...
<p>
My Paragraph
</p>
</li>
<li>
And a table in a list item:
<table>
</table></li>
</ul>
</body>
</html>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment