public class TaggingServiceImplTest
extends junit.framework.TestCase
| Modifier and Type | Class and Description |
|---|---|
class |
TaggingServiceImplTest.AsyncOccurs |
| Constructor and Description |
|---|
TaggingServiceImplTest() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
setUp() |
protected void |
tearDown() |
void |
test1TagCRUD() |
void |
test2AddRemoveTag() |
void |
test3TagScopeFindAddRemove() |
void |
test4TagScope() |
void |
test5TagScopeSummary() |
void |
test6TagScopeRefresh() |
void |
test7TagScopeSetUpdate() |
void |
test8ETHREEOH_220() |
void |
test91PermissionsAndPolicies()
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
|
void |
test92JSAPI() |
void |
test93JSTagScope() |
void |
test93OnStartupJob()
Test that the scheduled task will do the right thing
when it runs.
|
void |
test94MultiThreaded()
Test that when multiple threads do tag updates, the right thing still
happens
|
void |
test9TagScopeUpdateViaNodePolicies()
Ensures that the tag scope is correctly updated
when folders and content are created, updated,
moved, copied and deleted.
|
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 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.Exceptionpublic void test1TagCRUD()
throws java.lang.Exception
java.lang.Exceptionpublic void test2AddRemoveTag()
throws java.lang.Exception
java.lang.Exceptionpublic void test3TagScopeFindAddRemove()
throws java.lang.Exception
java.lang.Exceptionpublic void test4TagScope()
throws java.lang.Exception
java.lang.Exceptionpublic void test5TagScopeSummary()
throws java.lang.Exception
java.lang.Exceptionpublic void test6TagScopeRefresh()
throws java.lang.Exception
java.lang.Exceptionpublic void test7TagScopeSetUpdate()
throws java.lang.Exception
java.lang.Exceptionpublic void test8ETHREEOH_220()
throws java.lang.Exception
java.lang.Exceptionpublic void test9TagScopeUpdateViaNodePolicies()
throws java.lang.Exception
java.lang.Exceptionpublic void test91PermissionsAndPolicies()
throws java.lang.Exception
java.lang.Exceptionpublic void test92JSAPI()
throws java.lang.Exception
java.lang.Exceptionpublic void test93JSTagScope()
throws java.lang.Exception
java.lang.Exceptionpublic void test93OnStartupJob()
throws java.lang.Exception
java.lang.Exceptionpublic void test94MultiThreaded()
throws java.lang.Exception
java.lang.ExceptionCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.