com.stratelia.webactiv.beans.admin
Class AssignRightTest
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.dbunit.DatabaseTestCase
org.dbunit.DBTestCase
org.dbunit.JndiBasedDBTestCase
com.silverpeas.components.model.AbstractTestDao
com.stratelia.webactiv.beans.admin.AssignRightTest
- All Implemented Interfaces:
- junit.framework.Test
public class AssignRightTest
- extends AbstractTestDao
- Author:
- ehugonnet
| Methods inherited from class org.dbunit.JndiBasedDBTestCase |
getJNDIProperties, newDatabaseTester |
| Methods inherited from class org.dbunit.DBTestCase |
getConnection |
| Methods inherited from class org.dbunit.DatabaseTestCase |
closeConnection, getDatabaseTester, getOperationListener, getSetUpOperation, setUpDatabaseConfig |
| Methods inherited from class junit.framework.TestCase |
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, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, toString |
AssignRightTest
public AssignRightTest()
setUp
public void setUp()
throws Exception
- Overrides:
setUp in class AbstractTestDao
- Throws:
Exception
tearDown
public void tearDown()
throws Exception
- Overrides:
tearDown in class AbstractTestDao
- Throws:
Exception
getDatasetFileName
protected String getDatasetFileName()
- Specified by:
getDatasetFileName in class AbstractTestDao
getTableCreationFileName
protected String getTableCreationFileName()
- Specified by:
getTableCreationFileName in class AbstractTestDao
testDirectKmeliaSubNodeRightMustNotBeDeletedIfUserIsInGroupThatHasKmeliaAccess
public void testDirectKmeliaSubNodeRightMustNotBeDeletedIfUserIsInGroupThatHasKmeliaAccess()
throws AdminException
- Throws:
AdminException
testDirectKmeliaSubNodeRightMustBeDeletedIfUserHasNoMoreAccessOnKmelia
public void testDirectKmeliaSubNodeRightMustBeDeletedIfUserHasNoMoreAccessOnKmelia()
throws AdminException
- Throws:
AdminException
testAssignFromGroup1ToUserAByCopyModeButNotObjectRights
public void testAssignFromGroup1ToUserAByCopyModeButNotObjectRights()
throws AdminException
- Throws:
AdminException
testAssignFromGroup1ToUserAByCopyModeWithObjectRights
public void testAssignFromGroup1ToUserAByCopyModeWithObjectRights()
throws AdminException
- Throws:
AdminException
testAssignFromGroup1ToUserBByReplaceModeButNotObjectRights
public void testAssignFromGroup1ToUserBByReplaceModeButNotObjectRights()
throws AdminException
- Throws:
AdminException
testAssignFromGroup1ToUserBByReplaceModeWithObjectRights
public void testAssignFromGroup1ToUserBByReplaceModeWithObjectRights()
throws AdminException
- Throws:
AdminException
testAssignFromGroupNoRightsToUserAByCopyModeButNotObjectRights
public void testAssignFromGroupNoRightsToUserAByCopyModeButNotObjectRights()
throws AdminException
- Throws:
AdminException
testAssignFromGroupNoRightsToUserBByReplaceModeButNotObjectRights
public void testAssignFromGroupNoRightsToUserBByReplaceModeButNotObjectRights()
throws AdminException
- Throws:
AdminException
testAssignFromGroup1ToGroup2AByCopyModeButNotObjectRights
public void testAssignFromGroup1ToGroup2AByCopyModeButNotObjectRights()
throws AdminException
- Throws:
AdminException
testAssignFromGroup1ToGroup2AByCopyModeWithObjectRights
public void testAssignFromGroup1ToGroup2AByCopyModeWithObjectRights()
throws AdminException
- Throws:
AdminException
testAssignFromGroup2ToGroup1AByReplaceModeButNotObjectRights
public void testAssignFromGroup2ToGroup1AByReplaceModeButNotObjectRights()
throws AdminException
- Throws:
AdminException
testAssignFromGroup1ToGroup2AByReplaceModeWithObjectRights
public void testAssignFromGroup1ToGroup2AByReplaceModeWithObjectRights()
throws AdminException
- Throws:
AdminException
testAssignFromGroupNoRightsToGroupG1ByCopyModeButNotObjectRights
public void testAssignFromGroupNoRightsToGroupG1ByCopyModeButNotObjectRights()
throws AdminException
- Throws:
AdminException
testAssignFromGroupNoRightsToGroupG1ByReplaceModeButNotObjectRights
public void testAssignFromGroupNoRightsToGroupG1ByReplaceModeButNotObjectRights()
throws AdminException
- Throws:
AdminException
testAssignFromUserBToGroupG2ByCopyModeButNotObjectRights
public void testAssignFromUserBToGroupG2ByCopyModeButNotObjectRights()
throws AdminException
- Throws:
AdminException
testAssignFromUserBToGroupG2ByCopyModeWithObjectRights
public void testAssignFromUserBToGroupG2ByCopyModeWithObjectRights()
throws AdminException
- Throws:
AdminException
testAssignFromUserBToGroupG1ByReplaceModeButNotObjectRights
public void testAssignFromUserBToGroupG1ByReplaceModeButNotObjectRights()
throws AdminException
- Throws:
AdminException
testAssignFromUserBToGroupG1ByReplaceModeWithObjectRights
public void testAssignFromUserBToGroupG1ByReplaceModeWithObjectRights()
throws AdminException
- Throws:
AdminException
testAssignFromUserNoRightsToGroupG2ByCopyModeButNotObjectRights
public void testAssignFromUserNoRightsToGroupG2ByCopyModeButNotObjectRights()
throws AdminException
- Throws:
AdminException
testAssignFromUserNoRightsToGroupG1ByReplaceModeButNotObjectRights
public void testAssignFromUserNoRightsToGroupG1ByReplaceModeButNotObjectRights()
throws AdminException
- Throws:
AdminException
testAssignFromUserBToUserAByCopyModeButNotObjectRights
public void testAssignFromUserBToUserAByCopyModeButNotObjectRights()
throws AdminException
- Throws:
AdminException
testAssignFromUserBToUserAByCopyModeWithObjectRights
public void testAssignFromUserBToUserAByCopyModeWithObjectRights()
throws AdminException
- Throws:
AdminException
testAssignFromUserAToUserBByReplaceModeButNotObjectRights
public void testAssignFromUserAToUserBByReplaceModeButNotObjectRights()
throws AdminException
- Throws:
AdminException
testAssignFromUserBToUserAByReplaceModeWithObjectRights
public void testAssignFromUserBToUserAByReplaceModeWithObjectRights()
throws AdminException
- Throws:
AdminException
testAssignFromUserNoRightsToUserBByCopyModeButNotObjectRights
public void testAssignFromUserNoRightsToUserBByCopyModeButNotObjectRights()
throws AdminException
- Throws:
AdminException
testAssignFromUserNoRightsToUserBByReplaceModeButNotObjectRights
public void testAssignFromUserNoRightsToUserBByReplaceModeButNotObjectRights()
throws AdminException
- Throws:
AdminException
testSameSourceAndTarget
public void testSameSourceAndTarget()
throws AdminException
- Throws:
AdminException
testAssignFromNotDefinedNullSource
public void testAssignFromNotDefinedNullSource()
throws AdminException
- Throws:
AdminException
testAssignFromNotDefinedEmptySource
public void testAssignFromNotDefinedEmptySource()
throws AdminException
- Throws:
AdminException
testAssignFromNotDefinedSpacesSource
public void testAssignFromNotDefinedSpacesSource()
throws AdminException
- Throws:
AdminException
testAssignFromNotDefinedNullStringSource
public void testAssignFromNotDefinedNullStringSource()
throws AdminException
- Throws:
AdminException
testAssignFromNotDefinedNullTarget
public void testAssignFromNotDefinedNullTarget()
throws AdminException
- Throws:
AdminException
testAssignFromNotDefinedEmptyTarget
public void testAssignFromNotDefinedEmptyTarget()
throws AdminException
- Throws:
AdminException
testAssignFromNotDefinedSpacesTarget
public void testAssignFromNotDefinedSpacesTarget()
throws AdminException
- Throws:
AdminException
testAssignFromNotDefinedNullStringTarget
public void testAssignFromNotDefinedNullStringTarget()
throws AdminException
- Throws:
AdminException
Copyright © 2016 Silverpeas. All Rights Reserved.