|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.alfresco.util.RetryingTransactionHelperTestCase
org.alfresco.util.BaseAlfrescoTestCase
public abstract class BaseAlfrescoTestCase
Base Alfresco test. Creates a store and root node that can be used in the tests.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.alfresco.util.RetryingTransactionHelperTestCase |
---|
RetryingTransactionHelperTestCase.FailureTest, RetryingTransactionHelperTestCase.Test |
Field Summary | |
---|---|
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 Summary | |
---|---|
BaseAlfrescoTestCase()
|
Method Summary | |
---|---|
RetryingTransactionHelper |
getRetryingTransactionHelper()
|
protected void |
setUp()
|
protected void |
setUpContext()
By default will return the full context. |
protected void |
tearDown()
|
protected boolean |
useSpacesStore()
|
Methods inherited from class org.alfresco.util.RetryingTransactionHelperTestCase |
---|
doTestInTransaction, doTestInTransaction, doTestInTransaction, doTestInTransaction |
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString |
Methods inherited from class junit.framework.Assert |
---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected org.springframework.context.ApplicationContext ctx
ApplicationContextHelper
protected 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
Constructor Detail |
---|
public BaseAlfrescoTestCase()
Method Detail |
---|
protected void setUpContext()
protected boolean useSpacesStore()
protected void setUp() throws java.lang.Exception
setUp
in class junit.framework.TestCase
java.lang.Exception
TestCase.setUp()
public RetryingTransactionHelper getRetryingTransactionHelper()
getRetryingTransactionHelper
in class RetryingTransactionHelperTestCase
RetryingTransactionHelperTestCase.getRetryingTransactionHelper()
protected void tearDown() throws java.lang.Exception
tearDown
in class junit.framework.TestCase
java.lang.Exception
TestCase.tearDown()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |