|
|||||||||
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.forms.AbstractTestFormRestApi
org.alfresco.repo.web.scripts.forms.FormRestApiJsonPost_Test
public class FormRestApiJsonPost_Test
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 |
Field Summary |
---|
Fields inherited from class org.alfresco.repo.web.scripts.forms.AbstractTestFormRestApi |
---|
APPLICATION_JSON, associatedDoc_A, associatedDoc_B, associatedDoc_C, associatedDoc_D, associatedDoc_E, childDoc_A, childDoc_B, childDoc_C, childDoc_D, childDoc_E, containerNodeRef, containingNodeUpdateUrl, containingNodeUrl, FORM_DEF_URL, nodeService, referencingDocNodeRef, referencingNodeUpdateUrl, refNodePropertiesAfterCreation, TEST_FORM_DESCRIPTION, TEST_FORM_TITLE, testFolderNodeRef, transactionService |
Constructor Summary | |
---|---|
FormRestApiJsonPost_Test()
|
Method Summary | |
---|---|
void |
testAddAssocThatAlreadyExists()
This test method attempts to add the same association twice. |
void |
testAddChildAssocThatAlreadyExists()
This test method attempts to add the same child association twice. |
void |
testAddNewAssociationsToNode()
This test method attempts to add new associations between existing nodes. |
void |
testAddNewChildAssociationsToNode()
This test method attempts to add new associations between existing nodes. |
void |
testRemoveAssociationsFromNode()
This test method attempts to remove an existing association between two existing nodes. |
void |
testRemoveAssocThatDoesNotExist()
This test method attempts to remove an association that does not exist. |
void |
testRemoveChildAssociationsFromNode()
This test method attempts to remove an existing child association between two existing nodes. |
void |
testRemoveChildAssocThatDoesNotExist()
This test method attempts to remove a child association that does not exist. |
void |
testSimpleJsonPostRequest()
|
Methods inherited from class org.alfresco.repo.web.scripts.forms.AbstractTestFormRestApi |
---|
createTestNode, sendGetReq, setUp, tearDown |
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 FormRestApiJsonPost_Test()
Method Detail |
---|
public void testSimpleJsonPostRequest() throws java.io.IOException, org.json.JSONException
java.io.IOException
org.json.JSONException
public void testAddNewAssociationsToNode() throws java.lang.Exception
java.lang.Exception
public void testRemoveAssociationsFromNode() throws java.lang.Exception
java.lang.Exception
public void testAddAssocThatAlreadyExists() throws java.lang.Exception
java.lang.Exception
public void testRemoveAssocThatDoesNotExist() throws java.lang.Exception
java.lang.Exception
public void testAddNewChildAssociationsToNode() throws java.lang.Exception
java.lang.Exception
public void testRemoveChildAssociationsFromNode() throws java.lang.Exception
java.lang.Exception
public void testAddChildAssocThatAlreadyExists() throws java.lang.Exception
java.lang.Exception
public void testRemoveChildAssocThatDoesNotExist() throws java.lang.Exception
java.lang.Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |