|
||||||||||
| 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.faktorips.runtime.test.IpsTestCaseJUnitAdapter
public class IpsTestCaseJUnitAdapter
Ips test case adapter. Adapter between JUnit test cases and ips test cases.
| Constructor Summary | |
|---|---|
IpsTestCaseJUnitAdapter(IpsTestCaseBase ipsTestCase)
|
|
IpsTestCaseJUnitAdapter(String name)
Dummy constructor to meet the contract to JUnits test case, this prevents the JUnit warning "has no public constructor TestCase(String name)". |
|
| Method Summary | |
|---|---|
void |
runTest()
Runs the ips test case. |
void |
testFailureOccured(IpsTestFailure f)
|
void |
testFinished(IpsTest2 arg0)
|
void |
testNothing()
Dummy test do prevent JUnit "no test found" warning if selecting this test case. |
void |
testStarted(IpsTest2 test)
|
| Methods inherited from class junit.framework.TestCase |
|---|
countTestCases, createResult, getName, run, run, runBare, setName, setUp, tearDown, 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 |
| Constructor Detail |
|---|
public IpsTestCaseJUnitAdapter(IpsTestCaseBase ipsTestCase)
public IpsTestCaseJUnitAdapter(String name)
| Method Detail |
|---|
public void testNothing()
public void runTest()
throws Throwable
runTest in class junit.framework.TestCaseThrowablepublic void testStarted(IpsTest2 test)
testStarted in interface IpsTestListenerpublic void testFinished(IpsTest2 arg0)
testFinished in interface IpsTestListenerpublic void testFailureOccured(IpsTestFailure f)
testFailureOccured in interface IpsTestListener
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||