public class AVMServiceTestBase
extends junit.framework.TestCase
Modifier and Type | Field and Description |
---|---|
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 and Description |
---|
AVMServiceTestBase() |
Modifier and Type | Method and Description |
---|---|
protected void |
checkHistory(java.util.TreeMap history,
java.lang.String repName)
Check that history has not been screwed up.
|
protected java.lang.String |
getSourceFolder() |
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() |
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString
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
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
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)
protected java.lang.String getSourceFolder()
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.