[z3-checkins] r33930 - z3/deliverance/branches/packaged/deliverance/test-data
cabraham at codespeak.net
cabraham at codespeak.net
Mon Oct 30 23:08:03 CET 2006
Author: cabraham
Date: Mon Oct 30 23:08:01 2006
New Revision: 33930
Modified:
z3/deliverance/branches/packaged/deliverance/test-data/test_drop.xml
z3/deliverance/branches/packaged/deliverance/test-data/test_replace.xml
Log:
removed a few tests that are not needed
Modified: z3/deliverance/branches/packaged/deliverance/test-data/test_drop.xml
==============================================================================
--- z3/deliverance/branches/packaged/deliverance/test-data/test_drop.xml (original)
+++ z3/deliverance/branches/packaged/deliverance/test-data/test_drop.xml Mon Oct 30 23:08:01 2006
@@ -208,24 +208,5 @@
</output>
</deliverance-test>
-<!-- drop an element that is just text -->
-<!--<deliverance-test>
- <rules xmlns="http://www.plone.org/deliverance">
- <drop theme="//div[@id='foo']/child::node()" />
- </rules>
-
- <theme base="http://example.com">
- <html><head><title>Blah</title></head><body>before<div id="foo">Dummy Content</div>after</body></html>
- </theme>
-
- <content>
- <html><body>Real Content</body></html>
- </content>
-
- <output>
- <html><head><title>Blah</title></head><body>before<div id="foo"></div>after</body></html>
- </output>
-</deliverance-test>-->
-
</deliverance-test-suite>
Modified: z3/deliverance/branches/packaged/deliverance/test-data/test_replace.xml
==============================================================================
--- z3/deliverance/branches/packaged/deliverance/test-data/test_replace.xml (original)
+++ z3/deliverance/branches/packaged/deliverance/test-data/test_replace.xml Mon Oct 30 23:08:01 2006
@@ -234,24 +234,5 @@
</deliverance-test>
-<!-- a test that replaces text with a mixture of elements and text -->
-<!-- <deliverance-test>
- <rules xmlns="http://www.plone.org/deliverance">
- <replace theme="//div[@id='foo']/child::node()" content="//div[@id='bar']/child::node()" />
- </rules>
-
- <theme base="http://example.com">
- <html><head><title>Blah</title></head><body><p>some text</p><div id="foo">Dummy Content</div>theme tail</body></html>
- </theme>
-
- <content>
- <html><body><div id="bar">Real Content<p>a nice p tag</p>mid text<i>some i text</i>end tail</div></body></html>
- </content>
-
- <output>
- <html><head><title>Blah</title></head><body><p>some text</p><div id="foo">Real Content<p>a nice p tag</p>mid text<i>some i text</i>end tail</div>theme tail</body></html>
- </output>
-</deliverance-test>-->
-
</deliverance-test-suite>
More information about the z3-checkins
mailing list