The main thing you seem to need to run the Tapestry 3 mock tests in addition to easymock itself is org.apache.tapestry.test.Creator, which, from the Javadocs

"A utility class that is used to instantiate abstract Tapestry pages and components. It creates,
at runtime, a subclass where all abstract properties are filled in (complete with instance
variable, accessor and mutator methods). This isn't the same as how the class is enhanced at
* runtime, but is sufficient to unit test the class, especially listener methods"


This class is new in 3.1/4.0. My jar includes this class, as well as other classes in 3.1/4 which are not in 3.0 which are needed Creator. Some of these classes had to be tweaked to work with 3.0 because of changes to interfaces, etc.

Regards,
Phil


Massimo Lusetti wrote:

On 5/7/05, Matt Raible <[EMAIL PROTECTED]> wrote:



AppFuse has a tapestry-mock.jar which I created from 3.0 (not 3.0.1 or
3.0.2).



So it's not a jar packed by tapestry distributions. Did you (both) pack it to easy your own test suites, am i right ?

Thanks both



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to