Author: ivaynberg Date: Fri Dec 4 06:05:08 2009 New Revision: 887080 URL: http://svn.apache.org/viewvc?rev=887080&view=rev Log: bump junit to 4.7
Modified: wicket/branches/wicket-1.4.x/pom.xml wicket/branches/wicket-1.4.x/wicket-examples/src/test/java/org/apache/wicket/examples/AllTests.java Modified: wicket/branches/wicket-1.4.x/pom.xml URL: http://svn.apache.org/viewvc/wicket/branches/wicket-1.4.x/pom.xml?rev=887080&r1=887079&r2=887080&view=diff ============================================================================== --- wicket/branches/wicket-1.4.x/pom.xml (original) +++ wicket/branches/wicket-1.4.x/pom.xml Fri Dec 4 06:05:08 2009 @@ -317,7 +317,7 @@ <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> - <version>3.8.1</version> + <version>4.7</version> <scope>provided</scope> </dependency> <dependency> Modified: wicket/branches/wicket-1.4.x/wicket-examples/src/test/java/org/apache/wicket/examples/AllTests.java URL: http://svn.apache.org/viewvc/wicket/branches/wicket-1.4.x/wicket-examples/src/test/java/org/apache/wicket/examples/AllTests.java?rev=887080&r1=887079&r2=887080&view=diff ============================================================================== --- wicket/branches/wicket-1.4.x/wicket-examples/src/test/java/org/apache/wicket/examples/AllTests.java (original) +++ wicket/branches/wicket-1.4.x/wicket-examples/src/test/java/org/apache/wicket/examples/AllTests.java Fri Dec 4 06:05:08 2009 @@ -17,6 +17,7 @@ package org.apache.wicket.examples; import junit.framework.Test; +import junit.framework.TestCase; import junit.framework.TestSuite; import org.apache.wicket.examples.ajax.prototype.AjaxTest; @@ -77,42 +78,34 @@ return new JettyTestCaseDecorator(suite); } - /** - * Construct. - */ public AllTests() { super(); } - /** - * Construct. - * - * @param arg0 - */ - public AllTests(Class<?> arg0) + public AllTests(Class<? extends TestCase> theClass, String name) { - super(arg0); + super(theClass, name); } - /** - * Construct. - * - * @param arg0 - * @param arg1 - */ - public AllTests(Class<?> arg0, String arg1) + public AllTests(Class<? extends TestCase> theClass) { - super(arg0, arg1); + super(theClass); } - /** - * Construct. - * - * @param arg0 - */ - public AllTests(String arg0) + public AllTests(Class<? extends TestCase>[] classes, String name) + { + super(classes, name); + } + + public AllTests(Class<?>... classes) { - super(arg0); + super(classes); } + + public AllTests(String name) + { + super(name); + } + }