public abstract class StorageTestCase extends NXRuntimeTestCase
Modifier and Type | Field and Description |
---|---|
StorageConfiguration |
database |
CoreSession |
session
The CoreSession available to tests.
|
Constructor and Description |
---|
StorageTestCase() |
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
public CoreSession session
public StorageConfiguration database
public void setUp() throws Exception
setUp
in class NXRuntimeTestCase
Exception
public void tearDown() throws Exception
tearDown
in class NXRuntimeTestCase
Exception
public void waitForAsyncCompletion()
public void waitForFulltextIndexing()
public void openSession() throws ClientException
ClientException
public CoreSession openSessionAs(String username) throws ClientException
ClientException
public CoreSession openSessionAs(NuxeoPrincipal principal) throws ClientException
ClientException
public void closeSession()
public void closeSession(CoreSession session)
Copyright © 2015 Nuxeo SA. All rights reserved.