| org.jboss.test.AbstractTestCase
All known Subclasses: org.jboss.test.BaseTestCase, org.jboss.test.AbstractTestCaseWithSetup,
AbstractTestCase | abstract public class AbstractTestCase extends TestCase (Code) | | An abstract Test Case.
author: Adrian Brock version: $Revision: 57204 $ |
startTime | long startTime(Code) | | The start time
|
AbstractTestCase | public AbstractTestCase(String name)(Code) | | Create a new abstract test case
Parameters: name - the test name |
assertEquals | protected void assertEquals(float one, float two)(Code) | | Assert two float values are equal
Parameters: one - the expected value Parameters: two - the actual value |
assertEquals | protected void assertEquals(double one, double two)(Code) | | Assert two double values are equal
Parameters: one - the expected value Parameters: two - the actual value |
assertEquals | protected void assertEquals(Object[] expected, Object[] actual)(Code) | | Assert to arrays are equal
Parameters: expected - the expected array Parameters: actual - the actual array |
assertEquals | protected void assertEquals(String context, Object[] expected, Object[] actual)(Code) | | Assert to arrays are equal
Parameters: context - the context Parameters: expected - the expected array Parameters: actual - the actual array |
checkThrowable | protected void checkThrowable(Class expected, Throwable throwable)(Code) | | Check we have the expected exception
Parameters: expected - the excepted class of the exception Parameters: throwable - the real exception |
configureLogging | protected void configureLogging()(Code) | | Callback for configuring logging at the start of the test
|
enableTrace | abstract protected void enableTrace(String name)(Code) | | Enable trace for a logging category
Parameters: name - the logging category |
getLog | abstract public Logger getLog()(Code) | | Get the log for this test
the log |
|
|