org.appfuse.model
Class RoleTest

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

public class RoleTest
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
RoleTest(String name)
           
 
Method Summary
 UserRole createInstance()
           
static void main(String[] args)
           
protected  void setUp()
           
protected  void tearDown()
           
 void testSetGetId()
           
 void testSetGetRolename()
           
 void testSetGetUsername()
           
 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

RoleTest

public RoleTest(String name)
Method Detail

createInstance

public UserRole createInstance()
                        throws Exception
Throws:
Exception

setUp

protected void setUp()
              throws Exception
Throws:
Exception

tearDown

protected void tearDown()
                 throws Exception
Throws:
Exception

testSetGetId

public void testSetGetId()
                  throws Exception
Throws:
Exception

testSetGetUsername

public void testSetGetUsername()
                        throws Exception
Throws:
Exception

testSetGetRolename

public void testSetGetRolename()
                        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