Just extend org.apache.hivemind.impl.AbstractMessages if all you need is a
simple Messages implementation.  You could create one called
ResourceBundleMessages which is based upon a ResourceBundle.  

-----Original Message-----
From: Daun DeFrance [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, May 23, 2006 8:40 AM
To: Tapestry users
Subject: Creator testing and Message annotations

Hi all,
I am just getting started with Creator-based testing.  I am able to
handle most methods on my page object, but I am having trouble testing
the Message annotations on my page.  I have something like:

@Message("PingMessage")
public abstract String getPingMessage();

And I would like to be able to use the Creator object to get an instance
of my page and test the resulting PingMessage.  I know you can pass
"messages" in the map in the Creator.newInstance method, but I am not
sure how to build a testing Messages object?

I checked the Hivemind javadocs and didn't find anything obvious.

Could someone please give me a pointer or an example of how they have
tested their Message annotations?

Thanks so much,
Daun

---------------------------------------------------------------------
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