|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.silverpeas.accesscontrol.ComponentAccessControllerTest
@PrepareForTest(value=com.silverpeas.admin.components.Instanciateur.class) public class ComponentAccessControllerTest
| Field Summary | |
|---|---|
MockByReflectionRule |
mockByReflectionRule
|
| Constructor Summary | |
|---|---|
ComponentAccessControllerTest()
|
|
| Method Summary | |
|---|---|
void |
setup()
|
void |
testGetUserRolesAndIsUserAuthorizedWithAdminUserRoleAndDonwloadContext()
Test of getUserRoles and isUserAuthorized methods, of class ComponentAccessController. |
void |
testGetUserRolesAndIsUserAuthorizedWithAdminUserRoleAndPersistContext()
Test of getUserRoles and isUserAuthorized methods, of class ComponentAccessController. |
void |
testGetUserRolesAndIsUserAuthorizedWithAdminUserRoleAndUnknownContext()
Test of getUserRoles and isUserAuthorized methods, of class ComponentAccessController. |
void |
testGetUserRolesAndIsUserAuthorizedWithReaderUserRoleAndDonwloadContext()
Test of getUserRoles and isUserAuthorized methods, of class ComponentAccessController. |
void |
testGetUserRolesAndIsUserAuthorizedWithReaderUserRoleAndPersistContext()
Test of getUserRoles and isUserAuthorized methods, of class ComponentAccessController. |
void |
testGetUserRolesAndIsUserAuthorizedWithReaderUserRoleAndUnknownContext()
Test of getUserRoles and isUserAuthorized methods, of class ComponentAccessController. |
void |
testGetUserRolesAndIsUserAuthorizedWithWriterUserRoleAndDonwloadContext()
Test of getUserRoles and isUserAuthorized methods, of class ComponentAccessController. |
void |
testGetUserRolesAndIsUserAuthorizedWithWriterUserRoleAndPersistContext()
Test of getUserRoles and isUserAuthorized methods, of class ComponentAccessController. |
void |
testGetUserRolesAndIsUserAuthorizedWithWriterUserRoleAndUnknownContext()
Test of getUserRoles and isUserAuthorized methods, of class ComponentAccessController. |
void |
testIsRightOnTopicsEnabled()
Test of isRightOnTopicsEnabled method, of class ComponentAccessController. |
void |
testIsUserAuthorized()
Test of isUserAuthorized method, of class ComponentAccessController. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public MockByReflectionRule mockByReflectionRule
| Constructor Detail |
|---|
public ComponentAccessControllerTest()
| Method Detail |
|---|
public void setup()
public void testIsRightOnTopicsEnabled()
public void testIsUserAuthorized()
throws Exception
Exception
public void testGetUserRolesAndIsUserAuthorizedWithAdminUserRoleAndUnknownContext()
throws Exception
Exception
public void testGetUserRolesAndIsUserAuthorizedWithAdminUserRoleAndPersistContext()
throws Exception
Exception
public void testGetUserRolesAndIsUserAuthorizedWithAdminUserRoleAndDonwloadContext()
throws Exception
Exception
public void testGetUserRolesAndIsUserAuthorizedWithWriterUserRoleAndUnknownContext()
throws Exception
Exception
public void testGetUserRolesAndIsUserAuthorizedWithWriterUserRoleAndPersistContext()
throws Exception
Exception
public void testGetUserRolesAndIsUserAuthorizedWithWriterUserRoleAndDonwloadContext()
throws Exception
Exception
public void testGetUserRolesAndIsUserAuthorizedWithReaderUserRoleAndUnknownContext()
throws Exception
Exception
public void testGetUserRolesAndIsUserAuthorizedWithReaderUserRoleAndPersistContext()
throws Exception
Exception
public void testGetUserRolesAndIsUserAuthorizedWithReaderUserRoleAndDonwloadContext()
throws Exception
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||