public class AssetTest 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 |
|---|
AssetTest() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
setUp() |
protected void |
tearDown() |
void |
testCreateAsset()
Create Asset
|
void |
testDeleteAsset() |
void |
testGetAndUpdateAssetContent()
Tests updating of Content of an File Asset
|
void |
testGetAsset() |
void |
testModifiedAssetsTest()
test the modified assets with a webapp methods
|
void |
testModifiedAssetsWebAppTest()
Test the modified assets (Web App) methods
|
void |
testMoveAsset()
Test rename asset
|
void |
testRenameAsset()
Test rename asset
|
void |
testRevertAssetsTest()
test the revert assets methods
|
void |
testRevertAssetsWebAppTest()
Test the revert assets (Web App) methods
|
void |
testSubmitAssetsTest()
test the modified assets methods
|
void |
testSubmitAssetsWebAppTest()
Test the submit assets (Web App) methods
|
void |
testUpdateAssetProperties()
Tests updating properties of an Asset
|
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 testModifiedAssetsWebAppTest()
throws java.lang.Exception
java.lang.Exceptionpublic void testModifiedAssetsTest()
throws java.lang.Exception
java.lang.Exceptionpublic void testSubmitAssetsTest()
throws java.lang.Exception
java.lang.Exceptionpublic void testSubmitAssetsWebAppTest()
throws java.lang.Exception
java.lang.Exceptionpublic void testRevertAssetsTest()
throws java.lang.Exception
java.lang.Exceptionpublic void testRevertAssetsWebAppTest()
throws java.lang.Exception
java.lang.Exceptionpublic void testGetAsset()
throws java.lang.Exception
java.lang.Exceptionpublic void testDeleteAsset()
throws java.lang.Exception
java.lang.Exceptionpublic void testCreateAsset()
throws java.lang.Exception
java.lang.Exceptionpublic void testRenameAsset()
throws java.lang.Exception
java.lang.Exceptionpublic void testMoveAsset()
throws java.lang.Exception
java.lang.Exceptionpublic void testUpdateAssetProperties()
throws java.lang.Exception
java.lang.Exceptionpublic void testGetAndUpdateAssetContent()
throws java.lang.Exception
java.lang.ExceptionCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.