public abstract class BaseAlfrescoSpringTest extends BaseSpringTest
Modifier and Type | Field and Description |
---|---|
protected ActionService |
actionService |
protected AuthenticationComponent |
authenticationComponent |
protected MutableAuthenticationService |
authenticationService
The authentication service
|
protected ContentService |
contentService
The content service
|
protected org.alfresco.service.cmr.repository.NodeService |
nodeService
The node service
|
protected org.alfresco.service.cmr.repository.NodeRef |
rootNodeRef
The root node reference
|
protected org.alfresco.service.cmr.repository.StoreRef |
storeRef
The store reference
|
protected TransactionService |
transactionService |
sessionFactory
jdbcTemplate
transactionDefinition, transactionManager, transactionStatus
AUTOWIRE_BY_NAME, AUTOWIRE_BY_TYPE, AUTOWIRE_NO
Constructor and Description |
---|
BaseAlfrescoSpringTest() |
Modifier and Type | Method and Description |
---|---|
protected org.alfresco.service.cmr.repository.NodeRef |
createNode(org.alfresco.service.cmr.repository.NodeRef parentNode,
java.lang.String name,
org.alfresco.service.namespace.QName type) |
protected void |
onSetUpInTransaction()
On setup in transaction override
|
protected void |
onTearDownInTransaction() |
flushAndClear, getConfigLocations, getSession, loadContext, setSessionFactory
countRowsInTable, deleteFromTables, executeSqlScript, getJdbcTemplate, setComplete, setDataSource, setSqlScriptEncoding
endTransaction, isDefaultRollback, isRollback, onSetUp, onSetUpBeforeTransaction, onTearDown, onTearDownAfterTransaction, preventTransaction, setDefaultRollback, setTransactionDefinition, setTransactionManager, startNewTransaction
getAutowireMode, injectDependencies, isDependencyCheck, isPopulateProtectedVariables, prepareTestInstance, setAutowireMode, setDependencyCheck, setPopulateProtectedVariables
contextKey, createApplicationContext, createBeanDefinitionReader, customizeBeanFactory, getApplicationContext, getConfigPath, getConfigPaths, getLoadCount, loadContextLocations, prepareApplicationContext, setDirty, setUp, tearDown
addContext, contextKeyString, getContext, hasCachedContext, isContextKeyEmpty, setDirty
getDisabledTestCount, isDisabledInThisEnvironment, recordDisabled, runBare
countTestCases, createResult, getName, run, run, runTest, setName, toString
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
protected org.alfresco.service.cmr.repository.NodeService nodeService
protected ContentService contentService
protected MutableAuthenticationService authenticationService
protected org.alfresco.service.cmr.repository.StoreRef storeRef
protected org.alfresco.service.cmr.repository.NodeRef rootNodeRef
protected ActionService actionService
protected TransactionService transactionService
protected AuthenticationComponent authenticationComponent
protected void onSetUpInTransaction() throws java.lang.Exception
onSetUpInTransaction
in class org.springframework.test.AbstractTransactionalSpringContextTests
java.lang.Exception
protected void onTearDownInTransaction() throws java.lang.Exception
onTearDownInTransaction
in class org.springframework.test.AbstractTransactionalSpringContextTests
java.lang.Exception
protected org.alfresco.service.cmr.repository.NodeRef createNode(org.alfresco.service.cmr.repository.NodeRef parentNode, java.lang.String name, org.alfresco.service.namespace.QName type)
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.