org.appfuse.model
Class UserTest

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byorg.appfuse.model.UserTest
All Implemented Interfaces:
Test

public class UserTest
extends TestCase

Generated by JUnitDoclet, a tool provided by ObjectFab GmbH under LGPL. Please see www.junitdoclet.org, www.gnu.org and www.objectfab.de for informations about the tool, the licence and the authors.


Constructor Summary
UserTest(String name)
           
 
Method Summary
 User createInstance()
           
static void main(String[] args)
           
protected  void setUp()
           
protected  void tearDown()
           
 void testAddResume()
           
 void testAddRole()
           
 void testSetGetAddress()
           
 void testSetGetCity()
           
 void testSetGetCountry()
           
 void testSetGetEmail()
           
 void testSetGetFirstName()
           
 void testSetGetId()
           
 void testSetGetLastName()
           
 void testSetGetPassword()
           
 void testSetGetPhoneNumber()
           
 void testSetGetPostalCode()
           
 void testSetGetProvince()
           
 void testSetGetRoles()
           
 void testSetGetUsername()
           
 void testSetGetWebsite()
           
 void testVault()
          JUnitDoclet moves marker to this method, if there is not match for them in the regenerated code and if the marker is not empty.
 
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

UserTest

public UserTest(String name)
Method Detail

createInstance

public User createInstance()
                    throws Exception
Throws:
Exception

setUp

protected void setUp()
              throws Exception
Throws:
Exception

tearDown

protected void tearDown()
                 throws Exception
Throws:
Exception

testAddRole

public void testAddRole()
                 throws Exception
Throws:
Exception

testAddResume

public void testAddResume()
                   throws Exception
Throws:
Exception

testSetGetId

public void testSetGetId()
                  throws Exception
Throws:
Exception

testSetGetAddress

public void testSetGetAddress()
                       throws Exception
Throws:
Exception

testSetGetCity

public void testSetGetCity()
                    throws Exception
Throws:
Exception

testSetGetCountry

public void testSetGetCountry()
                       throws Exception
Throws:
Exception

testSetGetEmail

public void testSetGetEmail()
                     throws Exception
Throws:
Exception

testSetGetFirstName

public void testSetGetFirstName()
                         throws Exception
Throws:
Exception

testSetGetLastName

public void testSetGetLastName()
                        throws Exception
Throws:
Exception

testSetGetPassword

public void testSetGetPassword()
                        throws Exception
Throws:
Exception

testSetGetPhoneNumber

public void testSetGetPhoneNumber()
                           throws Exception
Throws:
Exception

testSetGetPostalCode

public void testSetGetPostalCode()
                          throws Exception
Throws:
Exception

testSetGetProvince

public void testSetGetProvince()
                        throws Exception
Throws:
Exception

testSetGetUsername

public void testSetGetUsername()
                        throws Exception
Throws:
Exception

testSetGetWebsite

public void testSetGetWebsite()
                       throws Exception
Throws:
Exception

testSetGetRoles

public void testSetGetRoles()
                     throws Exception
Throws:
Exception

testVault

public void testVault()
               throws Exception
JUnitDoclet moves marker to this method, if there is not match for them in the regenerated code and if the marker is not empty. This way, no test gets lost when regenerating after renaming. Method testVault is supposed to be empty.

Throws:
Exception

main

public static void main(String[] args)


Copyright © 2002-2004