|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
org.openejb.test.NumberedTestCase
public class NumberedTestCase
Field Summary | |
---|---|
protected static String |
standardPrefix
|
Constructor Summary | |
---|---|
NumberedTestCase()
|
Method Summary | |
---|---|
int |
countTestCases()
Counts the number of test cases that will be run by this test. |
protected junit.framework.Test |
createTest(Method testMethod)
|
protected String |
createTestName(Method testMethod)
|
String |
name()
|
protected static String |
removePrefix(String name)
|
protected static String |
removePrefix(String prefix,
String name)
|
void |
run(junit.framework.TestResult result)
Runs a test and collects its result in a TestResult instance. |
protected void |
run(junit.framework.TestResult result,
Method testMethod)
|
protected void |
runTestMethod(Method testMethod)
|
protected void |
setUp()
|
protected void |
tearDown()
|
String |
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, failNotEquals, failNotSame, failSame |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected static final String standardPrefix
Constructor Detail |
---|
public NumberedTestCase()
Method Detail |
---|
protected void setUp() throws Exception
Exception
protected void tearDown() throws Exception
Exception
public int countTestCases()
countTestCases
in interface junit.framework.Test
public void run(junit.framework.TestResult result)
run
in interface junit.framework.Test
protected void run(junit.framework.TestResult result, Method testMethod)
protected junit.framework.Test createTest(Method testMethod)
protected void runTestMethod(Method testMethod) throws Throwable
Throwable
public String toString()
toString
in class Object
public String name()
protected String createTestName(Method testMethod)
protected static String removePrefix(String name)
protected static String removePrefix(String prefix, String name)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |