public class NodeArchiveServiceRestApiTest extends BaseWebScriptTest
NodeArchiveService.BaseWebScriptTest.BaseWebScriptTestListener, BaseWebScriptTest.HttpMethodResponse, BaseWebScriptTest.PatchMethod, BaseWebScriptTest.RemoteServer, BaseWebScriptTest.WebScriptTestListener| Constructor and Description |
|---|
NodeArchiveServiceRestApiTest() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
setUp() |
void |
tearDown() |
void |
testGetDeletedItems()
This test calls the GET REST API to read some deleted items from the archive store
and checks the various JSON data fields.
|
void |
testPurgeDeletedItems()
This test method purges some deleted nodes from the archive store.
|
void |
testRestoreDeletedItems()
This test method restores some deleted nodes from the archive store.
|
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.Exceptionpublic void tearDown()
throws java.lang.Exception
tearDown in class junit.framework.TestCasejava.lang.Exceptionpublic void testGetDeletedItems()
throws java.lang.Exception
java.lang.Exceptionpublic void testPurgeDeletedItems()
throws java.lang.Exception
java.lang.Exceptionpublic void testRestoreDeletedItems()
throws java.lang.Exception
java.lang.ExceptionCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.