com.atlassian.sal.core.rest
Class TestHttpClientRequest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by com.atlassian.sal.core.rest.TestHttpClientRequest
All Implemented Interfaces:
junit.framework.Test

public class TestHttpClientRequest
extends junit.framework.TestCase


Constructor Summary
TestHttpClientRequest()
           
 
Method Summary
 void testAddRequestParameters()
           
 void testAddRequestParametersFails()
           
 void testAuthentication()
           
 void testMaxNumberOfRedirectionReached()
           
 void testNoFollowRedirect()
           
 
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

TestHttpClientRequest

public TestHttpClientRequest()
Method Detail

testAuthentication

public void testAuthentication()
                        throws IOException,
                               com.atlassian.sal.api.net.ResponseException
Throws:
IOException
com.atlassian.sal.api.net.ResponseException

testMaxNumberOfRedirectionReached

public void testMaxNumberOfRedirectionReached()
                                       throws IOException
Throws:
IOException

testNoFollowRedirect

public void testNoFollowRedirect()
                          throws IOException
Throws:
IOException

testAddRequestParametersFails

public void testAddRequestParametersFails()

testAddRequestParameters

public void testAddRequestParameters()
                              throws IOException,
                                     com.atlassian.sal.api.net.ResponseException
Throws:
IOException
com.atlassian.sal.api.net.ResponseException


Copyright © 2010 Atlassian. All Rights Reserved.