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, setTraceReqRes
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString
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
protected void setUp() throws java.lang.Exception
setUp
in class BaseWebScriptTest
java.lang.Exception
protected void tearDown() throws java.lang.Exception
tearDown
in class junit.framework.TestCase
java.lang.Exception
public void testGetRootGroup() throws java.lang.Exception
java.lang.Exception
public void testGetGroup() throws java.lang.Exception
java.lang.Exception
public void testCreateRootGroup() throws java.lang.Exception
java.lang.Exception
public void testLinkChild() throws java.lang.Exception
java.lang.Exception
public void testUpdateGroup() throws java.lang.Exception
java.lang.Exception
public void testSearchGroups() throws java.lang.Exception
java.lang.Exception
public void testSearchGroupsPaging() throws java.lang.Exception
java.lang.Exception
public void testGetRootGroupsPaging() throws java.lang.Exception
java.lang.Exception
public void testGetParentsPaging() throws java.lang.Exception
java.lang.Exception
public void testGetChildGroupsPaging() throws java.lang.Exception
java.lang.Exception
public void testGetParents() throws java.lang.Exception
java.lang.Exception
public void testGetChildren() throws java.lang.Exception
java.lang.Exception
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.