|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.alfresco.repo.replication.ReplicationServiceIntegrationTest
public class ReplicationServiceIntegrationTest
Unit tests for the Replication Service. Handles its own transactions, as in a few cases it needs to run async actions and know how they'll behave
Constructor Summary | |
---|---|
ReplicationServiceIntegrationTest()
|
Method Summary | |
---|---|
protected void |
setUp()
|
protected void |
tearDown()
|
void |
testBasicExecution()
Test that the action service can find the executor for us, and that it has everything it needs |
void |
testCreateSaveLoad()
|
void |
testCreation()
|
void |
testDeletion()
Ensures that deletion works correctly |
void |
testEditing()
Ensures that we can create, save, edit, save load, edit, save, load etc, all without problems, and without creating duplicates |
void |
testExecutionResult()
Test that when we execute a replication task, the right stuff ends up being moved for us |
void |
testJavascriptAPI()
|
void |
testLoadByTarget()
|
void |
testLoadList()
|
void |
testRenaming()
Tests that we can rename definitions |
void |
testReplicationExecutionCancelling()
Check that cancelling works. |
void |
testReplicationExecutionLocking()
Check that the locking works. |
void |
testReplicationPayloadExpansion()
Test that we turn a list of payload node starting points into the correct set of nodes to pass to the transfer service. |
void |
testScheduling()
Test that the schedule related parts work properly |
void |
testTransferDefinitionBuilding()
Test that we turn a replication definition correctly into a transfer definition |
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString |
Methods inherited from class junit.framework.Assert |
---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ReplicationServiceIntegrationTest()
Method Detail |
---|
protected void setUp() throws java.lang.Exception
setUp
in class junit.framework.TestCase
java.lang.Exception
protected void tearDown() throws java.lang.Exception
tearDown
in class junit.framework.TestCase
java.lang.Exception
public void testCreation() throws java.lang.Exception
java.lang.Exception
public void testCreateSaveLoad() throws java.lang.Exception
java.lang.Exception
public void testLoadList() throws java.lang.Exception
java.lang.Exception
public void testLoadByTarget() throws java.lang.Exception
java.lang.Exception
public void testDeletion() throws java.lang.Exception
java.lang.Exception
public void testEditing() throws java.lang.Exception
java.lang.Exception
public void testRenaming() throws java.lang.Exception
java.lang.Exception
public void testBasicExecution() throws java.lang.Exception
java.lang.Exception
public void testReplicationExecutionLocking() throws java.lang.Exception
java.lang.Exception
public void testReplicationExecutionCancelling() throws java.lang.Exception
java.lang.Exception
public void testExecutionResult() throws java.lang.Exception
java.lang.Exception
public void testReplicationPayloadExpansion() throws java.lang.Exception
java.lang.Exception
public void testTransferDefinitionBuilding() throws java.lang.Exception
java.lang.Exception
public void testScheduling() throws java.lang.Exception
java.lang.Exception
public void testJavascriptAPI() throws java.lang.Exception
java.lang.Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |