@UnitTest public class DefaultUserServiceTest extends java.lang.Object
DefaultUserService.| Constructor and Description |
|---|
DefaultUserServiceTest() |
public void setUp()
public void testGetUserForID()
public void testFindAUser()
public void testFindNoUser()
public void testGetUserByIdAndClassWithNull()
public void testGetUserByIdAndEmployeeClassOK()
public void testGetUserByIdAndCustomerClassFails()
public void testIsUserExistingWithNull()
throws java.lang.Exception
java.lang.Exceptionpublic void testIsUserExisting()
throws java.lang.Exception
java.lang.Exceptionpublic void testIsNotUserExisting()
throws java.lang.Exception
java.lang.Exceptionpublic void testGetUserGroupForUID()
public void testGetUserGroupForUIDNotFound()
public void testGetUserGroupForUIDWithNull()
public void testGetUserGroupForUIDWithType()
public void testGetUserGroupForUIDWithWrongType()
public void testGetUserGroupForUIDWithNullType()
public void testGetAdminUserGroup()
public void testGetAdminUserGroupNotFound()
public void testIsNotMemberOf()
throws java.lang.Exception
java.lang.Exceptionpublic void testIsNotMemberOfRecursive()
throws java.lang.Exception
java.lang.Exceptionpublic void testIsMemberOfWithGroupNull()
throws java.lang.Exception
java.lang.Exceptionpublic void testIsMemberOfWithUserNull()
throws java.lang.Exception
java.lang.Exceptionpublic void testIsMemberOf()
throws java.lang.Exception
java.lang.Exceptionpublic void testIsMemberOfRecursive()
throws java.lang.Exception
java.lang.Exceptionpublic void testGroupIsMemberOfWithGroupNull()
throws java.lang.Exception
java.lang.Exceptionpublic void testGroupIsNotMemberOf()
throws java.lang.Exception
java.lang.Exceptionpublic void testGroupIsNotMemberOfRecursive()
throws java.lang.Exception
java.lang.Exceptionpublic void testGroupIsMemberOf()
throws java.lang.Exception
java.lang.Exceptionpublic void testGroupIsMemberOfRecursive()
throws java.lang.Exception
java.lang.Exceptionpublic void testGetAllUserGroupsForUser()
throws java.lang.Exception
java.lang.Exceptionpublic void testGetAllUserGroupsForUserWithType()
throws java.lang.Exception
java.lang.Exceptionpublic void testGetAllUserGroupsForUserIsEmpty()
throws java.lang.Exception
java.lang.Exceptionpublic void testGetAllUserGroupsForUserWithNull()
throws java.lang.Exception
java.lang.Exceptionpublic void testGetAllUserGroupsForUserWithTypeNull()
throws java.lang.Exception
java.lang.Exceptionpublic void testGetAllUserGroupsForUserWithCycle()
throws java.lang.Exception
java.lang.Exceptionpublic void testGetAllTitles()
public void testGetTitleForCode()
public void testGetTitleForWrongCode()
public void testGetTitleForCodeWithNull()
public void testAdminUser()
public void testIsNullAdmin()
public void testIsAdminWithAdmin()
throws java.lang.Exception
java.lang.Exceptionpublic void testIsAdminWithAdminGroup()
throws java.lang.Exception
java.lang.Exceptionpublic void testIsAdminWithNull()
throws java.lang.Exception
java.lang.Exceptionpublic void testAnonymousUser()
public void testGetPassword()
public void testSetPassword()
Copyright © 2018 SAP SE. All Rights Reserved.