public class LockServiceImplTest extends BaseSpringTest
sessionFactoryjdbcTemplatetransactionDefinition, transactionManager, transactionStatusAUTOWIRE_BY_NAME, AUTOWIRE_BY_TYPE, AUTOWIRE_NO| Constructor and Description |
|---|
LockServiceImplTest() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
onSetUpInTransaction()
Called during the transaction setup
|
void |
testCreateChildrenOfLockedNodes()
Unit test to validate the behaviour of creating children of locked nodes.
|
void |
testGetLocks() |
void |
testGetLockStatus()
Test getLockStatus
|
void |
testGetLockType()
Test getLockType
|
void |
testLock()
Test lock
|
void |
testLockChildren()
Test lock with lockChildren == true
|
void |
testLockMany()
Test lock with collection
|
void |
testTimeToExpire() |
void |
testUnlock()
Test unlock node
|
void |
testUnlockChildren() |
void |
testUnlockMany() |
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 testLock()
public void testLockChildren()
public void testLockMany()
public void testUnlock()
public void testUnlockChildren()
public void testUnlockMany()
public void testGetLockStatus()
public void testGetLocks()
public void testGetLockType()
public void testTimeToExpire()
public void testCreateChildrenOfLockedNodes()
throws java.lang.Exception
java.lang.ExceptionCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.