You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hc.apache.org by ol...@apache.org on 2008/03/12 11:52:58 UTC
svn commit: r636277 - in
/httpcomponents/httpcore/trunk/module-nio/src/test/java/org/apache/http/nio/protocol:
TestAllProtocol.java TestThrottlingNHttpHandler.java
TestThrottlingNHttpHandlers.java
Author: olegk
Date: Wed Mar 12 03:52:55 2008
New Revision: 636277
URL: http://svn.apache.org/viewvc?rev=636277&view=rev
Log:
Corrected test class name
Added:
httpcomponents/httpcore/trunk/module-nio/src/test/java/org/apache/http/nio/protocol/TestThrottlingNHttpHandlers.java
- copied, changed from r636069, httpcomponents/httpcore/trunk/module-nio/src/test/java/org/apache/http/nio/protocol/TestThrottlingNHttpHandler.java
Removed:
httpcomponents/httpcore/trunk/module-nio/src/test/java/org/apache/http/nio/protocol/TestThrottlingNHttpHandler.java
Modified:
httpcomponents/httpcore/trunk/module-nio/src/test/java/org/apache/http/nio/protocol/TestAllProtocol.java
Modified: httpcomponents/httpcore/trunk/module-nio/src/test/java/org/apache/http/nio/protocol/TestAllProtocol.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/module-nio/src/test/java/org/apache/http/nio/protocol/TestAllProtocol.java?rev=636277&r1=636276&r2=636277&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/module-nio/src/test/java/org/apache/http/nio/protocol/TestAllProtocol.java (original)
+++ httpcomponents/httpcore/trunk/module-nio/src/test/java/org/apache/http/nio/protocol/TestAllProtocol.java Wed Mar 12 03:52:55 2008
@@ -41,7 +41,7 @@
public static Test suite() {
TestSuite suite = new TestSuite();
suite.addTest(TestBufferingNHttpHandlers.suite());
- suite.addTest(TestThrottlingNHttpHandler.suite());
+ suite.addTest(TestThrottlingNHttpHandlers.suite());
suite.addTest(TestNIOSSLHttp.suite());
suite.addTest(TestAsyncNHttpHandlers.suite());
return suite;
Copied: httpcomponents/httpcore/trunk/module-nio/src/test/java/org/apache/http/nio/protocol/TestThrottlingNHttpHandlers.java (from r636069, httpcomponents/httpcore/trunk/module-nio/src/test/java/org/apache/http/nio/protocol/TestThrottlingNHttpHandler.java)
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/module-nio/src/test/java/org/apache/http/nio/protocol/TestThrottlingNHttpHandlers.java?p2=httpcomponents/httpcore/trunk/module-nio/src/test/java/org/apache/http/nio/protocol/TestThrottlingNHttpHandlers.java&p1=httpcomponents/httpcore/trunk/module-nio/src/test/java/org/apache/http/nio/protocol/TestThrottlingNHttpHandler.java&r1=636069&r2=636277&rev=636277&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/module-nio/src/test/java/org/apache/http/nio/protocol/TestThrottlingNHttpHandler.java (original)
+++ httpcomponents/httpcore/trunk/module-nio/src/test/java/org/apache/http/nio/protocol/TestThrottlingNHttpHandlers.java Wed Mar 12 03:52:55 2008
@@ -102,25 +102,25 @@
*
* @version $Id$
*/
-public class TestThrottlingNHttpHandler extends TestCase {
+public class TestThrottlingNHttpHandlers extends TestCase {
private static final int DEFAULT_SERVER_SO_TIMEOUT = 5000;
// ------------------------------------------------------------ Constructor
- public TestThrottlingNHttpHandler(String testName) {
+ public TestThrottlingNHttpHandlers(String testName) {
super(testName);
}
// ------------------------------------------------------------------- Main
public static void main(String args[]) {
- String[] testCaseName = { TestThrottlingNHttpHandler.class.getName() };
+ String[] testCaseName = { TestThrottlingNHttpHandlers.class.getName() };
junit.textui.TestRunner.main(testCaseName);
}
// ------------------------------------------------------- TestCase Methods
public static Test suite() {
- return new TestSuite(TestThrottlingNHttpHandler.class);
+ return new TestSuite(TestThrottlingNHttpHandlers.class);
}
private TestHttpServer server;