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 |
|---|---|
void |
DISABLED_testLockTimeout()
Tests start and end with regard to locking.
|
void |
DISABLED_testStartAndEnd()
Tests start and end with regard to locking.
|
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 |
testMoreComplexCommit()
Test More Complex Commit
|
void |
testNodeDeleteAndRestore()
Test Node Delete And Restore
|
void |
testSaveContent() |
void |
testSaveSnapshot() |
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 DISABLED_testStartAndEnd()
throws java.lang.Exception
java.lang.Exceptionpublic void DISABLED_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.