public class ReplicationRestApiTest extends BaseWebScriptTest
BaseWebScriptTest.BaseWebScriptTestListener, BaseWebScriptTest.HttpMethodResponse, BaseWebScriptTest.PatchMethod, BaseWebScriptTest.RemoteServer, BaseWebScriptTest.WebScriptTestListener| Constructor and Description |
|---|
ReplicationRestApiTest() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
setUp() |
protected void |
tearDown() |
void |
testReplicationDefinitionDelete() |
void |
testReplicationDefinitionGet() |
void |
testReplicationDefinitionPut() |
void |
testReplicationDefinitionsGet() |
void |
testReplicationDefinitionsNastyNames()
Test that when creating and working with replication
definitions with a name that includes "nasty"
characters, things still work.
|
void |
testReplicationDefinitionsPost() |
void |
testReplicationServiceIsEnabled() |
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 void testReplicationServiceIsEnabled()
throws java.lang.Exception
java.lang.Exceptionpublic void testReplicationDefinitionsGet()
throws java.lang.Exception
java.lang.Exceptionpublic void testReplicationDefinitionGet()
throws java.lang.Exception
java.lang.Exceptionpublic void testReplicationDefinitionsPost()
throws java.lang.Exception
java.lang.Exceptionpublic void testReplicationDefinitionPut()
throws java.lang.Exception
java.lang.Exceptionpublic void testReplicationDefinitionDelete()
throws java.lang.Exception
java.lang.Exceptionpublic void testReplicationDefinitionsNastyNames()
throws java.lang.Exception
java.lang.Exceptionprotected 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.ExceptionCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.