|
||||||||||
| 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.exoplatform.test.BasicTestCase
org.exoplatform.commons.testing.BaseCommonsTestCase
public abstract class BaseCommonsTestCase
Created by The eXo Platform SAS Author : eXoPlatform hailt@exoplatform.com May 22, 2012
| Field Summary | |
|---|---|
protected org.exoplatform.container.configuration.ConfigurationManager |
configurationManager
|
protected org.exoplatform.container.PortalContainer |
container
|
protected String |
REPO_NAME
|
protected org.exoplatform.services.jcr.RepositoryService |
repositoryService
|
protected javax.jcr.Node |
root
|
protected javax.jcr.Session |
session
|
protected String |
WORKSPACE_NAME
|
| Fields inherited from class org.exoplatform.test.BasicTestCase |
|---|
counter_ |
| Constructor Summary | |
|---|---|
BaseCommonsTestCase()
|
|
| Method Summary | ||
|---|---|---|
protected
|
getService(Class<T> clazz)
|
|
void |
setUp()
|
|
protected void |
tearDown()
|
|
| Methods inherited from class org.exoplatform.test.BasicTestCase |
|---|
assertCollection, assertObject, error, getCounter, getDescription, getTestNumber, hasObjectInCollection, info, runTest, setTestNumber |
| Methods inherited from class junit.framework.TestCase |
|---|
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, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, setName, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected final String REPO_NAME
protected final String WORKSPACE_NAME
protected org.exoplatform.container.PortalContainer container
protected org.exoplatform.services.jcr.RepositoryService repositoryService
protected org.exoplatform.container.configuration.ConfigurationManager configurationManager
protected javax.jcr.Session session
protected javax.jcr.Node root
| Constructor Detail |
|---|
public BaseCommonsTestCase()
| Method Detail |
|---|
public void setUp()
throws Exception
setUp in class junit.framework.TestCaseException
protected void tearDown()
throws Exception
tearDown in class junit.framework.TestCaseExceptionprotected <T> T getService(Class<T> clazz)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||