|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
com.atlassian.sal.core.net.TestHttpClientRequest
public class TestHttpClientRequest
| Constructor Summary | |
|---|---|
TestHttpClientRequest()
|
|
| Method Summary | |
|---|---|
void |
tearDown()
|
void |
testAddRequestParameters()
|
void |
testAddRequestParametersFails()
|
void |
testAuthentication()
|
void |
testConnectTimeout()
|
void |
testExecutePostMethodNoFollowRedirects()
|
void |
testExecutePutMethodNoFollowRedirects()
|
void |
testFollowRedirectForPostMethodsNotPossible()
|
void |
testFollowRedirectForPutMethodsNotPossible()
|
void |
testHttpException()
|
void |
testMaxNumberOfRedirectionReached()
|
void |
testNoFollowRedirect()
|
void |
testOverriddenMaxNumberOfRedirectionReached()
|
void |
testReadTimeout()
|
void |
testSocketException()
|
void |
testStatusException()
|
void |
verifyThatRelativeUrlCannotBeUsed()
|
void |
verifyThatTrustedAuthentcationUsesAbsoluteUrl()
|
| Methods inherited from class junit.framework.TestCase |
|---|
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, setUp, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public TestHttpClientRequest()
| Method Detail |
|---|
public void tearDown()
tearDown in class junit.framework.TestCase
public void testAuthentication()
throws IOException,
ResponseException
IOException
ResponseException
public void verifyThatTrustedAuthentcationUsesAbsoluteUrl()
throws ResponseException
ResponseException
public void verifyThatRelativeUrlCannotBeUsed()
throws ResponseException
ResponseException
public void testConnectTimeout()
throws IOException,
ResponseException
IOException
ResponseException
public void testReadTimeout()
throws IOException,
ResponseException
IOException
ResponseException
public void testHttpException()
throws IOException,
ResponseException
IOException
ResponseException
public void testSocketException()
throws IOException,
ResponseException
IOException
ResponseException
public void testStatusException()
throws IOException,
ResponseException
IOException
ResponseException
public void testMaxNumberOfRedirectionReached()
throws IOException,
ResponseException
IOException
ResponseException
public void testOverriddenMaxNumberOfRedirectionReached()
throws IOException,
ResponseException
IOException
ResponseException
public void testNoFollowRedirect()
throws IOException
IOException
public void testFollowRedirectForPostMethodsNotPossible()
throws Exception
Exception
public void testFollowRedirectForPutMethodsNotPossible()
throws Exception
Exception
public void testExecutePostMethodNoFollowRedirects()
throws Exception
Exception
public void testExecutePutMethodNoFollowRedirects()
throws Exception
Exceptionpublic void testAddRequestParametersFails()
public void testAddRequestParameters()
throws IOException,
ResponseException
IOException
ResponseException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||