You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by mg...@apache.org on 2010/12/17 11:26:54 UTC

svn commit: r1050338 - /wicket/branches/wicket-1.4.x/wicket/src/test/java/org/apache/wicket/markup/html/TestDecoratingHeaderResponse.java

Author: mgrigorov
Date: Fri Dec 17 10:26:54 2010
New Revision: 1050338

URL: http://svn.apache.org/viewvc?rev=1050338&view=rev
Log:
initial test for IHeaderResponseDecorator

Make the test a bit faster. No need to parse the rest of the page html after finding the tested <script>


Modified:
    wicket/branches/wicket-1.4.x/wicket/src/test/java/org/apache/wicket/markup/html/TestDecoratingHeaderResponse.java

Modified: wicket/branches/wicket-1.4.x/wicket/src/test/java/org/apache/wicket/markup/html/TestDecoratingHeaderResponse.java
URL: http://svn.apache.org/viewvc/wicket/branches/wicket-1.4.x/wicket/src/test/java/org/apache/wicket/markup/html/TestDecoratingHeaderResponse.java?rev=1050338&r1=1050337&r2=1050338&view=diff
==============================================================================
--- wicket/branches/wicket-1.4.x/wicket/src/test/java/org/apache/wicket/markup/html/TestDecoratingHeaderResponse.java (original)
+++ wicket/branches/wicket-1.4.x/wicket/src/test/java/org/apache/wicket/markup/html/TestDecoratingHeaderResponse.java Fri Dec 17 10:26:54 2010
@@ -79,6 +79,7 @@ public class TestDecoratingHeaderRespons
 				{
 					fail();
 				}
+				break;
 			}
 		}
 		while ((tag = (XmlTag)parser.nextTag()) != null);