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

http://tinyurl.com/ct9ge

Here's a sample test: http://tinyurl.com/84fxl

Matt

On May 7, 2005, at 6:53 AM, Phil Zoio wrote:


I have done this. Basically, I took the Tapestry 3.1 alpha code and hacked it to conform to 3.0.2. Not perfect but should work - does for me. I was going to do a little article about it but haven't had the time yet


You can download the classes from my web site: http://www.realsolve.co.uk/site/tech/tapestry/tapestrytest.zip

If you unzip it, you'll find the folders tapestrytest and test. tapestrytest contains the source (which you can compile and jar) for the mock test support. test contains an example of a Page class that you might test with the mock, as well as an example test

In addition to the 3.0 libraries, the extra test support classes, you'll also need in your classpath

hivemind-1.1-alpha
cglib-2.0.2
easymock-1.1
easymock-classextension-1.1

Hope it helps

Phil




Massimo Lusetti wrote:

How can i produce tapestry-mock jar file from a 3.0.x distribution ?

I've found org.apache.tapestry.junit package belong to that jar and
would like if this belong to 3.0 tree and was removed with 4.0 and how
can i get it from the 3.0 src tree.

Any hint is really appreciated.

Thanks


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


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



Reply via email to