Child pages
  • Thrash Testing

Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: add note about parameterization of inner class


There is a target defined in ant which will run a pre-defined set of schemes.

One can pass in a string parameter to the tests. This can, of course, be used for any purpose. For example, the SimpleInsertTest inner class can use a subclass of EOEditingContext instead of using EOEditingContext itself. Thus, the same test as above can be run using ERXEC with this command:

Code Block


This set of commands will compile the tests (the ERXThrashTest class compilation is conditional on having "include.tests=true" defined in the ant build of the ERExtensions project) and run the thrash tests: