Save This Page
Home » cactus-1.8.0-src » org.apache.cactus.sample.servlet.unit » [javadoc | source]
org.apache.cactus.sample.servlet.unit
public class: TestSetURL [javadoc | source]
java.lang.Object
   junit.framework.TestCase
      org.apache.cactus.internal.AbstractCactusTestCase
         org.apache.cactus.ServletTestCase
            org.apache.cactus.sample.servlet.unit.TestSetURL

All Implemented Interfaces:
    CactusTestCase

Test the WebRequest#setURL method.
Fields inherited from org.apache.cactus.ServletTestCase:
request,  response,  session,  config
Method from org.apache.cactus.sample.servlet.unit.TestSetURL Summary:
beginSimulatedURL1,   beginSimulatedURL2,   beginSimulatedURL3,   beginSimulatedURL4,   beginSimulatedURL5,   beginSimulatedURLBasics,   beginSimulatedURLNullValues,   testSimulatedURL1,   testSimulatedURL2,   testSimulatedURL3,   testSimulatedURL4,   testSimulatedURL5,   testSimulatedURLBasics,   testSimulatedURLNullValues
Methods from org.apache.cactus.ServletTestCase:
createProtocolHandler
Methods from org.apache.cactus.internal.AbstractCactusTestCase:
createProtocolHandler,   runBare,   runBareServer
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.cactus.sample.servlet.unit.TestSetURL Detail:
 public  void beginSimulatedURL1(WebRequest theRequest) 
    Verify that we can simulate different parts of the URL.
 public  void beginSimulatedURL2(WebRequest theRequest) 
    Verify that we can simulate different parts of the URL.
 public  void beginSimulatedURL3(WebRequest theRequest) 
    Verify that we can simulate different parts of the URL.
 public  void beginSimulatedURL4(WebRequest theRequest) 
    Verify that we can simulate different parts of the URL.
 public  void beginSimulatedURL5(WebRequest theRequest) 
    Verify that we can simulate different parts of the URL. Also verify that HTTP parameters put in the simulation URL will be available on the server side as real HTTP parameters.
 public  void beginSimulatedURLBasics(WebRequest theRequest) 
    Verify that we can simulate the basic parts of the URL : server name, default server port of 80, root servlet context, URI.
 public  void beginSimulatedURLNullValues(WebRequest theRequest) 
    Verify values used by the framework when all values defined in setURL() are null.
 public  void testSimulatedURL1() 
    Verify that we can simulate different parts of the URL.
 public  void testSimulatedURL2() 
    Verify that we can simulate different parts of the URL.
 public  void testSimulatedURL3() 
    Verify that we can simulate different parts of the URL.
 public  void testSimulatedURL4() 
    Verify that we can simulate different parts of the URL.
 public  void testSimulatedURL5() 
    Verify that we can simulate different parts of the URL. Also verify that HTTP parameters put in the simulation URL will be available on the server side as real HTTP parameters.
 public  void testSimulatedURLBasics() 
    Verify that we can simulate the basic parts of the URL : server name, default server port of 80, no servlet context, servlet path.
 public  void testSimulatedURLNullValues() 
    Verify values used by the framework when all values defined in setURL() are null.