You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by pe...@apache.org on 2011/01/17 16:29:30 UTC
svn commit: r1059953 -
/wicket/branches/wicket-1.4.x/wicket/src/test/java/org/apache/wicket/PageMapTest.java
Author: pedro
Date: Mon Jan 17 15:29:30 2011
New Revision: 1059953
URL: http://svn.apache.org/viewvc?rev=1059953&view=rev
Log:
extending the test case from WicketTestCase (it invokes the tester#destroy method)
Modified:
wicket/branches/wicket-1.4.x/wicket/src/test/java/org/apache/wicket/PageMapTest.java
Modified: wicket/branches/wicket-1.4.x/wicket/src/test/java/org/apache/wicket/PageMapTest.java
URL: http://svn.apache.org/viewvc/wicket/branches/wicket-1.4.x/wicket/src/test/java/org/apache/wicket/PageMapTest.java?rev=1059953&r1=1059952&r2=1059953&view=diff
==============================================================================
--- wicket/branches/wicket-1.4.x/wicket/src/test/java/org/apache/wicket/PageMapTest.java (original)
+++ wicket/branches/wicket-1.4.x/wicket/src/test/java/org/apache/wicket/PageMapTest.java Mon Jan 17 15:29:30 2011
@@ -19,8 +19,6 @@ package org.apache.wicket;
import java.io.Serializable;
import java.util.ArrayList;
-import junit.framework.TestCase;
-
import org.apache.wicket.markup.IMarkupResourceStreamProvider;
import org.apache.wicket.markup.html.WebPage;
import org.apache.wicket.markup.html.link.Link;
@@ -38,7 +36,7 @@ import org.apache.wicket.util.tester.Wic
/**
* https://issues.apache.org/jira/browse/WICKET-3108
*/
-public class PageMapTest extends TestCase
+public class PageMapTest extends WicketTestCase
{
private static final String TO_REMOVE_PAGE_MAP = "test-0";
private static final String WORKING_PAGE_MAP = "test-1";
@@ -46,14 +44,6 @@ public class PageMapTest extends TestCas
private static final int MAX_PAGE_MAPS = 2;
private static final long BIG_OBJECT_SIZE = 10000;
- private WicketTester tester;
-
- @Override
- protected void setUp() throws Exception
- {
- tester = new WicketTester();
- }
-
/**
* Making sure that the TO_REMOVE_PAGEMAP doesn't get back to session after a call to
* IPageMap.remove()