diff options
author | Greg Wilkins | 2013-07-18 02:53:07 +0000 |
---|---|---|
committer | Greg Wilkins | 2013-07-18 02:53:07 +0000 |
commit | 86458492726aa7d00354b612d02f6963b11b3a19 (patch) | |
tree | ed855eb93269fc56655d3907f6ec9c41ded3c708 /jetty-servlet | |
parent | a1789c8f7cfeb95840fae125438f55664f0c3e66 (diff) | |
download | org.eclipse.jetty.project-86458492726aa7d00354b612d02f6963b11b3a19.tar.gz org.eclipse.jetty.project-86458492726aa7d00354b612d02f6963b11b3a19.tar.xz org.eclipse.jetty.project-86458492726aa7d00354b612d02f6963b11b3a19.zip |
398467 Servlet 3.1 Non Blocking IO
Added ByteBuffer write and improved test harnesses
Diffstat (limited to 'jetty-servlet')
3 files changed, 5 insertions, 5 deletions
diff --git a/jetty-servlet/src/test/java/org/eclipse/jetty/servlet/AsyncServletIOTest.java b/jetty-servlet/src/test/java/org/eclipse/jetty/servlet/AsyncServletIOTest.java index 1f9e85ca87..c6cd0a3767 100644 --- a/jetty-servlet/src/test/java/org/eclipse/jetty/servlet/AsyncServletIOTest.java +++ b/jetty-servlet/src/test/java/org/eclipse/jetty/servlet/AsyncServletIOTest.java @@ -257,8 +257,6 @@ public class AsyncServletIOTest return list; } - - static AtomicInteger _owp = new AtomicInteger(); static AtomicInteger _oda = new AtomicInteger(); static AtomicInteger _read = new AtomicInteger(); @@ -376,7 +374,4 @@ public class AsyncServletIOTest }); } } - - - } diff --git a/jetty-servlet/src/test/java/org/eclipse/jetty/servlet/AsyncServletTest.java b/jetty-servlet/src/test/java/org/eclipse/jetty/servlet/AsyncServletTest.java index 8d2e4534a7..d34fd46d70 100644 --- a/jetty-servlet/src/test/java/org/eclipse/jetty/servlet/AsyncServletTest.java +++ b/jetty-servlet/src/test/java/org/eclipse/jetty/servlet/AsyncServletTest.java @@ -25,6 +25,7 @@ import java.util.ArrayList; import java.util.List; import java.util.Timer; import java.util.TimerTask; + import javax.servlet.AsyncContext; import javax.servlet.AsyncEvent; import javax.servlet.AsyncListener; @@ -41,6 +42,7 @@ import org.eclipse.jetty.server.Response; import org.eclipse.jetty.server.Server; import org.eclipse.jetty.server.ServerConnector; import org.eclipse.jetty.server.handler.RequestLogHandler; +import org.eclipse.jetty.toolchain.test.AdvancedRunner; import org.eclipse.jetty.util.IO; import org.eclipse.jetty.util.component.AbstractLifeCycle; import org.hamcrest.Matchers; @@ -48,10 +50,12 @@ import org.junit.After; import org.junit.Assert; import org.junit.Before; import org.junit.Test; +import org.junit.runner.RunWith; import static org.junit.Assert.assertEquals; +@RunWith(AdvancedRunner.class) public class AsyncServletTest { protected AsyncServlet _servlet=new AsyncServlet(); diff --git a/jetty-servlet/src/test/resources/jetty-logging.properties b/jetty-servlet/src/test/resources/jetty-logging.properties index 50680ef1dc..3e0d7b71f4 100644 --- a/jetty-servlet/src/test/resources/jetty-logging.properties +++ b/jetty-servlet/src/test/resources/jetty-logging.properties @@ -1,3 +1,4 @@ org.eclipse.jetty.util.log.class=org.eclipse.jetty.util.log.StdErrLog #org.eclipse.jetty.LEVEL=DEBUG +#org.eclipse.jetty.server.LEVEL=DEBUG #org.eclipse.jetty.servlet.LEVEL=DEBUG |