Hello Gary!

I investigated the problem and understand what is going on.  
The problem is: The locale from your machine (French) is being used by Struts 
as the, while the test code has english results coded in.  

Possible solutions: 
        - would be to programmatically set the locale in the MockStrutsTestCase 
test code.  I looked in to this, but have not yet time to figure out how to do 
this.  
        - Another possibility is to read the expected text for the tests from 
the property file where it is defined for the locale where the test is being 
run and use this for the test comparison.  

Anyone can reproduce these issues by setting their locale on their machine to 
French (France) and then running for example the TestFiscalCalendarRules or the 
entire ApplicationTestSuite.

Please let me know if problem persists.

- Nazir





________________________________________
De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de Gary Weberg
Envoyé : Thursday, November 01, 2007 3:17 PM
À : 'Developer'
Objet : [Mifos-developer] Build errors

Hello,

I am still getting build errors.  Attached is the test suite xml file.  My 
version of mifos is 12171.  My environment is:

            O/S                              XP, SP2
            JBoss                           4.0.5
      Sun JDK                     1.5.0_08
      My SQL                      5.0.24
            Apache Ant                 1.0.7

Does someone know what could be causing out problems?

Help would be greatly appreciated. 

Thanks, Gary

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/

Reply via email to