|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.alfresco.repo.web.scripts.BaseWebScriptTest
org.alfresco.repo.web.scripts.groups.GroupsTest
public class GroupsTest
Unit test of Groups REST APIs. /api/groups /api/rootgroups
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.alfresco.repo.web.scripts.BaseWebScriptTest |
---|
BaseWebScriptTest.BaseWebScriptTestListener, BaseWebScriptTest.HttpMethodResponse, BaseWebScriptTest.PatchMethod, BaseWebScriptTest.RemoteServer, BaseWebScriptTest.WebScriptTestListener |
Constructor Summary | |
---|---|
GroupsTest()
|
Method Summary | |
---|---|
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 |
Methods inherited from class org.alfresco.repo.web.scripts.BaseWebScriptTest |
---|
getDefaultRunAs, getRemoteServer, getServer, isLogEnabled, log, sendLocalRequest, sendRemoteRequest, sendRequest, sendRequest, setCustomContext, setDefaultRunAs, setListener, setRemoteServer, setTraceReqRes |
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 |
Constructor Detail |
---|
public GroupsTest()
Method Detail |
---|
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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |