mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
add http admin server
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user