|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
de.fh_mannheim.mm.dms.tests.UserManagerTest
JUnit test class for user manager. This test class checks different base functionality of the class. Here are following things testet:
| Constructor Summary | |
UserManagerTest(java.lang.String testName)
Constructor. |
|
| Method Summary | |
static void |
main(java.lang.String[] args)
Main function which runs the junit TestRunner. |
void |
setUp()
Setting up instance. |
static junit.framework.Test |
suite()
Is called to create the test suite. |
void |
tearDown()
Is called for all tests. |
void |
testCreateUser()
Test the creation of users. |
| Methods inherited from class junit.framework.TestCase |
countTestCases, getName, name, run, run, runBare, setName, toString |
| Methods inherited from class junit.framework.Assert |
assert, assert, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertNotNull, assertNotNull, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public UserManagerTest(java.lang.String testName)
| Method Detail |
public static void main(java.lang.String[] args)
args - Parameterspublic static junit.framework.Test suite()
public void setUp()
public void tearDown()
public void testCreateUser()
throws DuplicateUserException,
DMSException
DuplicateUserException
DMSException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||