Project Wonder 2.0

er.testrunner
Class ERXTestCase

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byer.testrunner.ERXTestCase
All Implemented Interfaces:
Test

public class ERXTestCase
extends TestCase


Field Summary
protected  EOEditingContext editingContext
           
protected  NSMutableArray persistentRootObjects
           
 
Constructor Summary
ERXTestCase(String name)
           
 
Method Summary
static void assertValidates(boolean expectsSuccess, EOValidation validationObject)
           
protected  void deletePersistentObjects()
           
protected  EOEditingContext editingContext()
           
protected  boolean eoHasBeenSaved(EOEnterpriseObject anEnterpriseObject)
           
protected  void registerPersistentRootObjectForDeletion(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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

editingContext

protected EOEditingContext editingContext

persistentRootObjects

protected NSMutableArray persistentRootObjects
Constructor Detail

ERXTestCase

public ERXTestCase(String name)
Method Detail

setUp

protected void setUp()
              throws Exception
Throws:
Exception

registerPersistentRootObjectForDeletion

protected void registerPersistentRootObjectForDeletion(EOEnterpriseObject anEnterpriseObject)

deletePersistentObjects

protected void deletePersistentObjects()

eoHasBeenSaved

protected boolean eoHasBeenSaved(EOEnterpriseObject anEnterpriseObject)

tearDown

protected void tearDown()
                 throws Exception
Throws:
Exception

runBare

public void runBare()
             throws Throwable
Throws:
Throwable

saveChanges

protected void saveChanges(boolean assumeSuccess)

editingContext

protected EOEditingContext editingContext()

assertValidates

public static void assertValidates(boolean expectsSuccess,
                                   EOValidation validationObject)

Last updated: Do, Dez 9, 2004 • 12:46 PM CET

Copyright © 2002 – 2004 Project Wonder.