add http admin server

This commit is contained in:
温少
2012-05-10 23:25:20 +08:00
parent 4dc8a4336f
commit 90f434bca6
7 changed files with 9617 additions and 6 deletions
@@ -0,0 +1,13 @@
package com.alibaba.druid.bvt.http;
import com.alibaba.druid.http.HttpServer;
import junit.framework.TestCase;
public class HttpServerTest extends TestCase {
public void test_httpServer() throws Exception {
HttpServer server = new HttpServer();
server.start();
server.stop();
}
}
@@ -0,0 +1,12 @@
package com.alibaba.druid.http;
import junit.framework.TestCase;
public class HttpServerTest2 extends TestCase {
public void test_httpServer() throws Exception {
HttpServer server = new HttpServer();
server.start();
server.join();
}
}