|
||||||||||
| 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.jbpm.test.BaseJbpmTestCase
public abstract class BaseJbpmTestCase
base class for jbpm test cases. When this class is loaded (defined), then a search for a logging.properties file will be done. If a logging.properties file is present in the root of the classpath, it will be used to initialize the java.util.logging logging framework. If this logging.properties contains property 'redirect.commons.logging' then all commons logging will be redirected to java.util.logging during this logging initialization. Apart from logging initialization, this class will add some logging to setUp and tearDown. If the JbpmLogFormatter is used, it will display multiple threads with indentation.
| Field Summary | |
|---|---|
protected static org.jbpm.internal.log.Log |
log
|
| Constructor Summary | |
|---|---|
BaseJbpmTestCase()
|
|
| Method Summary | |
|---|---|
void |
assertTextPresent(java.lang.String expected,
java.lang.String value)
|
protected void |
runTest()
|
protected void |
setUp()
|
protected void |
tearDown()
|
| Methods inherited from class junit.framework.TestCase |
|---|
countTestCases, createResult, getName, run, run, runBare, setName, toString |
| Methods inherited from class junit.framework.Assert |
|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected static org.jbpm.internal.log.Log log
| Constructor Detail |
|---|
public BaseJbpmTestCase()
| Method Detail |
|---|
protected void setUp()
throws java.lang.Exception
setUp in class junit.framework.TestCasejava.lang.Exception
protected void tearDown()
throws java.lang.Exception
tearDown in class junit.framework.TestCasejava.lang.Exception
public void assertTextPresent(java.lang.String expected,
java.lang.String value)
protected void runTest()
throws java.lang.Throwable
runTest in class junit.framework.TestCasejava.lang.Throwable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||