org.alfresco.repo.usage
Class UserUsageTest
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.alfresco.repo.usage.UserUsageTest
- All Implemented Interfaces:
- junit.framework.Test
public class UserUsageTest
- extends junit.framework.TestCase
User Usage unit test
Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString |
Methods inherited from class junit.framework.Assert |
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, fail, fail, failNotEquals, failNotSame, failSame, format |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
nodeService
protected org.alfresco.service.cmr.repository.NodeService nodeService
fileFolderService
protected FileFolderService fileFolderService
authenticationService
protected MutableAuthenticationService authenticationService
rootNodeRef
protected org.alfresco.service.cmr.repository.NodeRef rootNodeRef
systemNodeRef
protected org.alfresco.service.cmr.repository.NodeRef systemNodeRef
authenticationComponent
protected AuthenticationComponent authenticationComponent
personNodeRef
protected org.alfresco.service.cmr.repository.NodeRef personNodeRef
personNodeRef2
protected org.alfresco.service.cmr.repository.NodeRef personNodeRef2
UserUsageTest
public UserUsageTest()
setUp
protected void setUp()
throws java.lang.Exception
- Overrides:
setUp
in class junit.framework.TestCase
- Throws:
java.lang.Exception
tearDown
protected void tearDown()
throws java.lang.Exception
- Overrides:
tearDown
in class junit.framework.TestCase
- Throws:
java.lang.Exception
runAs
protected void runAs(java.lang.String userName)
runAsAdmin
protected void runAsAdmin()
testCreateUpdateDeleteInTx
public void testCreateUpdateDeleteInTx()
throws java.lang.Exception
- Throws:
java.lang.Exception
testCreateUpdateDeleteAcrossTx
public void testCreateUpdateDeleteAcrossTx()
throws java.lang.Exception
- Throws:
java.lang.Exception
testCreateDeleteRestoreInTx
public void testCreateDeleteRestoreInTx()
throws java.lang.Exception
- Throws:
java.lang.Exception
testCreateDeleteRestoreAcrossTx
public void testCreateDeleteRestoreAcrossTx()
throws java.lang.Exception
- Throws:
java.lang.Exception
testCreateCopyDeleteInTx
public void testCreateCopyDeleteInTx()
throws java.lang.Exception
- Throws:
java.lang.Exception
testCreateCopyDeleteAcrossTx
public void testCreateCopyDeleteAcrossTx()
throws java.lang.Exception
- Throws:
java.lang.Exception
testCreateCopyDeleteFolderWithContentInTx
public void testCreateCopyDeleteFolderWithContentInTx()
throws java.lang.Exception
- Throws:
java.lang.Exception
testCreateCopyDeleteFolderWithContentAcrossTx
public void testCreateCopyDeleteFolderWithContentAcrossTx()
throws java.lang.Exception
- Throws:
java.lang.Exception
testCreateTakeOwnershipInTx
public void testCreateTakeOwnershipInTx()
throws java.lang.Exception
- Throws:
java.lang.Exception
testCreateTakeOwnershipAcrossTx
public void testCreateTakeOwnershipAcrossTx()
throws java.lang.Exception
- Throws:
java.lang.Exception
testCreateDeleteRestoreTwoUsersAcrossTx
public void testCreateDeleteRestoreTwoUsersAcrossTx()
throws java.lang.Exception
- Throws:
java.lang.Exception
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.