Re: tests in error

2010-02-17 Thread Erwan de FERRIERES
Le 17/02/2010 12:56, Jacopo Cappellato a écrit : On Feb 17, 2010, at 12:52 PM, Jacopo Cappellato wrote: My guess is that the issue is in getInvoiceCurrencyConversionRate Hmmm maybe not. Jacopo Jacopo, Here are more information : when using pure JUnit tests, it's working great p

Re: tests in error

2010-02-17 Thread Jacopo Cappellato
On Feb 17, 2010, at 12:52 PM, Jacopo Cappellato wrote: > My guess is that the issue is in getInvoiceCurrencyConversionRate Hmmm maybe not. Jacopo

Re: tests in error

2010-02-17 Thread Jacopo Cappellato
This is interesting Erwan! Could you please debug a bit more that method and find out where exactly is the problem? My guess is that the issue is in getInvoiceCurrencyConversionRate Jacopo On Feb 17, 2010, at 12:31 PM, Erwan de FERRIERES wrote: > >> ../.. > Errors are still present on my machi

Re: tests in error

2010-02-17 Thread Erwan de FERRIERES
../.. Errors are still present on my machine. So, when looking deeper, it looks like the InvoiceWorker.getInvoiceTotal method doesn't use any locale. When returning a result via the run-tests commande, its decimals are removed, so the results is always xxx.00, and then the test is in error.

Re: tests in error

2010-01-29 Thread Erwan de FERRIERES
Ok, so it must be on my machine. Thanks for having looking ! Le 29/01/2010 15:27, Jacopo Cappellato a écrit : Erwan, I have tested it and get a success on all tests. I don't know what is happening. Jacopo On Jan 29, 2010, at 2:35 PM, Jacopo Cappellato wrote: I didn't try but I am going to t

Re: tests in error

2010-01-29 Thread Jacopo Cappellato
Erwan, I have tested it and get a success on all tests. I don't know what is happening. Jacopo On Jan 29, 2010, at 2:35 PM, Jacopo Cappellato wrote: > I didn't try but I am going to try today and let you know. > Thank you for your further test and report. > > Jacopo > > On Jan 29, 2010, at 12

Re: tests in error

2010-01-29 Thread Jacopo Cappellato
I didn't try but I am going to try today and let you know. Thank you for your further test and report. Jacopo On Jan 29, 2010, at 12:25 PM, Erwan de FERRIERES wrote: > Hi Jaccopo, > > Once again, the same test is in error. Have you succedeed in reproducing it ? > > Assertion failed: [invoiceTo

Re: tests in error

2010-01-29 Thread Erwan de FERRIERES
Hi Jaccopo, Once again, the same test is in error. Have you succedeed in reproducing it ? Assertion failed: [invoiceTotal=323.54] equals [amount=323.0] as BigDecimal junit.framework.AssertionFailedError: Assertion failed: [invoiceTotal=323.54] equals [amount=323.0] as BigDecimal at org.ofbi

Re: tests in error

2010-01-29 Thread Jacopo Cappellato
Erwan, could you please clean all your data and try again? ant clean-all ant run-tests I know that there is an entity test that fails becaiuse of some records not being rolled back in previous test runs. Jacopo On Jan 29, 2010, at 11:28 AM, Erwan de FERRIERES wrote: > > > Le 29/01/2010 00:1

Re: tests in error

2010-01-29 Thread Erwan de FERRIERES
Le 29/01/2010 00:13, Scott Gray a écrit : Hi Erwan The tests are passing on buildbot: http://ci.apache.org/waterfall?show=ofbiz-trunk Strange... Maybe it's because the tests are in failure and not error ? It just tried it once again, and I still got the tests not passing... Regards Scott

Re: tests in error

2010-01-28 Thread Scott Gray
Hi Erwan The tests are passing on buildbot: http://ci.apache.org/waterfall?show=ofbiz-trunk Regards Scott HotWax Media http://www.hotwaxmedia.com On 28/01/2010, at 1:02 AM, Erwan de FERRIERES wrote: > Hi all, > > I run the tests task this morning, and this testsuite was in error : > testInvo

tests in error

2010-01-28 Thread Erwan de FERRIERES
Hi all, I run the tests task this morning, and this testsuite was in error : testInvoiceWorkerGetInvoiceTotal Error message is : Assertion failed: [invoiceTotal=323.54] equals [amount=323.0] as BigDecimal and so on for the others. Regards, -- Erwan de FERRIERES www.nereide.biz