junit.framework
Class TestCase
java.lang.Object
|
+--junit.framework.Assert
|
+--junit.framework.TestCase
- All Implemented Interfaces:
- Test
- Direct Subclasses:
- ExceptionTestCase
- public abstract class TestCase
- extends Assert
- implements Test
Field Summary |
private | fName |
Constructor Summary |
TestCase() No-arg constructor to enable serialization. |
TestCase(String name) |
Methods inherited from class junit.framework.Assert |
JunitAssert, JunitAssert, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertNotNull, assertNotNull, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail |
private String fName
- References to the field:
- junit/framework/TestCase.java 85
- junit/framework/TestCase.java 92
- junit/framework/TestCase.java 114
- junit/framework/TestCase.java 157
- junit/framework/TestCase.java 159
- junit/framework/TestCase.java 162
- junit/framework/TestCase.java 200
- junit/framework/TestCase.java 208
TestCase()
- No-arg constructor to enable serialization. This method
is not intended to be used by mere mortals.
public TestCase(String name)
- Click to Locals in the Constructor
- Call sites to the constructor:
- junit/framework/TestSuite.java 223
- junit/swingui/FailureRunView.java 62
- Locals in the constructor:
- name: Line 92
countTestCases
public int countTestCases()
createResult
protected TestResult createResult()
- Call sites to the method:
- junit/framework/TestCase.java 123
getName
public String getName()
- Call sites to the method:
- junit/awtui/TestRunner.java 338
- junit/swingui/TestRunner.java 563
name
public String name()
- Call sites to the method:
- junit/framework/TestCase.java 193
run
public TestResult run()
- Locals in the method:
- result Line 124, Line 125
run
public void run(TestResult result)
- Click to Locals in the Method
- Call sites to the method:
- junit/framework/TestCase.java 124
- Locals in the method:
- result Line 131
runBare
public void runBare()
- Call sites to the method:
- junit/framework/TestResult.java 106
runTest
protected void runTest()
- Click to Locals in the Method
- Call sites to the method:
- junit/extensions/ExceptionTestCase.java 36
- junit/framework/TestCase.java 140
- Locals in the method:
- e
- e Line 169, Line 170
- e Line 173, Line 174
- runMethod Line 157, Line 161, Line 166
setName
public void setName(String name)
- Locals in the method:
- name Line 208
setUp
protected void setUp()
- Call sites to the method:
- junit/framework/TestCase.java 138
tearDown
protected void tearDown()
- Call sites to the method:
- junit/framework/TestCase.java 143
toString
public String toString()