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

Quick Search    Search Deep

servletunit.tests
Class TestSession  view TestSession download TestSession.java

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byservletunit.tests.TestSession
All Implemented Interfaces:
junit.framework.Test

public class TestSession
extends junit.framework.TestCase


Field Summary
(package private)  servletunit.HttpServletRequestSimulator request
           
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
TestSession(java.lang.String testName)
           
 
Method Summary
 void setUp()
          Sets up the fixture, for example, open a network connection.
 void testGetSession()
           
 void testGetSessionFalse()
           
 void testGetSessionFalseSessionExists()
           
 void testGetSessionInvalid()
           
 void testGetSessionInvalidFalse()
           
 void testGetSessionTrue()
           
 void testSetAttributeNull()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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
 

Field Detail

request

servletunit.HttpServletRequestSimulator request
Constructor Detail

TestSession

public TestSession(java.lang.String testName)
Method Detail

setUp

public void setUp()
Description copied from class: junit.framework.TestCase
Sets up the fixture, for example, open a network connection. This method is called before a test is executed.


testGetSession

public void testGetSession()

testGetSessionTrue

public void testGetSessionTrue()

testGetSessionFalse

public void testGetSessionFalse()

testGetSessionFalseSessionExists

public void testGetSessionFalseSessionExists()

testGetSessionInvalid

public void testGetSessionInvalid()

testGetSessionInvalidFalse

public void testGetSessionInvalidFalse()

testSetAttributeNull

public void testSetAttributeNull()