public abstract class BaseAlfrescoTestCase extends RetryingTransactionHelperTestCase
RetryingTransactionHelperTestCase.FailureTest, RetryingTransactionHelperTestCase.Test| Modifier and Type | Field and Description |
|---|---|
protected ActionService |
actionService
Action service
|
protected AuthenticationComponent |
authenticationComponent
The authentication component
|
protected ContentService |
contentService
The content service
|
protected org.springframework.context.ApplicationContext |
ctx
This context will be fetched each time, but almost always
will have been cached by
ApplicationContextHelper |
protected org.alfresco.service.cmr.repository.NodeService |
nodeService
The node service
|
protected RetryingTransactionHelper |
retryingTransactionHelper
Retrying transaction helper
|
protected org.alfresco.service.cmr.repository.NodeRef |
rootNodeRef
The root node reference
|
protected ServiceRegistry |
serviceRegistry
the service registry
|
protected org.alfresco.service.cmr.repository.StoreRef |
storeRef
The store reference
|
protected TransactionService |
transactionService
Transaction service
|
| Constructor and Description |
|---|
BaseAlfrescoTestCase() |
| Modifier and Type | Method and Description |
|---|---|
RetryingTransactionHelper |
getRetryingTransactionHelper() |
protected void |
setUp() |
protected void |
setUpContext()
By default will return the full context.
|
protected void |
tearDown() |
protected boolean |
useSpacesStore() |
doTestInTransaction, doTestInTransaction, doTestInTransaction, doTestInTransactioncountTestCases, createResult, getName, run, run, runBare, 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 org.springframework.context.ApplicationContext ctx
ApplicationContextHelperprotected ServiceRegistry serviceRegistry
protected org.alfresco.service.cmr.repository.NodeService nodeService
protected ContentService contentService
protected AuthenticationComponent authenticationComponent
protected org.alfresco.service.cmr.repository.StoreRef storeRef
protected org.alfresco.service.cmr.repository.NodeRef rootNodeRef
protected ActionService actionService
protected TransactionService transactionService
protected RetryingTransactionHelper retryingTransactionHelper
protected void setUpContext()
protected boolean useSpacesStore()
protected void setUp()
throws java.lang.Exception
setUp in class junit.framework.TestCasejava.lang.ExceptionTestCase.setUp()public RetryingTransactionHelper getRetryingTransactionHelper()
getRetryingTransactionHelper in class RetryingTransactionHelperTestCaseRetryingTransactionHelperTestCase.getRetryingTransactionHelper()protected void tearDown()
throws java.lang.Exception
tearDown in class junit.framework.TestCasejava.lang.ExceptionTestCase.tearDown()Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.