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, setTraceReqRes
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString
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
public void testReplicationServiceIsEnabled() throws java.lang.Exception
java.lang.Exception
public void testReplicationDefinitionsGet() throws java.lang.Exception
java.lang.Exception
public void testReplicationDefinitionGet() throws java.lang.Exception
java.lang.Exception
public void testReplicationDefinitionsPost() throws java.lang.Exception
java.lang.Exception
public void testReplicationDefinitionPut() throws java.lang.Exception
java.lang.Exception
public void testReplicationDefinitionDelete() throws java.lang.Exception
java.lang.Exception
public void testReplicationDefinitionsNastyNames() throws java.lang.Exception
java.lang.Exception
protected void setUp() throws java.lang.Exception
setUp
in class BaseWebScriptTest
java.lang.Exception
protected void tearDown() throws java.lang.Exception
tearDown
in class junit.framework.TestCase
java.lang.Exception
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.