commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r161334 - jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient
Date Thu, 14 Apr 2005 18:23:31 GMT
Author: olegk
Date: Thu Apr 14 11:23:30 2005
New Revision: 161334

URL: http://svn.apache.org/viewcvs?view=rev&rev=161334
Log:
HTTP POST test cases ported to the SimpleHTTPServer based testing tramework

Contributed by Oleg Kalnichevski

Added:
    jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/TestPostMethod.java
      - copied, changed from r161333, jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/TestWebappPostMethod.java
Removed:
    jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/TestWebappPostMethod.java
Modified:
    jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/TestNoHost.java
    jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/TestWebapp.java

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?view=diff&r1=161333&r2=161334
==============================================================================
--- 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
Thu Apr 14 11:23:30 2005
@@ -96,6 +96,7 @@
         // Method specific
         suite.addTest(TestEntityEnclosingMethod.suite());
         suite.addTest(TestPostParameterEncoding.suite());
+        suite.addTest(TestPostMethod.suite());
         suite.addTest(TestPartsNoHost.suite());
         suite.addTest(TestMultipartPost.suite());
         // Non compliant behaviour

Copied: jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/TestPostMethod.java
(from r161333, jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/TestWebappPostMethod.java)
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/TestPostMethod.java?view=diff&rev=161334&p1=jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/TestWebappPostMethod.java&r1=161333&p2=jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/TestPostMethod.java&r2=161334
==============================================================================
--- jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/TestWebappPostMethod.java
(original)
+++ jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/TestPostMethod.java
Thu Apr 14 11:23:30 2005
@@ -39,19 +39,19 @@
  * @author <a href="jsdever@apache.org">Jeff Dever</a>
  * @version $Id$
  */
-public class TestWebappPostMethod extends HttpClientTestBase {
+public class TestPostMethod extends HttpClientTestBase {
 
-    public TestWebappPostMethod(String testName) throws IOException {
+    public TestPostMethod(String testName) throws IOException {
         super(testName);
     }
 
     public static Test suite() {
-        TestSuite suite = new TestSuite(TestWebappPostMethod.class);
+        TestSuite suite = new TestSuite(TestPostMethod.class);
         return suite;
     }
 
     public static void main(String args[]) {
-        String[] testCaseName = { TestWebappPostMethod.class.getName() };
+        String[] testCaseName = { TestPostMethod.class.getName() };
         junit.textui.TestRunner.main(testCaseName);
     }
 

Modified: jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/TestWebapp.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/TestWebapp.java?view=diff&r1=161333&r2=161334
==============================================================================
--- jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/TestWebapp.java
(original)
+++ jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/TestWebapp.java
Thu Apr 14 11:23:30 2005
@@ -64,7 +64,6 @@
         suite.addTest(TestWebappMethods.suite());
         suite.addTest(TestWebappParameters.suite());
         suite.addTest(TestWebappHeaders.suite());
-        suite.addTest(TestWebappPostMethod.suite());
         return suite;
     }
 



---------------------------------------------------------------------
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