org.olat.basesecurity
Class IdentityTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.olat.core.test.OlatTestCase
              extended by org.olat.basesecurity.IdentityTest
All Implemented Interfaces:
junit.framework.Test

public class IdentityTest
extends OlatTestCase

Desciption: jUnit testsuite to test the OLAT user module. Most tests are method tests of the user manager. Currently no tests for actions are available du to missing servlet stuff.

Author:
Florian Gnägi

Constructor Summary
IdentityTest(java.lang.String arg)
           
 
Method Summary
 void setUp()
           
static junit.framework.Test suite()
          Export all test cases as suite.
 void tearDown()
          TearDown is called after each test
 void testEquals()
           
 void testHashCode()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, getName, run, run, runBare, 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, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IdentityTest

public IdentityTest(java.lang.String arg)
Parameters:
arg -
Method Detail

setUp

public void setUp()
           throws java.lang.Exception
Overrides:
setUp in class junit.framework.TestCase
Throws:
java.lang.Exception
See Also:
TestCase.setUp()

tearDown

public void tearDown()
TearDown is called after each test

Overrides:
tearDown in class junit.framework.TestCase

testEquals

public void testEquals()

testHashCode

public void testHashCode()

suite

public static junit.framework.Test suite()
                                  throws java.lang.Exception
Export all test cases as suite. Make sure you add your testcase to org.olat.test.AllTest.java

Returns:
Throws:
java.lang.Exception