public class SandboxTest extends BaseWebScriptTest
BaseWebScriptTest.BaseWebScriptTestListener, BaseWebScriptTest.HttpMethodResponse, BaseWebScriptTest.PatchMethod, BaseWebScriptTest.RemoteServer, BaseWebScriptTest.WebScriptTestListener| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ROLE_CONTENT_CONTRIBUTOR |
static java.lang.String |
ROLE_CONTENT_MANAGER |
static java.lang.String |
ROLE_CONTENT_PUBLISHER |
static java.lang.String |
ROLE_CONTENT_REVIEWER |
| Constructor and Description |
|---|
SandboxTest() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
setUp() |
protected void |
tearDown() |
void |
testCreateSandbox()
CRUD Sandbox
Create a sandbox, get it, and delete it
Is update supported? - There are no read-write attributes yet.
|
void |
testDeleteSandbox()
Test the delete sandbox method
|
void |
testGetSandbox()
Test the get sandbox method
|
void |
testListSandbox()
Test the list sandbox method
|
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, formatpublic static final java.lang.String ROLE_CONTENT_MANAGER
public static final java.lang.String ROLE_CONTENT_PUBLISHER
public static final java.lang.String ROLE_CONTENT_REVIEWER
public static final java.lang.String ROLE_CONTENT_CONTRIBUTOR
protected 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 testCreateSandbox()
throws java.lang.Exception
java.lang.Exceptionpublic void testListSandbox()
throws java.lang.Exception
java.lang.Exceptionpublic void testGetSandbox()
throws java.lang.Exception
java.lang.Exceptionpublic void testDeleteSandbox()
throws java.lang.Exception
java.lang.ExceptionCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.