com.ail.coretest
Class TestContentServlets

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by com.ail.coretest.TestContentServlets
All Implemented Interfaces:
junit.framework.Test

public class TestContentServlets
extends junit.framework.TestCase

The core provides servlets giving access to content in CMS. The tests defined in the test case check that the servlets are present and operating as expected.

Version:
$Revision$

Constructor Summary
TestContentServlets(java.lang.String name)
          Constructs a test case with the given name.
 
Method Summary
static void main(java.lang.String[] args)
           
static junit.framework.Test suite()
           
 void testGuestServlets()
          "Guest" servlets provide access to content without needing authentication.
 
Methods inherited from class junit.framework.TestCase
countTestCases, getName, run, run, runBare, setName, 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
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TestContentServlets

public TestContentServlets(java.lang.String name)
Constructs a test case with the given name.

Method Detail

suite

public static junit.framework.Test suite()

main

public static void main(java.lang.String[] args)

testGuestServlets

public void testGuestServlets()
                       throws java.net.MalformedURLException,
                              java.io.IOException
"Guest" servlets provide access to content without needing authentication. This test checks that we can access content, and that failures are handled correctly.

Throws:
java.net.MalformedURLException
java.io.IOException