public abstract class AbstractMultitenantWorkflowTest extends BaseSpringTest
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DEFAULT_ADMIN_PW |
protected PersonService |
personService |
protected ServiceRegistry |
serviceRegistry |
protected org.alfresco.repo.tenant.TenantService |
tenantService |
protected java.lang.String |
user1 |
protected java.lang.String |
user2 |
protected WorkflowService |
workflowService |
protected static java.lang.String |
XML |
sessionFactoryjdbcTemplatetransactionDefinition, transactionManager, transactionStatusAUTOWIRE_BY_NAME, AUTOWIRE_BY_TYPE, AUTOWIRE_NO| Constructor and Description |
|---|
AbstractMultitenantWorkflowTest() |
| Modifier and Type | Method and Description |
|---|---|
protected WorkflowDefinition |
deployDefinition(java.lang.String resource) |
protected abstract java.lang.String |
getAdhocDefinitionKey() |
protected java.lang.String[] |
getConfigLocations()
Get the config locations
|
protected abstract java.lang.String |
getEngine() |
protected java.io.InputStream |
getInputStream(java.lang.String resource) |
protected abstract java.lang.String |
getTestDefinitionKey() |
protected abstract java.lang.String |
getTestDefinitionPath() |
protected void |
onSetUpBeforeTransaction() |
protected void |
onTearDown() |
void |
testDeployWorkflow() |
void |
testQueryTasks() |
flushAndClear, getSession, loadContext, setSessionFactorycountRowsInTable, deleteFromTables, executeSqlScript, getJdbcTemplate, setComplete, setDataSource, setSqlScriptEncodingendTransaction, isDefaultRollback, isRollback, onSetUp, onSetUpInTransaction, 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 static final java.lang.String XML
public static final java.lang.String DEFAULT_ADMIN_PW
protected org.alfresco.repo.tenant.TenantService tenantService
protected ServiceRegistry serviceRegistry
protected WorkflowService workflowService
protected PersonService personService
protected java.lang.String user1
protected java.lang.String user2
public void testDeployWorkflow()
throws java.lang.Exception
java.lang.Exceptionpublic void testQueryTasks()
throws java.lang.Exception
java.lang.Exceptionprotected void onSetUpBeforeTransaction()
throws java.lang.Exception
onSetUpBeforeTransaction in class org.springframework.test.AbstractTransactionalSpringContextTestsjava.lang.Exceptionprotected void onTearDown()
throws java.lang.Exception
onTearDown in class org.springframework.test.AbstractTransactionalSpringContextTestsjava.lang.Exceptionprotected WorkflowDefinition deployDefinition(java.lang.String resource)
protected java.io.InputStream getInputStream(java.lang.String resource)
protected java.lang.String[] getConfigLocations()
getConfigLocations in class BaseSpringTestprotected abstract java.lang.String getTestDefinitionPath()
protected abstract java.lang.String getTestDefinitionKey()
protected abstract java.lang.String getAdhocDefinitionKey()
protected abstract java.lang.String getEngine()
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.