Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.tripi.asp.test
Class ObjectsTest.RequestTest  view ObjectsTest.RequestTest download ObjectsTest.RequestTest.java

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended bycom.tripi.asp.test.ObjectsTest.RequestTest
All Implemented Interfaces:
junit.framework.Test
Enclosing class:
ObjectsTest

public static class ObjectsTest.RequestTest
extends junit.framework.TestCase

This class contains the request object tests


Field Summary
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
ObjectsTest.RequestTest(java.lang.String name)
           
 
Method Summary
 void testBinaryRead1()
          Test binary read statement
 void testCookie1()
          Test simple cookies
 void testCookie2()
          Test more complex cookies
 void testCookie3()
          Test more complex cookies
 void testForm1()
          Test form values
 void testForm2()
          Test form values, with escape sequences
 void testForm3()
          Test form values, multiple values for same parameter
 void testQueryString1()
          Test query string values
 void testQueryString2()
          Test embedded escapes in query string values
 void testQueryString3()
          Test multiple parameters with the same names.
 void testServerVariables1()
          Test server variables, GET request
 void testServerVariables2()
          Test server variables, POST request
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ObjectsTest.RequestTest

public ObjectsTest.RequestTest(java.lang.String name)
                        throws com.tripi.asp.AspException
Method Detail

testCookie1

public void testCookie1()
                 throws com.tripi.asp.AspException,
                        java.net.MalformedURLException,
                        java.io.IOException
Test simple cookies


testCookie2

public void testCookie2()
                 throws com.tripi.asp.AspException,
                        java.net.MalformedURLException,
                        java.io.IOException
Test more complex cookies


testCookie3

public void testCookie3()
                 throws com.tripi.asp.AspException,
                        java.net.MalformedURLException,
                        java.io.IOException
Test more complex cookies


testForm1

public void testForm1()
               throws com.tripi.asp.AspException,
                      java.net.MalformedURLException,
                      java.io.IOException
Test form values


testForm2

public void testForm2()
               throws com.tripi.asp.AspException,
                      java.net.MalformedURLException,
                      java.io.IOException
Test form values, with escape sequences


testForm3

public void testForm3()
               throws com.tripi.asp.AspException,
                      java.net.MalformedURLException,
                      java.io.IOException
Test form values, multiple values for same parameter


testQueryString1

public void testQueryString1()
                      throws com.tripi.asp.AspException,
                             java.net.MalformedURLException,
                             java.io.IOException
Test query string values


testQueryString2

public void testQueryString2()
                      throws com.tripi.asp.AspException,
                             java.net.MalformedURLException,
                             java.io.IOException
Test embedded escapes in query string values


testQueryString3

public void testQueryString3()
                      throws com.tripi.asp.AspException,
                             java.net.MalformedURLException,
                             java.io.IOException
Test multiple parameters with the same names.


testServerVariables1

public void testServerVariables1()
                          throws com.tripi.asp.AspException,
                                 java.net.MalformedURLException,
                                 java.io.IOException
Test server variables, GET request


testServerVariables2

public void testServerVariables2()
                          throws com.tripi.asp.AspException,
                                 java.net.MalformedURLException,
                                 java.io.IOException
Test server variables, POST request


testBinaryRead1

public void testBinaryRead1()
                     throws com.tripi.asp.AspException,
                            java.net.MalformedURLException,
                            java.io.IOException
Test binary read statement