public class GroupsTest extends BaseWebScriptTest
BaseWebScriptTest.BaseWebScriptTestListener, BaseWebScriptTest.HttpMethodResponse, BaseWebScriptTest.PatchMethod, BaseWebScriptTest.RemoteServer, BaseWebScriptTest.WebScriptTestListener| Constructor and Description |
|---|
GroupsTest() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
setUp() |
protected void |
tearDown() |
void |
testCreateRootGroup()
Detailed test of create root group
Detailed test of delete root group
|
void |
testGetChildGroupsPaging() |
void |
testGetChildren()
Detailed test of get Children
|
void |
testGetGroup()
Detailed test of get group
|
void |
testGetParents()
Detailed test of get Parents
|
void |
testGetParentsPaging() |
void |
testGetRootGroup()
Detailed test of get root groups
|
void |
testGetRootGroupsPaging() |
void |
testLinkChild()
Detailed test of link group
|
void |
testSearchGroups()
Detailed test of search groups
if the optional includeInternal parameter is true then will include internal groups, otherwise internalGroups are not returned.
If the optional shortNameFilter parameter is set then returns those root groups with a partial match on shortName.
|
void |
testSearchGroupsPaging() |
void |
testUpdateGroup()
Detailed test of update group
|
getCustomAuthenticatorFactory, getDefaultRunAs, getRemoteServer, getServer, isLogEnabled, log, sendLocalRequest, sendRemoteRequest, sendRequest, sendRequest, setCustomAuthenticatorFactory, setCustomContext, setDefaultRunAs, setListener, setRemoteServer, setTraceReqRescountTestCases, 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 BaseWebScriptTestjava.lang.Exceptionprotected void tearDown()
throws java.lang.Exception
tearDown in class junit.framework.TestCasejava.lang.Exceptionpublic void testGetRootGroup()
throws java.lang.Exception
java.lang.Exceptionpublic void testGetGroup()
throws java.lang.Exception
java.lang.Exceptionpublic void testCreateRootGroup()
throws java.lang.Exception
java.lang.Exceptionpublic void testLinkChild()
throws java.lang.Exception
java.lang.Exceptionpublic void testUpdateGroup()
throws java.lang.Exception
java.lang.Exceptionpublic void testSearchGroups()
throws java.lang.Exception
java.lang.Exceptionpublic void testSearchGroupsPaging()
throws java.lang.Exception
java.lang.Exceptionpublic void testGetRootGroupsPaging()
throws java.lang.Exception
java.lang.Exceptionpublic void testGetParentsPaging()
throws java.lang.Exception
java.lang.Exceptionpublic void testGetChildGroupsPaging()
throws java.lang.Exception
java.lang.Exceptionpublic void testGetParents()
throws java.lang.Exception
java.lang.Exceptionpublic void testGetChildren()
throws java.lang.Exception
java.lang.ExceptionCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.