Author: jdonnerstag Date: Tue May 10 20:14:56 2011 New Revision: 1101626 URL: http://svn.apache.org/viewvc?rev=1101626&view=rev Log: removed <wicket:component> related tests
Removed: wicket/trunk/wicket-core/src/test/java/org/apache/wicket/markup/ComponentCreateTagExpectedResult_1.html wicket/trunk/wicket-core/src/test/java/org/apache/wicket/markup/ComponentCreateTagExpectedResult_2.html wicket/trunk/wicket-core/src/test/java/org/apache/wicket/markup/ComponentCreateTagExpectedResult_3.html wicket/trunk/wicket-core/src/test/java/org/apache/wicket/markup/ComponentCreateTagExpectedResult_4.html wicket/trunk/wicket-core/src/test/java/org/apache/wicket/markup/ComponentCreateTagExpectedResult_5.html wicket/trunk/wicket-core/src/test/java/org/apache/wicket/markup/ComponentCreateTagExpectedResult_6.html wicket/trunk/wicket-core/src/test/java/org/apache/wicket/markup/ComponentCreateTagTest.java wicket/trunk/wicket-core/src/test/java/org/apache/wicket/markup/ComponentCreateTag_1.html wicket/trunk/wicket-core/src/test/java/org/apache/wicket/markup/ComponentCreateTag_1.java wicket/trunk/wicket-core/src/test/java/org/apache/wicket/markup/ComponentCreateTag_2.html wicket/trunk/wicket-core/src/test/java/org/apache/wicket/markup/ComponentCreateTag_2.java wicket/trunk/wicket-core/src/test/java/org/apache/wicket/markup/ComponentCreateTag_3.html wicket/trunk/wicket-core/src/test/java/org/apache/wicket/markup/ComponentCreateTag_3.java wicket/trunk/wicket-core/src/test/java/org/apache/wicket/markup/ComponentCreateTag_4.html wicket/trunk/wicket-core/src/test/java/org/apache/wicket/markup/ComponentCreateTag_4.java wicket/trunk/wicket-core/src/test/java/org/apache/wicket/markup/ComponentCreateTag_6.html wicket/trunk/wicket-core/src/test/java/org/apache/wicket/markup/ComponentCreateTag_6.java Modified: wicket/trunk/wicket-core/src/test/java/org/apache/wicket/markup/ComponentTagAttributeEscapingTest.java wicket/trunk/wicket-core/src/test/java/org/apache/wicket/markup/MarkupParserTest.java Modified: wicket/trunk/wicket-core/src/test/java/org/apache/wicket/markup/ComponentTagAttributeEscapingTest.java URL: http://svn.apache.org/viewvc/wicket/trunk/wicket-core/src/test/java/org/apache/wicket/markup/ComponentTagAttributeEscapingTest.java?rev=1101626&r1=1101625&r2=1101626&view=diff ============================================================================== --- wicket/trunk/wicket-core/src/test/java/org/apache/wicket/markup/ComponentTagAttributeEscapingTest.java (original) +++ wicket/trunk/wicket-core/src/test/java/org/apache/wicket/markup/ComponentTagAttributeEscapingTest.java Tue May 10 20:14:56 2011 @@ -42,7 +42,7 @@ public class ComponentTagAttributeEscapi String response = tester.getLastResponseAsString(); System.out.println(response); assertTrue("One of the pound entity representations is missing: £ or £", - response.contains("££")); + response.contains("\u00a3\u00a3")); assertTrue("must not be double escaped", response.contains("Watch escaped value: >>")); assertTrue("following the last assert logic, this one would true", response.contains("alerting: &")); Modified: wicket/trunk/wicket-core/src/test/java/org/apache/wicket/markup/MarkupParserTest.java URL: http://svn.apache.org/viewvc/wicket/trunk/wicket-core/src/test/java/org/apache/wicket/markup/MarkupParserTest.java?rev=1101626&r1=1101625&r2=1101626&view=diff ============================================================================== --- wicket/trunk/wicket-core/src/test/java/org/apache/wicket/markup/MarkupParserTest.java (original) +++ wicket/trunk/wicket-core/src/test/java/org/apache/wicket/markup/MarkupParserTest.java Tue May 10 20:14:56 2011 @@ -16,6 +16,13 @@ */ package org.apache.wicket.markup; +import java.io.IOException; +import java.text.ParseException; +import java.util.Locale; +import java.util.regex.Matcher; + +import junit.framework.Assert; + import org.apache.wicket.WicketTestCase; import org.apache.wicket.markup.html.border.Border; import org.apache.wicket.markup.html.pages.PageExpiredErrorPage; @@ -30,13 +37,6 @@ import org.apache.wicket.util.string.Str import org.slf4j.Logger; import org.slf4j.LoggerFactory; -import java.io.IOException; -import java.text.ParseException; -import java.util.Locale; -import java.util.regex.Matcher; - -import junit.framework.Assert; - /** * Test cases for markup parser. @@ -339,12 +339,6 @@ public final class MarkupParserTest exte } new MarkupParser( - "<wicket:component name = \"componentName\" class = \"classname\" param1 = \"value1\"/>").parse(); - new MarkupParser( - "<wicket:component name = \"componentName\" class = \"classname\" param1 = \"value1\"> </wicket:component>").parse(); - new MarkupParser( - "<wicket:component name = \"componentName\" class = \"classname\" param1 = \"value1\"> <span wicket:id=\"msg\">hello world!</span></wicket:component>").parse(); - new MarkupParser( "<wicket:panel><div id=\"definitionsContentBox\"><span wicket:id=\"contentPanel\"/></div></wicket:panel>").parse(); }