|
|||||||||
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.repo.avm.AVMServiceTestBase
public class AVMServiceTestBase
Base class for AVMService tests.
Field Summary | |
---|---|
protected static AuthenticationComponent |
fAuthenticationComponent
|
protected static AuthenticationService |
fAuthService
|
protected static org.springframework.context.ApplicationContext |
fContext
The application context. |
protected static IndexerAndSearcher |
fIndexerAndSearcher
|
protected static AVMSnapShotTriggeredIndexingMethodInterceptor |
fIndexingInterceptor
|
protected static AVMLockingService |
fLockingService
|
protected static OrphanReaper |
fReaper
The reaper thread. |
protected static RetryingTransactionHelper |
fRetryingTransactionHelper
|
protected static AVMService |
fService
The AVMService we are testing. |
protected static AVMSyncService |
fSyncService
The AVMSyncService. |
protected static TransactionService |
fTransactionService
|
Constructor Summary | |
---|---|
AVMServiceTestBase()
|
Method Summary | |
---|---|
protected void |
checkHistory(java.util.TreeMap history,
java.lang.String repName)
Check that history has not been screwed up. |
protected java.lang.String |
recursiveContents(java.lang.String path,
int version,
boolean followLinks)
Get the recursive contents of the given path and version. |
protected java.lang.String |
recursiveList(java.lang.String repoName,
int version,
boolean followLinks)
Helper to write a recursive listing of an AVMStore at a given version. |
protected java.lang.String |
recursiveList(java.lang.String path,
int version,
int indent,
boolean followLinks)
Recursive list the given path. |
protected void |
runQueriesAgainstBasicTree(java.lang.String store)
|
protected void |
runQueriesAgainstBasicTreeWithAOnly(java.lang.String store)
|
protected void |
setUp()
Setup for AVM tests. |
protected void |
setupBasicTree()
|
protected void |
setupBasicTree0()
Setup a basic tree. |
protected void |
tearDown()
Cleanup after a test. |
void |
testSetup()
|
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 static AVMService fService
protected static OrphanReaper fReaper
protected static AVMSyncService fSyncService
protected static org.springframework.context.ApplicationContext fContext
protected static RetryingTransactionHelper fRetryingTransactionHelper
protected static AuthenticationComponent fAuthenticationComponent
protected static AVMSnapShotTriggeredIndexingMethodInterceptor fIndexingInterceptor
protected static TransactionService fTransactionService
protected static IndexerAndSearcher fIndexerAndSearcher
protected static AVMLockingService fLockingService
protected static AuthenticationService fAuthService
Constructor Detail |
---|
public AVMServiceTestBase()
Method Detail |
---|
public void testSetup() throws java.lang.Exception
java.lang.Exception
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
protected java.lang.String recursiveContents(java.lang.String path, int version, boolean followLinks)
path
- version
-
protected java.lang.String recursiveList(java.lang.String repoName, int version, boolean followLinks)
repoName
- The name of the AVMStore.version
- The version to look under.protected java.lang.String recursiveList(java.lang.String path, int version, int indent, boolean followLinks)
path
- The path.version
- The version.indent
- The current indent level.protected void setupBasicTree0() throws java.io.IOException
java.io.IOException
protected void setupBasicTree() throws java.io.IOException
java.io.IOException
protected void runQueriesAgainstBasicTree(java.lang.String store)
protected void runQueriesAgainstBasicTreeWithAOnly(java.lang.String store)
protected void checkHistory(java.util.TreeMap history, java.lang.String repName)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |