|
||||||||||
| 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.rest.TestHttpClientRequest
public class TestHttpClientRequest
| Constructor Summary | |
|---|---|
TestHttpClientRequest()
|
|
| Method Summary | |
|---|---|
void |
testAddRequestParameters()
|
void |
testAddRequestParametersFails()
|
void |
testAuthentication()
|
void |
testConnectTimeout()
|
void |
testExecutePostMethodNoFollowRedirects()
|
void |
testExecutePutMethodNoFollowRedirects()
|
void |
testFollowRedirectForPostMethodsNotPossible()
|
void |
testFollowRedirectForPutMethodsNotPossible()
|
void |
testHttpException()
|
void |
testMaxNumberOfRedirectionReached()
|
void |
testNoFollowRedirect()
|
void |
testReadTimeout()
|
void |
testSocketException()
|
void |
testStatusException()
|
| Methods inherited from class junit.framework.TestCase |
|---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString |
| Methods inherited from class junit.framework.Assert |
|---|
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, fail, fail, failNotEquals, failNotSame, failSame, format |
| 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 testAuthentication()
throws IOException,
com.atlassian.sal.api.net.ResponseException
IOException
com.atlassian.sal.api.net.ResponseException
public void testConnectTimeout()
throws IOException,
com.atlassian.sal.api.net.ResponseException
IOException
com.atlassian.sal.api.net.ResponseException
public void testReadTimeout()
throws IOException,
com.atlassian.sal.api.net.ResponseException
IOException
com.atlassian.sal.api.net.ResponseException
public void testHttpException()
throws IOException,
com.atlassian.sal.api.net.ResponseException
IOException
com.atlassian.sal.api.net.ResponseException
public void testSocketException()
throws IOException,
com.atlassian.sal.api.net.ResponseException
IOException
com.atlassian.sal.api.net.ResponseException
public void testStatusException()
throws IOException,
com.atlassian.sal.api.net.ResponseException
IOException
com.atlassian.sal.api.net.ResponseException
public void testMaxNumberOfRedirectionReached()
throws IOException,
com.atlassian.sal.api.net.ResponseException
IOException
com.atlassian.sal.api.net.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,
com.atlassian.sal.api.net.ResponseException
IOException
com.atlassian.sal.api.net.ResponseException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||