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

Quick Search    Search Deep

openfuture.bugbase.test.login
Class JspLoginTestCase  view JspLoginTestCase download JspLoginTestCase.java

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byorg.apache.cactus.internal.AbstractCactusTestCase
              extended byorg.apache.cactus.ServletTestCase
                  extended byorg.apache.cactus.JspTestCase
                      extended byopenfuture.bugbase.test.common.JspBaseTestCase
                          extended byopenfuture.bugbase.test.login.JspLoginTestCase
All Implemented Interfaces:
org.apache.cactus.internal.CactusTestCase, junit.framework.Test

public class JspLoginTestCase
extends openfuture.bugbase.test.common.JspBaseTestCase

Try simple login and logoff to and from bug base.

Created: Mon Oct 29 21:36:31 2001

Version:
$Revision: 1.1 $

Field Summary
 
Fields inherited from class openfuture.bugbase.test.common.JspBaseTestCase
 
Fields inherited from class org.apache.cactus.JspTestCase
out, pageContext
 
Fields inherited from class org.apache.cactus.ServletTestCase
config, request, response, session
 
Fields inherited from class org.apache.cactus.internal.AbstractCactusTestCase
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
JspLoginTestCase(java.lang.String name)
          Creates a new JspLoginTestCase instance.
 
Method Summary
 void beginLogin(org.apache.cactus.WebRequest request)
          Login into Bug Base using HTTPUnit
 void beginLogoff(org.apache.cactus.WebRequest request)
          Logoff from Bug Base using HTTPUnit.
 void testLogin()
          Check, if this is the correct user 55 .
 void testLogoff()
          Check, if the user attribute 55 is cleared.
 
Methods inherited from class openfuture.bugbase.test.common.JspBaseTestCase
copyCookies, findLoginForm, findLogoffForm, getLog, getProperties, isLoginForm, isLogoffForm, login, loginPage, logoff, logoffPage, setProperties, setURL
 
Methods inherited from class org.apache.cactus.JspTestCase
createProtocolHandler
 
Methods inherited from class org.apache.cactus.internal.AbstractCactusTestCase
runBare, runBareServer
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.cactus.internal.CactusTestCase
runBareServer
 

Constructor Detail

JspLoginTestCase

public JspLoginTestCase(java.lang.String name)
Creates a new JspLoginTestCase instance.

Method Detail

beginLogin

public void beginLogin(org.apache.cactus.WebRequest request)
                throws java.lang.Exception
Login into Bug Base using HTTPUnit


testLogin

public void testLogin()
               throws java.lang.Exception
Check, if this is the correct user 55 .


beginLogoff

public void beginLogoff(org.apache.cactus.WebRequest request)
                 throws java.lang.Exception
Logoff from Bug Base using HTTPUnit. First we login and then we immediately log off again.


testLogoff

public void testLogoff()
                throws java.lang.Exception
Check, if the user attribute 55 is cleared.