org.appfuse.persistence
Class UserDAOTest

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byorg.appfuse.persistence.BaseDAOTestCase
              extended byorg.appfuse.persistence.UserDAOTest
All Implemented Interfaces:
Test

public class UserDAOTest
extends BaseDAOTestCase


Field Summary
 
Fields inherited from class org.appfuse.persistence.BaseDAOTestCase
conn, log, rb
 
Constructor Summary
UserDAOTest()
           
 
Method Summary
static void main(String[] args)
           
protected  void setUp()
           
protected  void tearDown()
           
 void testAddUser()
           
 void testAddUserRole()
           
 void testGetUser()
           
 void testGetUserInvalid()
           
 void testRemoveUser()
           
 void testSaveAndDeleteUserCookie()
           
 void testSaveUser()
           
 
Methods inherited from class org.appfuse.persistence.BaseDAOTestCase
populate
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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

UserDAOTest

public UserDAOTest()
Method Detail

setUp

protected void setUp()
              throws Exception
Throws:
Exception

tearDown

protected void tearDown()
                 throws Exception
Throws:
Exception

testGetUserInvalid

public void testGetUserInvalid()
                        throws Exception
Throws:
Exception

testGetUser

public void testGetUser()
                 throws Exception
Throws:
Exception

testSaveUser

public void testSaveUser()
                  throws Exception
Throws:
Exception

testAddUserRole

public void testAddUserRole()
                     throws Exception
Throws:
Exception

testAddUser

public void testAddUser()
                 throws Exception
Throws:
Exception

testRemoveUser

public void testRemoveUser()
                    throws Exception
Throws:
Exception

testSaveAndDeleteUserCookie

public void testSaveAndDeleteUserCookie()
                                 throws Exception
Throws:
Exception

main

public static void main(String[] args)


Copyright © 2002-2004