My struts application should print dates according to
the user session's locale. Unfortunately, it always
Can StrutsTestCase for JUnit be used to find out why,
i.e. test this?
I'd prefer to test this with the "Mock Testing"
approach since I am having trouble to get cactus
running for similar tests
So basically, what I need is the leanest way to test
how a Date gets printed from the server to my browser.
I should take into consideration:
- my struts-config.xml
- the locale I define
- my applications property file where I define for
for the German locale.
Unfortunately, the default struts test junit test cases
do not cover date formatting yet (see also
If this is already possible, please add the answer to
Log in to post a comment.