diff options
Diffstat (limited to 'tests/test-extensions-tests')
-rw-r--r-- | tests/test-extensions-tests/net/sourceforge/jnlp/TinyHttpdImplTest.java | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/tests/test-extensions-tests/net/sourceforge/jnlp/TinyHttpdImplTest.java b/tests/test-extensions-tests/net/sourceforge/jnlp/TinyHttpdImplTest.java index e7567f5..6a14ebc 100644 --- a/tests/test-extensions-tests/net/sourceforge/jnlp/TinyHttpdImplTest.java +++ b/tests/test-extensions-tests/net/sourceforge/jnlp/TinyHttpdImplTest.java @@ -17,7 +17,6 @@ import org.junit.Test; public class TinyHttpdImplTest { private static final String HTTP_OK = "HTTP/1.0 200 OK"; - private static final String HTTP_400 = "HTTP/1.0 400 Bad Request"; private static final String HTTP_404 = "HTTP/1.0 404 Not Found"; private static final String HTTP_501 = "HTTP/1.0 501 Not Implemented"; private static final String CONTENT_JNLP = "Content-Type: application/x-java-jnlp-file"; @@ -185,13 +184,6 @@ public class TinyHttpdImplTest { } @Test - public void BadMethodTest() throws Exception { - String head = getTinyHttpdImplResponse("BADMETHOD", "/simpletest1.jnlp"); - - Assert.assertTrue("Status should have been " + HTTP_400, head.trim().equals(HTTP_400)); - } - - @Test public void NotSupportingHeadRequest() throws Exception { boolean headRequestSupport = mServer.isSupportingHeadRequest(); mServer.setSupportingHeadRequest(false); |