01: package org.xsocket.web.webdav;
02:
03: import java.util.logging.Level;
04:
05: import org.junit.Test;
06: import org.xsocket.stream.Server;
07: import org.xsocket.web.http.HttpProtocolHandler;
08: import org.xsocket.web.http.QAUtil;
09: import org.xsocket.web.webdav.WebDavProtocolHandler;
10:
11: public class WebDavServerTest {
12:
13: @Test
14: public void testSimple() throws Exception {
15: QAUtil.setLogLevel(Level.FINE);
16:
17: Server server = new Server(8091, new HttpProtocolHandler(
18: new WebDavProtocolHandler()));
19: server.run();
20:
21: }
22: }
|