Author: hlship
Date: Wed Jan 9 11:20:22 2008
New Revision: 610518
URL: http://svn.apache.org/viewvc?rev=610518&view=rev
Log:
TAPESTRY-2028: Mimimize whitespace in the output markup
Modified:
tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry/integration/IntegrationTests.java
tapestry/tapestry5/trunk/tapestry-core/src/test/resources/org/apache/tapestry/integration/app1/pages/MerryChristmas.tml
tapestry/tapestry5/trunk/tapestry-core/src/test/resources/org/apache/tapestry/integration/app1/pages/RenderPhaseOrder.tml
Modified:
tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry/integration/IntegrationTests.java
URL:
http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry/integration/IntegrationTests.java?rev=610518&r1=610517&r2=610518&view=diff
==============================================================================
---
tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry/integration/IntegrationTests.java
(original)
+++
tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry/integration/IntegrationTests.java
Wed Jan 9 11:20:22 2008
@@ -79,7 +79,7 @@
start("Count Page");
- assertTextPresent("Ho! Ho! Ho!");
+ assertTextPresent("Merry Christmas: Ho! Ho! Ho! ");
}
/**
@@ -310,6 +310,7 @@
public void render_phase_order()
{
start("RenderPhaseOrder");
+
assertTextPresent(
"[BEGIN-TRACER-MIXIN BEGIN-ABSTRACT-TRACER BEGIN-TRACER BODY
AFTER-TRACER AFTER-ABSTRACT-TRACER AFTER-TRACER-MIXIN]");
Modified:
tapestry/tapestry5/trunk/tapestry-core/src/test/resources/org/apache/tapestry/integration/app1/pages/MerryChristmas.tml
URL:
http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/test/resources/org/apache/tapestry/integration/app1/pages/MerryChristmas.tml?rev=610518&r1=610517&r2=610518&view=diff
==============================================================================
---
tapestry/tapestry5/trunk/tapestry-core/src/test/resources/org/apache/tapestry/integration/app1/pages/MerryChristmas.tml
(original)
+++
tapestry/tapestry5/trunk/tapestry-core/src/test/resources/org/apache/tapestry/integration/app1/pages/MerryChristmas.tml
Wed Jan 9 11:20:22 2008
@@ -1,5 +1,7 @@
<html t:type="Border"
xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd">
<p>Merry Christmas:
- <t:loop source="1..3" xml:space="preserve">Ho!</t:loop>
+ <t:loop source="1..3" xml:space="preserve">
+ Ho!
+ </t:loop>
</p>
</html>
Modified:
tapestry/tapestry5/trunk/tapestry-core/src/test/resources/org/apache/tapestry/integration/app1/pages/RenderPhaseOrder.tml
URL:
http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/test/resources/org/apache/tapestry/integration/app1/pages/RenderPhaseOrder.tml?rev=610518&r1=610517&r2=610518&view=diff
==============================================================================
---
tapestry/tapestry5/trunk/tapestry-core/src/test/resources/org/apache/tapestry/integration/app1/pages/RenderPhaseOrder.tml
(original)
+++
tapestry/tapestry5/trunk/tapestry-core/src/test/resources/org/apache/tapestry/integration/app1/pages/RenderPhaseOrder.tml
Wed Jan 9 11:20:22 2008
@@ -7,7 +7,9 @@
</p>
<p>
- [<t:Tracer t:mixins="TracerMixin" xml:space="preserve">BODY</t:Tracer>]
+ [<t:Tracer t:mixins="TracerMixin" xml:space="preserve">
+ BODY
+ </t:Tracer>]
</p>
</html>