public class RepositoryOSGITestCase extends SQLRepositoryTestCase
New tests should directly use SQLRepositoryTestCase
.
SQLRepositoryTestCase
database, REPOSITORY_NAME, session
Constructor and Description |
---|
RepositoryOSGITestCase() |
RepositoryOSGITestCase(String name) |
Modifier and Type | Method and Description |
---|---|
void |
changeUser(String username) |
void |
closeSession() |
CoreSession |
getCoreSession() |
void |
openRepository() |
void |
releaseCoreSession() |
void |
releaseRepository() |
closeSession, openSession, openSessionAs, openSessionAs, setUp, tearDown
addWorkingDirectoryConfigurator, deploy, deployBundle, deployContrib, deployContrib, deployFolder, deployTestContrib, deployTestContrib, fireFrameworkStarted, getContext, getOSGiAdapter, getProperties, getResource, getWorkingDir, isRestart, isStarted, lookupBundle, restart, start, stop, undeploy, undeployContrib, undeployContrib
atLeastOnce, atMostOnce, defaultMockNameForType, doAll, doAll, doAll, doAll, exactly, mock, mock, never, never, newDummy, newDummy, newDummy, once, onConsecutiveCalls, onConsecutiveCalls, onConsecutiveCalls, onConsecutiveCalls, returnIterator, returnIterator, returnValue, returnValue, returnValue, returnValue, returnValue, returnValue, returnValue, returnValue, returnValue, throwException
and, arrayContaining, arrayContaining, arrayContaining, arrayContaining, arrayContaining, arrayContaining, arrayContaining, arrayContaining, arrayContaining, arrayContaining, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, collectionContaining, collectionContaining, compatibleType, contains, endsWith, eq, eq, eq, eq, eq, eq, eq, eq, eq, eq, hasProperty, hasProperty, isA, isIn, isIn, mapContaining, mapContaining, mapWithKey, mapWithKey, mapWithValue, mapWithValue, not, or, same, startsWith, stringContains, toString
registerToVerify, runBare, unregisterToVerify, verify
countTestCases, getName, run, run, 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
public RepositoryOSGITestCase()
public RepositoryOSGITestCase(String name)
public void releaseCoreSession()
public void closeSession()
closeSession
in class SQLRepositoryTestCase
public void changeUser(String username) throws ClientException
ClientException
public CoreSession getCoreSession()
public void releaseRepository()
Copyright © 2011 Nuxeo SA. All Rights Reserved.