> It's easy to see that in normal operation, it's a good idea for
> "PropertyMessageResources" to be a read-only repository.  There's no
> good reason to change message properties at runtime.  
> However, it would
> be really nice to be able to write Cactus tests that are 
> self-contained,
> so I can manually create the properties that a tag will use, so I can
> clearly verify the result.
> 
> Is there any strategy for doing this?  Does StrutsTestCase 
> have any way
> to do this?

Extend PropertyMessageResources (and the corresponding
factory class) and implement what you need. Then use
that new class in your tests.

                                -TPP


-----------------------------------------
This email may contain confidential and privileged material for the sole use of the 
intended recipient(s). Any review, use, retention, distribution or disclosure by 
others is strictly prohibited. If you are not the intended recipient (or authorized to 
receive for the recipient), please contact the sender by reply email and delete all 
copies of this message.  Also, email is susceptible to data corruption, interception, 
tampering, unauthorized amendment and viruses. We only send and receive emails on the 
basis that we are not liable for any such corruption, interception, tampering, 
amendment or viruses or any consequence thereof.


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

Reply via email to