diff options
author | Andrew Azores <[email protected]> | 2013-08-13 13:54:10 -0400 |
---|---|---|
committer | Andrew Azores <[email protected]> | 2013-08-13 13:54:10 -0400 |
commit | 3f6158009745f971e7554750f96e1fdf07893720 (patch) | |
tree | 70b71d3d6e1aebe177fcb8406992c6278dce299e /tests/test-extensions-tests/net/sourceforge/jnlp/TinyHttpdImplTest.java | |
parent | 5dc7c8c389b80ccb9c6fe969fc4685554ce79bc3 (diff) |
Removed HTTP 400 BAD REQUEST as it was unneeded (test server won't be checking anyway)
Diffstat (limited to 'tests/test-extensions-tests/net/sourceforge/jnlp/TinyHttpdImplTest.java')
-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); |