|
|||||||||
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.springframework.test.ConditionalTestCase
org.springframework.test.AbstractSpringContextTests
org.springframework.test.AbstractSingleSpringContextTests
org.springframework.test.AbstractDependencyInjectionSpringContextTests
org.springframework.test.AbstractTransactionalSpringContextTests
org.springframework.test.AbstractTransactionalDataSourceSpringContextTests
org.alfresco.util.BaseSpringTest
org.alfresco.util.BaseAlfrescoSpringTest
org.alfresco.repo.transfer.TransferServiceImplTest
public class TransferServiceImplTest
Unit test for TransferServiceImpl Contains some integration tests for the transfer service
Field Summary |
---|
Fields inherited from class org.alfresco.util.BaseAlfrescoSpringTest |
---|
actionService, authenticationComponent, authenticationService, nodeService, rootNodeRef, storeRef |
Fields inherited from class org.alfresco.util.BaseSpringTest |
---|
sessionFactory |
Fields inherited from class org.springframework.test.AbstractTransactionalDataSourceSpringContextTests |
---|
jdbcTemplate |
Fields inherited from class org.springframework.test.AbstractTransactionalSpringContextTests |
---|
transactionDefinition, transactionManager, transactionStatus |
Fields inherited from class org.springframework.test.AbstractDependencyInjectionSpringContextTests |
---|
AUTOWIRE_BY_NAME, AUTOWIRE_BY_TYPE, AUTOWIRE_NO |
Fields inherited from class org.springframework.test.AbstractSingleSpringContextTests |
---|
applicationContext |
Fields inherited from class org.springframework.test.ConditionalTestCase |
---|
logger |
Constructor Summary | |
---|---|
TransferServiceImplTest()
|
Method Summary | |
---|---|
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 |
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()
|
Methods inherited from class org.alfresco.util.BaseAlfrescoSpringTest |
---|
createNode, onSetUpInTransaction, onTearDownInTransaction |
Methods inherited from class org.alfresco.util.BaseSpringTest |
---|
flushAndClear, getConfigLocations, getSession, loadContext, setSessionFactory |
Methods inherited from class org.springframework.test.AbstractTransactionalDataSourceSpringContextTests |
---|
countRowsInTable, deleteFromTables, executeSqlScript, getJdbcTemplate, setComplete, setDataSource, setSqlScriptEncoding |
Methods inherited from class org.springframework.test.AbstractTransactionalSpringContextTests |
---|
endTransaction, isDefaultRollback, isRollback, onSetUpBeforeTransaction, onTearDown, onTearDownAfterTransaction, preventTransaction, setDefaultRollback, setTransactionDefinition, setTransactionManager, startNewTransaction |
Methods inherited from class org.springframework.test.AbstractDependencyInjectionSpringContextTests |
---|
getAutowireMode, injectDependencies, isDependencyCheck, isPopulateProtectedVariables, prepareTestInstance, setAutowireMode, setDependencyCheck, setPopulateProtectedVariables |
Methods inherited from class org.springframework.test.AbstractSingleSpringContextTests |
---|
contextKey, createApplicationContext, createBeanDefinitionReader, customizeBeanFactory, getApplicationContext, getConfigPath, getConfigPaths, getLoadCount, loadContextLocations, prepareApplicationContext, setDirty, setUp, tearDown |
Methods inherited from class org.springframework.test.AbstractSpringContextTests |
---|
addContext, contextKeyString, getContext, hasCachedContext, isContextKeyEmpty, setDirty |
Methods inherited from class org.springframework.test.ConditionalTestCase |
---|
getDisabledTestCount, isDisabledInThisEnvironment, recordDisabled |
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, run, 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 TransferServiceImplTest()
Method Detail |
---|
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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |