public class TransferServiceImplTest extends BaseAlfrescoSpringTest
actionService, authenticationComponent, authenticationService, nodeService, rootNodeRef, storeRefsessionFactoryjdbcTemplatetransactionDefinition, transactionManager, transactionStatusAUTOWIRE_BY_NAME, AUTOWIRE_BY_TYPE, AUTOWIRE_NO| Constructor and Description |
|---|
TransferServiceImplTest() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
onSetUp()
Called during the transaction setup
|
void |
runBare() |
void |
testALF6565()
Test that if someone copies a transfer group using a client app then the getTransferTarget operations still succeed
|
void |
testAsyncCallback()
Test the transfer method when it is running async.
|
void |
testAsyncCancel()
Test the transfer cancel method when it is running async.
|
void |
testCreateTarget()
Test create target.
|
void |
testCreateTargetSyntax2()
Test create target via in memory data object.
|
void |
testDeleteTransferTarget() |
void |
testEmptyContent()
Test the transfer method with regard to an empty content property.
|
void |
testEnableTransferTarget() |
void |
testExistingNodes()
Test Existing nodes.
|
void |
testGetAllTransferTargetsByGroup()
Test of Get All Transfer Targets By Group
|
void |
testGetTransferTargets()
Test of Get TransferTargets
|
void |
testManyNodes()
Test the transfer method by sending a graph of nodes.
|
void |
testMoveNode()
Test the transfer method w.r.t.
|
void |
testPathBasedUpdate()
Test the path based update.
|
void |
testPeerAssocs()
ALF-6174
Test transfer of peer associations
Step 1 : Create 2 nodes
Add a peer assoc
Transfer
Step 2: Add another peer assoc
Transfer
Step 3: Remove a peer assoc
Transfer
Step 4: Remove a peer assoc
Transfer
|
void |
testRepeatUpdateOfContent()
Test the transfer method with regard to a repeated update of content.by sending one node (CRUD).
|
void |
testReplaceNode()
Test the transfer method with regard to replacing a node.
|
void |
testSetup() |
void |
testTransferOneNode()
Test the transfer method by sending one node (CRUD).
|
void |
testTransferOneNodeWithBigContent()
Test the transfer method with regard to big content.
|
void |
testUpdateTransferTarget() |
createNode, onSetUpInTransaction, onTearDownInTransactionflushAndClear, getConfigLocations, getSession, loadContext, setSessionFactorycountRowsInTable, deleteFromTables, executeSqlScript, getJdbcTemplate, setComplete, setDataSource, setSqlScriptEncodingendTransaction, isDefaultRollback, isRollback, onSetUpBeforeTransaction, onTearDown, onTearDownAfterTransaction, preventTransaction, setDefaultRollback, setTransactionDefinition, setTransactionManager, startNewTransactiongetAutowireMode, injectDependencies, isDependencyCheck, isPopulateProtectedVariables, prepareTestInstance, setAutowireMode, setDependencyCheck, setPopulateProtectedVariablescontextKey, createApplicationContext, createBeanDefinitionReader, customizeBeanFactory, getApplicationContext, getConfigPath, getConfigPaths, getLoadCount, loadContextLocations, prepareApplicationContext, setDirty, setUp, tearDownaddContext, contextKeyString, getContext, hasCachedContext, isContextKeyEmpty, setDirtygetDisabledTestCount, isDisabledInThisEnvironment, recordDisabledcountTestCases, createResult, getName, run, run, 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, formatprotected void onSetUp()
throws java.lang.Exception
onSetUp in class org.springframework.test.AbstractTransactionalSpringContextTestsjava.lang.Exceptionpublic void runBare()
throws java.lang.Throwable
runBare in class org.springframework.test.ConditionalTestCasejava.lang.Throwablepublic void testSetup()
public void testCreateTarget()
throws java.lang.Exception
java.lang.Exceptionpublic void testCreateTargetSyntax2()
throws java.lang.Exception
java.lang.Exceptionpublic void testGetTransferTargets()
throws java.lang.Exception
java.lang.Exceptionpublic void testALF6565()
throws java.lang.Exception
java.lang.Exceptionpublic void testGetAllTransferTargetsByGroup()
throws java.lang.Exception
java.lang.Exceptionpublic void testUpdateTransferTarget()
throws java.lang.Exception
java.lang.Exceptionpublic void testDeleteTransferTarget()
throws java.lang.Exception
java.lang.Exceptionpublic void testEnableTransferTarget()
throws java.lang.Exception
java.lang.Exceptionpublic void testTransferOneNode()
throws java.lang.Exception
java.lang.Exceptionpublic void testMoveNode()
throws java.lang.Exception
java.lang.Exceptionpublic void testManyNodes()
throws java.lang.Exception
java.lang.Exceptionpublic void testPathBasedUpdate()
throws java.lang.Exception
java.lang.Exceptionpublic void testAsyncCallback()
throws java.lang.Exception
java.lang.Exceptionpublic void testAsyncCancel()
throws java.lang.Exception
java.lang.Exceptionpublic void testTransferOneNodeWithBigContent()
throws java.lang.Exception
java.lang.Exceptionpublic void testEmptyContent()
throws java.lang.Exception
java.lang.Exceptionpublic void testRepeatUpdateOfContent()
throws java.lang.Exception
java.lang.Exceptionpublic void testReplaceNode()
throws java.lang.Exception
java.lang.Exceptionpublic void testPeerAssocs()
throws java.lang.Exception
java.lang.Exceptionpublic void testExistingNodes()
throws java.lang.Exception
java.lang.ExceptionCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.