public class TransferServiceImplTest extends BaseAlfrescoSpringTest
actionService, authenticationComponent, authenticationService, nodeService, rootNodeRef, storeRef
sessionFactory
jdbcTemplate
transactionDefinition, transactionManager, transactionStatus
AUTOWIRE_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, onTearDownInTransaction
flushAndClear, getConfigLocations, getSession, loadContext, setSessionFactory
countRowsInTable, deleteFromTables, executeSqlScript, getJdbcTemplate, setComplete, setDataSource, setSqlScriptEncoding
endTransaction, isDefaultRollback, isRollback, onSetUpBeforeTransaction, onTearDown, onTearDownAfterTransaction, preventTransaction, setDefaultRollback, setTransactionDefinition, setTransactionManager, startNewTransaction
getAutowireMode, injectDependencies, isDependencyCheck, isPopulateProtectedVariables, prepareTestInstance, setAutowireMode, setDependencyCheck, setPopulateProtectedVariables
contextKey, createApplicationContext, createBeanDefinitionReader, customizeBeanFactory, getApplicationContext, getConfigPath, getConfigPaths, getLoadCount, loadContextLocations, prepareApplicationContext, setDirty, setUp, tearDown
addContext, contextKeyString, getContext, hasCachedContext, isContextKeyEmpty, setDirty
getDisabledTestCount, isDisabledInThisEnvironment, recordDisabled
countTestCases, createResult, getName, run, run, 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
protected void onSetUp() throws java.lang.Exception
onSetUp
in class org.springframework.test.AbstractTransactionalSpringContextTests
java.lang.Exception
public void runBare() throws java.lang.Throwable
runBare
in class org.springframework.test.ConditionalTestCase
java.lang.Throwable
public void testSetup()
public void testCreateTarget() throws java.lang.Exception
java.lang.Exception
public void testCreateTargetSyntax2() throws java.lang.Exception
java.lang.Exception
public void testGetTransferTargets() throws java.lang.Exception
java.lang.Exception
public void testALF6565() throws java.lang.Exception
java.lang.Exception
public void testGetAllTransferTargetsByGroup() throws java.lang.Exception
java.lang.Exception
public void testUpdateTransferTarget() throws java.lang.Exception
java.lang.Exception
public void testDeleteTransferTarget() throws java.lang.Exception
java.lang.Exception
public void testEnableTransferTarget() throws java.lang.Exception
java.lang.Exception
public void testTransferOneNode() throws java.lang.Exception
java.lang.Exception
public void testMoveNode() throws java.lang.Exception
java.lang.Exception
public void testManyNodes() throws java.lang.Exception
java.lang.Exception
public void testPathBasedUpdate() throws java.lang.Exception
java.lang.Exception
public void testAsyncCallback() throws java.lang.Exception
java.lang.Exception
public void testAsyncCancel() throws java.lang.Exception
java.lang.Exception
public void testTransferOneNodeWithBigContent() throws java.lang.Exception
java.lang.Exception
public void testEmptyContent() throws java.lang.Exception
java.lang.Exception
public void testRepeatUpdateOfContent() throws java.lang.Exception
java.lang.Exception
public void testReplaceNode() throws java.lang.Exception
java.lang.Exception
public void testPeerAssocs() throws java.lang.Exception
java.lang.Exception
public void testExistingNodes() throws java.lang.Exception
java.lang.Exception
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.