public class LockBehaviourImplTest extends BaseSpringTest
sessionFactoryjdbcTemplatetransactionDefinition, transactionManager, transactionStatusAUTOWIRE_BY_NAME, AUTOWIRE_BY_TYPE, AUTOWIRE_NO| Constructor and Description |
|---|
LockBehaviourImplTest() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
onSetUpInTransaction() |
void |
testCannotMoveNodeWhenLocked()
ALF-5680: It is possible to cut/paste a locked file
|
void |
testCheckForLockNoUser()
Test checkForLock (no user specified)
|
void |
testCheckForLockWhenExpired() |
void |
testNodeServiceLockBehaviour()
Test that the node service lock behaviour is as we expect
|
void |
testVersionServiceLockBehaviour01()
Test version service lock checking
|
void |
testVersionServiceLockBehaviour02()
Test version service lock checking
|
flushAndClear, getConfigLocations, getSession, loadContext, setSessionFactorycountRowsInTable, deleteFromTables, executeSqlScript, getJdbcTemplate, setComplete, setDataSource, setSqlScriptEncodingendTransaction, isDefaultRollback, isRollback, onSetUp, onSetUpBeforeTransaction, onTearDown, onTearDownAfterTransaction, onTearDownInTransaction, 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, recordDisabled, runBarecountTestCases, 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 onSetUpInTransaction()
throws java.lang.Exception
onSetUpInTransaction in class org.springframework.test.AbstractTransactionalSpringContextTestsjava.lang.Exceptionpublic void testCheckForLockNoUser()
public void testCheckForLockWhenExpired()
public void testVersionServiceLockBehaviour01()
public void testVersionServiceLockBehaviour02()
public void testNodeServiceLockBehaviour()
public void testCannotMoveNodeWhenLocked()
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.