https://bz.apache.org/bugzilla/show_bug.cgi?id=66210

--- Comment #3 from Mark Thomas <ma...@apache.org> ---
I think we have a number of options here:

1. (Similar to my previous 'fixes') reduce the text tested to that which
doesn't change depending on locale.

2. Force the unit tests to run under en-US.

3. Use StringManager to retrieve the expected txt in the current locale and
then compare the actual output to the locale specific expected text.


My concern with 1 is that sometimes we may skip testing parts of the output
that are relevant and miss bugs as a result.

Option 2 is sufficient to test the functionality primarily being tested whereas
option 3 (sort of) tests some of the i18n as well.

I'm leaning towards option 3 as it doesn't look too challenging to implement
for the small number of test cases where this is an issue. We do need to make
sure we distinguish between the system locale and the locale we expected to be
used for the response.

Thoughts?

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to