Package org.jvnet.hudson.test.junit
Class FailedTest
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.jvnet.hudson.test.junit.FailedTest
- All Implemented Interfaces:
junit.framework.Test
public class FailedTest
extends junit.framework.TestCase
TestCase
implementation that has already failed.
Used to represent a problem happened during a test suite construction.- Author:
- Kohsuke Kawaguchi
-
Constructor Summary
ConstructorDescriptionFailedTest
(Class<?> name, Throwable problem) FailedTest
(String name, Throwable problem) -
Method Summary
Methods inherited from class junit.framework.TestCase
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, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, setName, setUp, tearDown, toString
-
Constructor Details
-
FailedTest
-
FailedTest
-
-
Method Details
-
runTest
- Overrides:
runTest
in classjunit.framework.TestCase
- Throws:
Throwable
-