commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r201850 - in /jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient: TestLocalHost.java TestNoHost.java TestQueryParameters.java TestWebappParameters.java
Date Sun, 26 Jun 2005 13:36:11 GMT
Author: olegk
Date: Sun Jun 26 06:36:10 2005
New Revision: 201850

URL: http://svn.apache.org/viewcvs?rev=201850&view=rev
Log:
Remaining TestWebApp based test cases ported to the SimpleHttpServer based test framework

Added:
    jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/TestQueryParameters.java
      - copied, changed from r201849, jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/TestWebappParameters.java
Removed:
    jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/TestWebappParameters.java
Modified:
    jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/TestLocalHost.java
    jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/TestNoHost.java

Modified: jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/TestLocalHost.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/TestLocalHost.java?rev=201850&r1=201849&r2=201850&view=diff
==============================================================================
--- jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/TestLocalHost.java
(original)
+++ jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/TestLocalHost.java
Sun Jun 26 06:36:10 2005
@@ -40,6 +40,8 @@
  *
  * @author Rodney Waldhoff
  * @version $Id$
+ * 
+ * @deprecated
  */
 public class TestLocalHost extends TestCase {
 
@@ -52,7 +54,6 @@
         suite.addTest(TestMethodsLocalHost.suite());
         suite.addTest(TestGetMethodLocal.suite());
         suite.addTest(TestTraceMethodLocal.suite());
-        suite.addTest(TestWebapp.suite());
         return suite;
     }
 

Modified: jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/TestNoHost.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/TestNoHost.java?rev=201850&r1=201849&r2=201850&view=diff
==============================================================================
--- jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/TestNoHost.java
(original)
+++ jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/TestNoHost.java
Sun Jun 26 06:36:10 2005
@@ -73,6 +73,7 @@
         suite.addTest(TestHttpParser.suite());
         suite.addTest(TestBadContentLength.suite());
         suite.addTest(TestEquals.suite());
+		suite.addTest(TestQueryParameters.suite());
         // Exceptions
         suite.addTest(TestExceptions.suite());        
         // HTTP state management

Copied: jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/TestQueryParameters.java
(from r201849, jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/TestWebappParameters.java)
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/TestQueryParameters.java?p2=jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/TestQueryParameters.java&p1=jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/TestWebappParameters.java&r1=201849&r2=201850&rev=201850&view=diff
==============================================================================
--- jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/TestWebappParameters.java
(original)
+++ jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/TestQueryParameters.java
Sun Jun 26 06:36:10 2005
@@ -40,19 +40,19 @@
  * @author Rodney Waldhoff
  * @version $Id$
  */
-public class TestWebappParameters extends HttpClientTestBase {
+public class TestQueryParameters extends HttpClientTestBase {
 
-    public TestWebappParameters(String testName) throws Exception {
+    public TestQueryParameters(String testName) throws Exception {
         super(testName);
     }
 
     public static Test suite() {
-        TestSuite suite = new TestSuite(TestWebappParameters.class);
+        TestSuite suite = new TestSuite(TestQueryParameters.class);
         return suite;
     }
 
     public static void main(String args[]) {
-        String[] testCaseName = { TestWebappParameters.class.getName() };
+        String[] testCaseName = { TestQueryParameters.class.getName() };
         junit.textui.TestRunner.main(testCaseName);
     }
 



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message