|
||||||||||
| 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.jboss.test.AbstractTestCase
org.jboss.test.BaseTestCase
public class BaseTestCase
Base Test Case. Simple test support.
| Field Summary | |
|---|---|
protected org.jboss.logging.Logger |
log
The log |
protected LoggingPlugin |
logging
The logging plugin |
| Constructor Summary | |
|---|---|
BaseTestCase(String name)
Create a new base test case |
|
| Method Summary | |
|---|---|
protected void |
enableTrace(String name)
Enable trace for a logging category |
org.jboss.logging.Logger |
getLog()
Get the log for this test |
protected void |
setUp()
|
static junit.framework.Test |
suite(Class<? extends junit.framework.TestCase> clazz)
Create a new testsuite for the class |
protected void |
tearDown()
|
| Methods inherited from class org.jboss.test.AbstractTestCase |
|---|
assertEmpty, assertEmpty, assertEmpty, assertEquals, assertEquals, assertEquals, assertEquals, assertInstanceOf, assertInstanceOf, checkDeepThrowable, checkDeepThrowableRethrow, checkThrowable, checkThrowableRethrow, configureLogging, deserialize, failure, findResource, getResource, serialize, serializeDeserialize |
| Methods inherited from class junit.framework.TestCase |
|---|
countTestCases, createResult, getName, run, run, runBare, runTest, 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 LoggingPlugin logging
protected org.jboss.logging.Logger log
| Constructor Detail |
|---|
public BaseTestCase(String name)
name - the test name| Method Detail |
|---|
public static junit.framework.Test suite(Class<? extends junit.framework.TestCase> clazz)
clazz - the class
public org.jboss.logging.Logger getLog()
AbstractTestCase
getLog in class AbstractTestCase
protected void setUp()
throws Exception
setUp in class AbstractTestCaseException
protected void tearDown()
throws Exception
tearDown in class AbstractTestCaseExceptionprotected void enableTrace(String name)
AbstractTestCase
enableTrace in class AbstractTestCasename - the logging category
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||