You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by al...@apache.org on 2007/05/11 14:20:16 UTC
svn commit: r537174 -
/incubator/wicket/trunk/jdk-1.4/wicket/src/test/java/org/apache/wicket/markup/parser/
Author: almaw
Date: Fri May 11 05:20:15 2007
New Revision: 537174
URL: http://svn.apache.org/viewvc?view=rev&rev=537174
Log:
Relative URLs mean this is now simpler.
Added:
incubator/wicket/trunk/jdk-1.4/wicket/src/test/java/org/apache/wicket/markup/parser/PageExpectedResult_2.html
- copied unchanged from r536945, incubator/wicket/trunk/jdk-1.4/wicket/src/test/java/org/apache/wicket/markup/parser/Page2ExpectedResult.html
Removed:
incubator/wicket/trunk/jdk-1.4/wicket/src/test/java/org/apache/wicket/markup/parser/Page2ExpectedResult.html
incubator/wicket/trunk/jdk-1.4/wicket/src/test/java/org/apache/wicket/markup/parser/PageExpectedResult_othercontext.html
incubator/wicket/trunk/jdk-1.4/wicket/src/test/java/org/apache/wicket/markup/parser/PageExpectedResult_rootcontext.html
Modified:
incubator/wicket/trunk/jdk-1.4/wicket/src/test/java/org/apache/wicket/markup/parser/Page_2.java
incubator/wicket/trunk/jdk-1.4/wicket/src/test/java/org/apache/wicket/markup/parser/RelativePathPrefixHandlerTest.java
Modified: incubator/wicket/trunk/jdk-1.4/wicket/src/test/java/org/apache/wicket/markup/parser/Page_2.java
URL: http://svn.apache.org/viewvc/incubator/wicket/trunk/jdk-1.4/wicket/src/test/java/org/apache/wicket/markup/parser/Page_2.java?view=diff&rev=537174&r1=537173&r2=537174
==============================================================================
--- incubator/wicket/trunk/jdk-1.4/wicket/src/test/java/org/apache/wicket/markup/parser/Page_2.java (original)
+++ incubator/wicket/trunk/jdk-1.4/wicket/src/test/java/org/apache/wicket/markup/parser/Page_2.java Fri May 11 05:20:15 2007
@@ -24,15 +24,15 @@
*
* @author Chris Turner
*/
-public class Page_2 extends WebPage
+public class Page_2 extends WebPage
{
private static final long serialVersionUID = 1L;
-
+
/**
* Construct.
*
*/
- public Page_2()
+ public Page_2()
{
- }
+ }
}
Modified: incubator/wicket/trunk/jdk-1.4/wicket/src/test/java/org/apache/wicket/markup/parser/RelativePathPrefixHandlerTest.java
URL: http://svn.apache.org/viewvc/incubator/wicket/trunk/jdk-1.4/wicket/src/test/java/org/apache/wicket/markup/parser/RelativePathPrefixHandlerTest.java?view=diff&rev=537174&r1=537173&r2=537174
==============================================================================
--- incubator/wicket/trunk/jdk-1.4/wicket/src/test/java/org/apache/wicket/markup/parser/RelativePathPrefixHandlerTest.java (original)
+++ incubator/wicket/trunk/jdk-1.4/wicket/src/test/java/org/apache/wicket/markup/parser/RelativePathPrefixHandlerTest.java Fri May 11 05:20:15 2007
@@ -55,28 +55,9 @@
/**
* @throws Exception
*/
- public final void testWithRootContext() throws Exception
- {
- tester.getApplication().getApplicationSettings().setContextPath("");
- executeTest(Page_1.class, "PageExpectedResult_rootcontext.html");
- }
-
- /**
- * @throws Exception
- */
- public final void testWithOtherContext() throws Exception
- {
- tester.getApplication().getApplicationSettings().setContextPath("/other");
- executeTest(Page_1.class, "PageExpectedResult_othercontext.html");
- }
-
- /**
- * @throws Exception
- */
public final void testAnchors() throws Exception
{
- tester.getApplication().getApplicationSettings().setContextPath("/other");
- executeTest(Page_2.class, "Page2ExpectedResult.html");
+ executeTest(Page_2.class, "PageExpectedResult_2.html");
}
}