org.jcoderz.commons.connector.http
Class HttpConnectorServerTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.jcoderz.commons.TestCase
              extended by org.jcoderz.commons.ServerTestCase
                  extended by org.jcoderz.commons.connector.http.HttpConnectorServerTest
All Implemented Interfaces:
Test

public class HttpConnectorServerTest
extends ServerTestCase

Server testcases for the commons http connector.


Constructor Summary
HttpConnectorServerTest()
           
 
Method Summary
static Test suite()
          Creates the testsuite.
 void testConnectingSubwayCA()
          Performs a simple request to the subwayca.
 void testConnectingSubwayCAWithSSL()
          Performs a simple request to the subwayca using SSL.
 
Methods inherited from class org.jcoderz.commons.ServerTestCase
createTestSession, getTestServletUrl, getWeblogicDomainDir, runBare, runBareAtServer
 
Methods inherited from class org.jcoderz.commons.TestCase
getBaseDir, getHostName, getSuite, hasTestCases
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HttpConnectorServerTest

public HttpConnectorServerTest()
Method Detail

suite

public static Test suite()
Creates the testsuite.

Returns:
Test the testsuite

testConnectingSubwayCA

public void testConnectingSubwayCA()
                            throws Exception
Performs a simple request to the subwayca.

Throws:
Exception - for any error

testConnectingSubwayCAWithSSL

public void testConnectingSubwayCAWithSSL()
                                   throws Exception
Performs a simple request to the subwayca using SSL.

Throws:
Exception - for any error


Copyright 2007 The jCoderZ Project.