|
Project Wonder 5.0 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
er.testrunner.ERXTestCase
public class ERXTestCase
Basic test case class to do unit testing inside of WO. Provides an editingContext that is disposed on every setup/tearDown.
| Constructor Summary | |
|---|---|
ERXTestCase(java.lang.String name)
|
|
| Method Summary | |
|---|---|
static void |
assertValidates(boolean expectsSuccess,
com.webobjects.eocontrol.EOValidation validationObject)
|
protected void |
deletePersistentObjects()
|
protected com.webobjects.eocontrol.EOEditingContext |
editingContext()
|
protected boolean |
eoHasBeenSaved(com.webobjects.eocontrol.EOEnterpriseObject anEnterpriseObject)
|
protected void |
registerPersistentRootObjectForDeletion(com.webobjects.eocontrol.EOEnterpriseObject anEnterpriseObject)
|
void |
runBare()
|
protected void |
saveChanges(boolean assumeSuccess)
|
protected void |
setUp()
|
protected void |
tearDown()
|
| Methods inherited from class junit.framework.TestCase |
|---|
countTestCases, createResult, getName, run, run, runTest, setName, 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, format |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ERXTestCase(java.lang.String name)
| Method Detail |
|---|
protected void setUp()
throws java.lang.Exception
setUp in class junit.framework.TestCasejava.lang.Exceptionprotected void registerPersistentRootObjectForDeletion(com.webobjects.eocontrol.EOEnterpriseObject anEnterpriseObject)
protected void deletePersistentObjects()
protected boolean eoHasBeenSaved(com.webobjects.eocontrol.EOEnterpriseObject anEnterpriseObject)
protected void tearDown()
throws java.lang.Exception
tearDown in class junit.framework.TestCasejava.lang.Exception
public void runBare()
throws java.lang.Throwable
runBare in class junit.framework.TestCasejava.lang.Throwableprotected void saveChanges(boolean assumeSuccess)
protected com.webobjects.eocontrol.EOEditingContext editingContext()
public static void assertValidates(boolean expectsSuccess,
com.webobjects.eocontrol.EOValidation validationObject)
|
Last updated: Tue, Feb 21, 2017 05:45 PM CET | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||