java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.apache.cactus.internal.AbstractCactusTestCase
org.apache.cactus.ServletTestCase
org.apache.cactus.JspTestCase
openfuture.bugbase.test.common.JspBaseTestCase
openfuture.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 $
Fields inherited from class junit.framework.TestCase |
|
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 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 |
JspLoginTestCase
public JspLoginTestCase(java.lang.String name)
- Creates a new
JspLoginTestCase
instance.
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.