public class RepoTransferReceiverImplTest extends BaseAlfrescoSpringTest
actionService, authenticationComponent, authenticationService, contentService, nodeService, rootNodeRef, storeRef, transactionServicesessionFactoryjdbcTemplatetransactionDefinition, transactionManager, transactionStatusAUTOWIRE_BY_NAME, AUTOWIRE_BY_TYPE, AUTOWIRE_NO| Constructor and Description |
|---|
RepoTransferReceiverImplTest() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
onSetUp()
Called during the transaction setup
|
void |
runBare() |
void |
testAsyncCommit() |
void |
testBasicCommit() |
void |
testDelete() |
void |
testJira_ALF_2772()
Test for fault raised as ALF-2772
(https://issues.alfresco.com/jira/browse/ALF-2772) When transferring
nodes it shouldn't matter the order in which they appear in the snapshot.
|
void |
testLockTimeout()
Tests start and end with regard to locking.
|
void |
testMoreComplexCommit() |
void |
testNodeDeleteAndRestore() |
void |
testSaveContent() |
void |
testSaveSnapshot() |
void |
testStartAndEnd()
Tests start and end with regard to locking.
|
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, formatpublic void runBare()
throws java.lang.Throwable
runBare in class org.springframework.test.ConditionalTestCasejava.lang.Throwableprotected void onSetUp()
throws java.lang.Exception
onSetUp in class org.springframework.test.AbstractTransactionalSpringContextTestsjava.lang.Exceptionpublic void testDelete()
public void testStartAndEnd()
throws java.lang.Exception
java.lang.Exceptionpublic void testLockTimeout()
throws java.lang.Exception
java.lang.Exceptionpublic void testSaveContent()
throws java.lang.Exception
java.lang.Exceptionpublic void testSaveSnapshot()
throws java.lang.Exception
java.lang.Exceptionpublic void testBasicCommit()
throws java.lang.Exception
java.lang.Exceptionpublic void testMoreComplexCommit()
throws java.lang.Exception
java.lang.Exceptionpublic void testNodeDeleteAndRestore()
throws java.lang.Exception
java.lang.Exceptionpublic void testJira_ALF_2772()
throws java.lang.Exception
java.lang.Exceptionpublic void testAsyncCommit()
throws java.lang.Exception
java.lang.ExceptionCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.