public abstract class SQLRepositoryTestCase extends NXRuntimeTestCase
| Modifier and Type | Field and Description |
|---|---|
DatabaseHelper |
database |
static String |
REPOSITORY_NAME
Deprecated.
since 5.5: use
#database.repositoryName instead |
CoreSession |
session |
| Constructor and Description |
|---|
SQLRepositoryTestCase() |
SQLRepositoryTestCase(String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
closeSession() |
void |
closeSession(CoreSession session) |
void |
openSession() |
CoreSession |
openSessionAs(NuxeoPrincipal principal) |
CoreSession |
openSessionAs(String username) |
void |
setUp() |
void |
tearDown() |
void |
waitForAsyncCompletion() |
void |
waitForFulltextIndexing() |
addWorkingDirectoryConfigurator, deploy, deployBundle, deployContrib, deployContrib, deployFolder, deployTestContrib, deployTestContrib, fireFrameworkStarted, getClassLoaderFiles, getContext, getOSGiAdapter, getProperties, getResource, getWorkingDir, introspectClasspath, isRestart, isStarted, lookupBundle, restart, start, stop, undeploy, undeployContrib, undeployContrib@Deprecated public static final String REPOSITORY_NAME
#database.repositoryName insteadpublic CoreSession session
public DatabaseHelper database
public SQLRepositoryTestCase()
public SQLRepositoryTestCase(String name)
public void setUp()
throws Exception
setUp in class NXRuntimeTestCaseExceptionpublic void tearDown()
throws Exception
tearDown in class NXRuntimeTestCaseExceptionpublic void waitForAsyncCompletion()
public void waitForFulltextIndexing()
public void openSession()
throws ClientException
ClientExceptionpublic CoreSession openSessionAs(String username) throws ClientException
ClientExceptionpublic CoreSession openSessionAs(NuxeoPrincipal principal) throws ClientException
ClientExceptionpublic void closeSession()
public void closeSession(CoreSession session)
Copyright © 2015 Nuxeo SA. All rights reserved.