|
|||||||||
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.BaseAlfrescoTestCase
public abstract class BaseAlfrescoTestCase
Base Alfresco test. Creates a store and root node that can be used in the tests.
Field Summary | |
---|---|
protected ActionService |
actionService
|
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 NodeService |
nodeService
The node service |
protected NodeRef |
rootNodeRef
The root node reference |
protected ServiceRegistry |
serviceRegistry
the service registry |
protected StoreRef |
storeRef
The store reference |
protected TransactionService |
transactionService
|
Constructor Summary | |
---|---|
BaseAlfrescoTestCase()
|
Method Summary | |
---|---|
protected void |
setUp()
|
protected void |
setUpContext()
By default will return the full context. |
protected void |
tearDown()
|
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 NodeService nodeService
protected ContentService contentService
protected AuthenticationComponent authenticationComponent
protected StoreRef storeRef
protected NodeRef rootNodeRef
protected ActionService actionService
protected TransactionService transactionService
Constructor Detail |
---|
public BaseAlfrescoTestCase()
Method Detail |
---|
protected void setUpContext()
protected void setUp() throws java.lang.Exception
setUp
in class junit.framework.TestCase
java.lang.Exception
protected void tearDown() throws java.lang.Exception
tearDown
in class junit.framework.TestCase
java.lang.Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |