public class UserServiceITCase extends OlatTestCase
构造器和说明 |
---|
UserServiceITCase() |
限定符和类型 | 方法和说明 |
---|---|
void |
setup() |
void |
tearDown()
TearDown is called after each test
|
void |
testDeleteUser()
Test the user delete methods
NOTE THAT THIS TEST MUST BE THE LAST TEST IN THIS TESTCLASS SINCE IT DELETES USERS USED IN PREVIOUS TEST CASES!
|
void |
testDeleteUserProperty() |
void |
testEmailInUse() |
void |
testEquals() |
void |
testEqualsIdentity() |
void |
testFindIdentityByEmail()
Test if usermanager.createUser() works
|
void |
testHashCode() |
void |
testSetUserProfile()
test if user profile does work
|
void |
testUmCreateUser()
Test if usermanager.createUser() works
|
void |
testUmFindCharsetPropertyByIdentity()
test set and get the user's charset
|
void |
testUmFindUserByInstitutionalUserIdentifier()
if usermanager finds users by institutional user identifier
|
void |
testUmFindUserByKey()
Test if usermanager.findUserByKey() works
|
void |
testUpdateNewUser()
persist a user that did not exist previously in the database These is the case if the key of a user is null
|
printBanner
public void setup() throws java.lang.Exception
java.lang.Exception
TestCase.setUp()
public void tearDown()
public void testEquals()
public void testEqualsIdentity()
public void testHashCode()
public void testUmCreateUser() throws java.lang.Exception
java.lang.Exception
public void testEmailInUse() throws java.lang.Exception
java.lang.Exception
public void testFindIdentityByEmail() throws java.lang.Exception
java.lang.Exception
public void testUmFindUserByKey() throws java.lang.Exception
java.lang.Exception
public void testUmFindUserByInstitutionalUserIdentifier() throws java.lang.Exception
java.lang.Exception
public void testUpdateNewUser() throws java.lang.Exception
java.lang.Exception
public void testSetUserProfile() throws java.lang.Exception
java.lang.Exception
public void testUmFindCharsetPropertyByIdentity() throws java.lang.Exception
java.lang.Exception
public void testDeleteUserProperty()
public void testDeleteUser()
NOTE THAT THIS TEST MUST BE THE LAST TEST IN THIS TESTCLASS SINCE IT DELETES USERS USED IN PREVIOUS TEST CASES!