org.alfresco.repo.tagging
Class TaggingServiceImplTest
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.alfresco.repo.tagging.TaggingServiceImplTest
- All Implemented Interfaces:
- junit.framework.Test
public class TaggingServiceImplTest
- extends junit.framework.TestCase
Tagging service implementation 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 |
TaggingServiceImplTest
public TaggingServiceImplTest()
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
testTagCRUD
public void testTagCRUD()
throws java.lang.Exception
- Throws:
java.lang.Exception
testAddRemoveTag
public void testAddRemoveTag()
throws java.lang.Exception
- Throws:
java.lang.Exception
testTagScopeFindAddRemove
public void testTagScopeFindAddRemove()
throws java.lang.Exception
- Throws:
java.lang.Exception
testTagScope
public void testTagScope()
throws java.lang.Exception
- Throws:
java.lang.Exception
testTagScopeSummary
public void testTagScopeSummary()
throws java.lang.Exception
- Throws:
java.lang.Exception
testTagScopeRefresh
public void testTagScopeRefresh()
throws java.lang.Exception
- Throws:
java.lang.Exception
testTagScopeSetUpdate
public void testTagScopeSetUpdate()
throws java.lang.Exception
- Throws:
java.lang.Exception
testETHREEOH_220
public void testETHREEOH_220()
throws java.lang.Exception
- Throws:
java.lang.Exception
testTagScopeUpdateViaNodePolicies
public void testTagScopeUpdateViaNodePolicies()
throws java.lang.Exception
- Ensures that the tag scope is correctly updated
when folders and content are created, updated,
moved, copied and deleted.
- Throws:
java.lang.Exception
testPermissionsAndPolicies
public void testPermissionsAndPolicies()
throws java.lang.Exception
- Ensures that a user can only tag a node they can write to,
but that the tag scope updates propagate upwards as the system
(even to things the user can't write to)
Also checks that policies are disabled during tag scope updates,
so that the auditable flags aren't incorrectly set by the change
- Throws:
java.lang.Exception
testJSAPI
public void testJSAPI()
throws java.lang.Exception
- Throws:
java.lang.Exception
testJSTagScope
public void testJSTagScope()
throws java.lang.Exception
- Throws:
java.lang.Exception
testOnStartupJob
public void testOnStartupJob()
throws java.lang.Exception
- Test that the scheduled task will do the right thing
when it runs.
- Throws:
java.lang.Exception
testMultiThreaded
public void testMultiThreaded()
throws java.lang.Exception
- Test that when multiple threads do tag updates, the right thing still
happens
- Throws:
java.lang.Exception
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.