public class UserUsageTest
extends junit.framework.TestCase
| Modifier and Type | Field and Description |
|---|---|
protected AuthenticationComponent |
authenticationComponent |
protected MutableAuthenticationService |
authenticationService |
protected FileFolderService |
fileFolderService |
protected org.alfresco.service.cmr.repository.NodeService |
nodeService |
protected org.alfresco.service.cmr.repository.NodeRef |
personNodeRef |
protected org.alfresco.service.cmr.repository.NodeRef |
personNodeRef2 |
protected org.alfresco.service.cmr.repository.NodeRef |
rootNodeRef |
protected org.alfresco.service.cmr.repository.NodeRef |
systemNodeRef |
| Constructor and Description |
|---|
UserUsageTest() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
runAs(java.lang.String userName) |
protected void |
runAsAdmin() |
protected void |
setUp() |
protected void |
tearDown() |
void |
testCreateCopyDeleteAcrossTx() |
void |
testCreateCopyDeleteFolderWithContentAcrossTx() |
void |
testCreateCopyDeleteFolderWithContentInTx() |
void |
testCreateCopyDeleteInTx() |
void |
testCreateDeleteRestoreAcrossTx() |
void |
testCreateDeleteRestoreInTx() |
void |
testCreateDeleteRestoreTwoUsersAcrossTx() |
void |
testCreateTakeOwnershipAcrossTx() |
void |
testCreateTakeOwnershipInTx() |
void |
testCreateUpdateDeleteAcrossTx() |
void |
testCreateUpdateDeleteInTx() |
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toStringassertEquals, 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, formatprotected org.alfresco.service.cmr.repository.NodeService nodeService
protected FileFolderService fileFolderService
protected MutableAuthenticationService authenticationService
protected org.alfresco.service.cmr.repository.NodeRef rootNodeRef
protected org.alfresco.service.cmr.repository.NodeRef systemNodeRef
protected AuthenticationComponent authenticationComponent
protected org.alfresco.service.cmr.repository.NodeRef personNodeRef
protected org.alfresco.service.cmr.repository.NodeRef personNodeRef2
protected void setUp()
throws java.lang.Exception
setUp in class junit.framework.TestCasejava.lang.Exceptionprotected void tearDown()
throws java.lang.Exception
tearDown in class junit.framework.TestCasejava.lang.Exceptionprotected void runAs(java.lang.String userName)
protected void runAsAdmin()
public void testCreateUpdateDeleteInTx()
throws java.lang.Exception
java.lang.Exceptionpublic void testCreateUpdateDeleteAcrossTx()
throws java.lang.Exception
java.lang.Exceptionpublic void testCreateDeleteRestoreInTx()
throws java.lang.Exception
java.lang.Exceptionpublic void testCreateDeleteRestoreAcrossTx()
throws java.lang.Exception
java.lang.Exceptionpublic void testCreateCopyDeleteInTx()
throws java.lang.Exception
java.lang.Exceptionpublic void testCreateCopyDeleteAcrossTx()
throws java.lang.Exception
java.lang.Exceptionpublic void testCreateCopyDeleteFolderWithContentInTx()
throws java.lang.Exception
java.lang.Exceptionpublic void testCreateCopyDeleteFolderWithContentAcrossTx()
throws java.lang.Exception
java.lang.Exceptionpublic void testCreateTakeOwnershipInTx()
throws java.lang.Exception
java.lang.Exceptionpublic void testCreateTakeOwnershipAcrossTx()
throws java.lang.Exception
java.lang.Exceptionpublic void testCreateDeleteRestoreTwoUsersAcrossTx()
throws java.lang.Exception
java.lang.ExceptionCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.