15 Failed Unit tests for Ofbiz 10.04

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

15 Failed Unit tests for Ofbiz 10.04

Boris Hamanov
Ofbiz version 10.04

java version "1.6.0_24"
Java(TM) SE Runtime Environment (build 1.6.0_24-b07)
Java HotSpot(TM) 64-Bit Server VM (build 19.1-b02, mixed mode)


OS Name    Microsoft Windows 7 Professional
Version    6.1.7600 Build 7600
System Type    x64-based PC
Processor    Intel(R) Core(TM) i5 CPU       M 520  @ 2.40GHz, 2400 Mhz, 2
Core(s), 4 Logical Processor(s)
BIOS Version/Date    Hewlett-Packard 68CVD Ver. F.0F, 9.3.2011 г.
Windows Directory    C:\windows
System Directory    C:\windows\system32
Boot Device    \Device\HarddiskVolume1
Locale    Bulgaria
Hardware Abstraction Layer    Version = "6.1.7600.16416"
Time Zone    FLE Daylight Time
Installed Physical Memory (RAM)    4.00 GB
Total Physical Memory    3.86 GB
Available Physical Memory    1.66 GB
Total Virtual Memory    7.72 GB
Available Virtual Memory    4.58 GB
Page File Space    3.86 GB



Unit Test Results.
Designed for use with JUnit <http://www.junit.org/> and
Ant<http://ant.apache.org/>
.
------------------------------
All Failures ClassNameStatusTypeTime(s)  invoicetests
auto-invoice-tests.testInvoiceWorkerGetInvoiceTotalFailureAssertion failed:
[invoiceTotal=323.54] equals [amount=323] as BigDecimal

junit.framework.AssertionFailedError: Assertion failed:
[invoiceTotal=323.54] equals [amount=323] as BigDecimal
at org.ofbiz.testtools.SimpleMethodTest.run(SimpleMethodTest.java:81)
at org.ofbiz.testtools.TestRunContainer.start(TestRunContainer.java:146)
at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:100)
at org.ofbiz.base.start.Start.startStartLoaders(Start.java:272)
at org.ofbiz.base.start.Start.startServer(Start.java:322)
at org.ofbiz.base.start.Start.start(Start.java:326)
at org.ofbiz.base.start.Start.main(Start.java:411)
Assertion failed: [invoiceTotal=36.43] equals [amount=36] as BigDecimal

junit.framework.AssertionFailedError: Assertion failed: [invoiceTotal=36.43]
equals [amount=36] as BigDecimal
at org.ofbiz.testtools.SimpleMethodTest.run(SimpleMethodTest.java:81)
at org.ofbiz.testtools.TestRunContainer.start(TestRunContainer.java:146)
at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:100)
at org.ofbiz.base.start.Start.startStartLoaders(Start.java:272)
at org.ofbiz.base.start.Start.startServer(Start.java:322)
at org.ofbiz.base.start.Start.start(Start.java:326)
at org.ofbiz.base.start.Start.main(Start.java:411)
Assertion failed: [invoiceTotal=56.99] equals [amount=56] as BigDecimal

junit.framework.AssertionFailedError: Assertion failed: [invoiceTotal=56.99]
equals [amount=56] as BigDecimal
at org.ofbiz.testtools.SimpleMethodTest.run(SimpleMethodTest.java:81)
at org.ofbiz.testtools.TestRunContainer.start(TestRunContainer.java:146)
at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:100)
at org.ofbiz.base.start.Start.startStartLoaders(Start.java:272)
at org.ofbiz.base.start.Start.startServer(Start.java:322)
at org.ofbiz.base.start.Start.start(Start.java:326)
at org.ofbiz.base.start.Start.main(Start.java:411)
Assertion failed: [invoiceTotal=543.23] equals [amount=543] as BigDecimal

junit.framework.AssertionFailedError: Assertion failed:
[invoiceTotal=543.23] equals [amount=543] as BigDecimal
at org.ofbiz.testtools.SimpleMethodTest.run(SimpleMethodTest.java:81)
at org.ofbiz.testtools.TestRunContainer.start(TestRunContainer.java:146)
at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:100)
at org.ofbiz.base.start.Start.startStartLoaders(Start.java:272)
at org.ofbiz.base.start.Start.startServer(Start.java:322)
at org.ofbiz.base.start.Start.start(Start.java:326)
at org.ofbiz.base.start.Start.main(Start.java:411)
Assertion failed: [invoiceTotal=511.23] equals [amount=511] as BigDecimal

junit.framework.AssertionFailedError: Assertion failed:
[invoiceTotal=511.23] equals [amount=511] as BigDecimal
at org.ofbiz.testtools.SimpleMethodTest.run(SimpleMethodTest.java:81)
at org.ofbiz.testtools.TestRunContainer.start(TestRunContainer.java:146)
at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:100)
at org.ofbiz.base.start.Start.startStartLoaders(Start.java:272)
at org.ofbiz.base.start.Start.startServer(Start.java:322)
at org.ofbiz.base.start.Start.start(Start.java:326)
at org.ofbiz.base.start.Start.main(Start.java:411)
Assertion failed: [invoiceTotal=36.43] equals [amount=36] as BigDecimal

junit.framework.AssertionFailedError: Assertion failed: [invoiceTotal=36.43]
equals [amount=36] as BigDecimal
at org.ofbiz.testtools.SimpleMethodTest.run(SimpleMethodTest.java:81)
at org.ofbiz.testtools.TestRunContainer.start(TestRunContainer.java:146)
at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:100)
at org.ofbiz.base.start.Start.startStartLoaders(Start.java:272)
at org.ofbiz.base.start.Start.startServer(Start.java:322)
at org.ofbiz.base.start.Start.start(Start.java:326)
at org.ofbiz.base.start.Start.main(Start.java:411)
Assertion failed: [invoiceTotal=46.43] equals [amount=46] as BigDecimal

junit.framework.AssertionFailedError: Assertion failed: [invoiceTotal=46.43]
equals [amount=46] as BigDecimal
at org.ofbiz.testtools.SimpleMethodTest.run(SimpleMethodTest.java:81)
at org.ofbiz.testtools.TestRunContainer.start(TestRunContainer.java:146)
at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:100)
at org.ofbiz.base.start.Start.startStartLoaders(Start.java:272)
at org.ofbiz.base.start.Start.startServer(Start.java:322)
at org.ofbiz.base.start.Start.start(Start.java:326)
at org.ofbiz.base.start.Start.main(Start.java:411)
Assertion failed: [invoiceTotal=33.99] equals [amount=33] as BigDecimal

junit.framework.AssertionFailedError: Assertion failed: [invoiceTotal=33.99]
equals [amount=33] as BigDecimal
at org.ofbiz.testtools.SimpleMethodTest.run(SimpleMethodTest.java:81)
at org.ofbiz.testtools.TestRunContainer.start(TestRunContainer.java:146)
at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:100)
at org.ofbiz.base.start.Start.startStartLoaders(Start.java:272)
at org.ofbiz.base.start.Start.startServer(Start.java:322)
at org.ofbiz.base.start.Start.start(Start.java:326)
at org.ofbiz.base.start.Start.main(Start.java:411)
Assertion failed: [invoiceTotal=33.99] equals [amount=33] as BigDecimal

junit.framework.AssertionFailedError: Assertion failed: [invoiceTotal=33.99]
equals [amount=33] as BigDecimal
at org.ofbiz.testtools.SimpleMethodTest.run(SimpleMethodTest.java:81)
at org.ofbiz.testtools.TestRunContainer.start(TestRunContainer.java:146)
at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:100)
at org.ofbiz.base.start.Start.startStartLoaders(Start.java:272)
at org.ofbiz.base.start.Start.startServer(Start.java:322)
at org.ofbiz.base.start.Start.start(Start.java:326)
at org.ofbiz.base.start.Start.main(Start.java:411)
Assertion failed: [invoiceTotal=46.43] equals [amount=46] as BigDecimal

junit.framework.AssertionFailedError: Assertion failed: [invoiceTotal=46.43]
equals [amount=46] as BigDecimal
at org.ofbiz.testtools.SimpleMethodTest.run(SimpleMethodTest.java:81)
at org.ofbiz.testtools.TestRunContainer.start(TestRunContainer.java:146)
at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:100)
at org.ofbiz.base.start.Start.startStartLoaders(Start.java:272)
at org.ofbiz.base.start.Start.startServer(Start.java:322)
at org.ofbiz.base.start.Start.start(Start.java:326)
at org.ofbiz.base.start.Start.main(Start.java:411)
Assertion failed: [invoiceTotal=36.43] equals [amount=36] as BigDecimal

junit.framework.AssertionFailedError: Assertion failed: [invoiceTotal=36.43]
equals [amount=36] as BigDecimal
at org.ofbiz.testtools.SimpleMethodTest.run(SimpleMethodTest.java:81)
at org.ofbiz.testtools.TestRunContainer.start(TestRunContainer.java:146)
at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:100)
at org.ofbiz.base.start.Start.startStartLoaders(Start.java:272)
at org.ofbiz.base.start.Start.startServer(Start.java:322)
at org.ofbiz.base.start.Start.start(Start.java:326)
at org.ofbiz.base.start.Start.main(Start.java:411)
Assertion failed: [invoiceTotal=127.09] equals [amount=127] as BigDecimal

junit.framework.AssertionFailedError: Assertion failed:
[invoiceTotal=127.09] equals [amount=127] as BigDecimal
at org.ofbiz.testtools.SimpleMethodTest.run(SimpleMethodTest.java:81)
at org.ofbiz.testtools.TestRunContainer.start(TestRunContainer.java:146)
at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:100)
at org.ofbiz.base.start.Start.startStartLoaders(Start.java:272)
at org.ofbiz.base.start.Start.startServer(Start.java:322)
at org.ofbiz.base.start.Start.start(Start.java:326)
at org.ofbiz.base.start.Start.main(Start.java:411)
Assertion failed: [invoiceTotal=179.97] equals [amount=179] as BigDecimal

junit.framework.AssertionFailedError: Assertion failed:
[invoiceTotal=179.97] equals [amount=179] as BigDecimal
at org.ofbiz.testtools.SimpleMethodTest.run(SimpleMethodTest.java:81)
at org.ofbiz.testtools.TestRunContainer.start(TestRunContainer.java:146)
at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:100)
at org.ofbiz.base.start.Start.startStartLoaders(Start.java:272)
at org.ofbiz.base.start.Start.startServer(Start.java:322)
at org.ofbiz.base.start.Start.start(Start.java:326)
at org.ofbiz.base.start.Start.main(Start.java:411)
0.063  partytestsparty-tests.testUpdatePartyCreditCardFailureThe expiration
date 02/2011 is before today.

junit.framework.AssertionFailedError: The expiration date 02/2011 is before
today.
at org.ofbiz.testtools.SimpleMethodTest.run(SimpleMethodTest.java:81)
at org.ofbiz.testtools.TestRunContainer.start(TestRunContainer.java:146)
at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:100)
at org.ofbiz.base.start.Start.startStartLoaders(Start.java:272)
at org.ofbiz.base.start.Start.startServer(Start.java:322)
at org.ofbiz.base.start.Start.start(Start.java:326)
at org.ofbiz.base.start.Start.main(Start.java:411)
0.406  productionruntestsproduction-run-tests.testProductionRunDateChange
FailureAssertion failed: ([taskTimeDifference=7200000.0] equals 0.0 as
Double OR [taskTimeDifference=7200000.0] equals 1.0 as Double OR
[taskTimeDifference=7200000.0] equals -1.0 as Double)

junit.framework.AssertionFailedError: Assertion failed:
([taskTimeDifference=7200000.0] equals 0.0 as Double OR
[taskTimeDifference=7200000.0] equals 1.0 as Double OR
[taskTimeDifference=7200000.0] equals -1.0 as Double)
at org.ofbiz.testtools.SimpleMethodTest.run(SimpleMethodTest.java:81)
at org.ofbiz.testtools.TestRunContainer.start(TestRunContainer.java:146)
at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:100)
at org.ofbiz.base.start.Start.startStartLoaders(Start.java:272)
at org.ofbiz.base.start.Start.startServer(Start.java:322)
at org.ofbiz.base.start.Start.start(Start.java:326)
at org.ofbiz.base.start.Start.main(Start.java:411)
Reply | Threaded
Open this post in threaded view
|

Re: 15 Failed Unit tests for Ofbiz 10.04

Jacques Le Roux
Administrator
Thanks,

Yes it fails also here locally. We only have continuous integration for trunk and a stable release which is for now R09.04. Hence it
was not detected before. I will have a look

Jacques

Boris Hamanov wrote:

> Ofbiz version 10.04
>
> java version "1.6.0_24"
> Java(TM) SE Runtime Environment (build 1.6.0_24-b07)
> Java HotSpot(TM) 64-Bit Server VM (build 19.1-b02, mixed mode)
>
>
> OS Name    Microsoft Windows 7 Professional
> Version    6.1.7600 Build 7600
> System Type    x64-based PC
> Processor    Intel(R) Core(TM) i5 CPU       M 520  @ 2.40GHz, 2400 Mhz, 2
> Core(s), 4 Logical Processor(s)
> BIOS Version/Date    Hewlett-Packard 68CVD Ver. F.0F, 9.3.2011 г.
> Windows Directory    C:\windows
> System Directory    C:\windows\system32
> Boot Device    \Device\HarddiskVolume1
> Locale    Bulgaria
> Hardware Abstraction Layer    Version = "6.1.7600.16416"
> Time Zone    FLE Daylight Time
> Installed Physical Memory (RAM)    4.00 GB
> Total Physical Memory    3.86 GB
> Available Physical Memory    1.66 GB
> Total Virtual Memory    7.72 GB
> Available Virtual Memory    4.58 GB
> Page File Space    3.86 GB
>
>
>
> Unit Test Results.
> Designed for use with JUnit <http://www.junit.org/> and
> Ant<http://ant.apache.org/>
> .
> ------------------------------
> All Failures ClassNameStatusTypeTime(s)  invoicetests
> auto-invoice-tests.testInvoiceWorkerGetInvoiceTotalFailureAssertion failed:
> [invoiceTotal=323.54] equals [amount=323] as BigDecimal
>
> junit.framework.AssertionFailedError: Assertion failed:
> [invoiceTotal=323.54] equals [amount=323] as BigDecimal
> at org.ofbiz.testtools.SimpleMethodTest.run(SimpleMethodTest.java:81)
> at org.ofbiz.testtools.TestRunContainer.start(TestRunContainer.java:146)
> at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:100)
> at org.ofbiz.base.start.Start.startStartLoaders(Start.java:272)
> at org.ofbiz.base.start.Start.startServer(Start.java:322)
> at org.ofbiz.base.start.Start.start(Start.java:326)
> at org.ofbiz.base.start.Start.main(Start.java:411)
> Assertion failed: [invoiceTotal=36.43] equals [amount=36] as BigDecimal
>
> junit.framework.AssertionFailedError: Assertion failed: [invoiceTotal=36.43]
> equals [amount=36] as BigDecimal
> at org.ofbiz.testtools.SimpleMethodTest.run(SimpleMethodTest.java:81)
> at org.ofbiz.testtools.TestRunContainer.start(TestRunContainer.java:146)
> at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:100)
> at org.ofbiz.base.start.Start.startStartLoaders(Start.java:272)
> at org.ofbiz.base.start.Start.startServer(Start.java:322)
> at org.ofbiz.base.start.Start.start(Start.java:326)
> at org.ofbiz.base.start.Start.main(Start.java:411)
> Assertion failed: [invoiceTotal=56.99] equals [amount=56] as BigDecimal
>
> junit.framework.AssertionFailedError: Assertion failed: [invoiceTotal=56.99]
> equals [amount=56] as BigDecimal
> at org.ofbiz.testtools.SimpleMethodTest.run(SimpleMethodTest.java:81)
> at org.ofbiz.testtools.TestRunContainer.start(TestRunContainer.java:146)
> at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:100)
> at org.ofbiz.base.start.Start.startStartLoaders(Start.java:272)
> at org.ofbiz.base.start.Start.startServer(Start.java:322)
> at org.ofbiz.base.start.Start.start(Start.java:326)
> at org.ofbiz.base.start.Start.main(Start.java:411)
> Assertion failed: [invoiceTotal=543.23] equals [amount=543] as BigDecimal
>
> junit.framework.AssertionFailedError: Assertion failed:
> [invoiceTotal=543.23] equals [amount=543] as BigDecimal
> at org.ofbiz.testtools.SimpleMethodTest.run(SimpleMethodTest.java:81)
> at org.ofbiz.testtools.TestRunContainer.start(TestRunContainer.java:146)
> at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:100)
> at org.ofbiz.base.start.Start.startStartLoaders(Start.java:272)
> at org.ofbiz.base.start.Start.startServer(Start.java:322)
> at org.ofbiz.base.start.Start.start(Start.java:326)
> at org.ofbiz.base.start.Start.main(Start.java:411)
> Assertion failed: [invoiceTotal=511.23] equals [amount=511] as BigDecimal
>
> junit.framework.AssertionFailedError: Assertion failed:
> [invoiceTotal=511.23] equals [amount=511] as BigDecimal
> at org.ofbiz.testtools.SimpleMethodTest.run(SimpleMethodTest.java:81)
> at org.ofbiz.testtools.TestRunContainer.start(TestRunContainer.java:146)
> at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:100)
> at org.ofbiz.base.start.Start.startStartLoaders(Start.java:272)
> at org.ofbiz.base.start.Start.startServer(Start.java:322)
> at org.ofbiz.base.start.Start.start(Start.java:326)
> at org.ofbiz.base.start.Start.main(Start.java:411)
> Assertion failed: [invoiceTotal=36.43] equals [amount=36] as BigDecimal
>
> junit.framework.AssertionFailedError: Assertion failed: [invoiceTotal=36.43]
> equals [amount=36] as BigDecimal
> at org.ofbiz.testtools.SimpleMethodTest.run(SimpleMethodTest.java:81)
> at org.ofbiz.testtools.TestRunContainer.start(TestRunContainer.java:146)
> at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:100)
> at org.ofbiz.base.start.Start.startStartLoaders(Start.java:272)
> at org.ofbiz.base.start.Start.startServer(Start.java:322)
> at org.ofbiz.base.start.Start.start(Start.java:326)
> at org.ofbiz.base.start.Start.main(Start.java:411)
> Assertion failed: [invoiceTotal=46.43] equals [amount=46] as BigDecimal
>
> junit.framework.AssertionFailedError: Assertion failed: [invoiceTotal=46.43]
> equals [amount=46] as BigDecimal
> at org.ofbiz.testtools.SimpleMethodTest.run(SimpleMethodTest.java:81)
> at org.ofbiz.testtools.TestRunContainer.start(TestRunContainer.java:146)
> at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:100)
> at org.ofbiz.base.start.Start.startStartLoaders(Start.java:272)
> at org.ofbiz.base.start.Start.startServer(Start.java:322)
> at org.ofbiz.base.start.Start.start(Start.java:326)
> at org.ofbiz.base.start.Start.main(Start.java:411)
> Assertion failed: [invoiceTotal=33.99] equals [amount=33] as BigDecimal
>
> junit.framework.AssertionFailedError: Assertion failed: [invoiceTotal=33.99]
> equals [amount=33] as BigDecimal
> at org.ofbiz.testtools.SimpleMethodTest.run(SimpleMethodTest.java:81)
> at org.ofbiz.testtools.TestRunContainer.start(TestRunContainer.java:146)
> at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:100)
> at org.ofbiz.base.start.Start.startStartLoaders(Start.java:272)
> at org.ofbiz.base.start.Start.startServer(Start.java:322)
> at org.ofbiz.base.start.Start.start(Start.java:326)
> at org.ofbiz.base.start.Start.main(Start.java:411)
> Assertion failed: [invoiceTotal=33.99] equals [amount=33] as BigDecimal
>
> junit.framework.AssertionFailedError: Assertion failed: [invoiceTotal=33.99]
> equals [amount=33] as BigDecimal
> at org.ofbiz.testtools.SimpleMethodTest.run(SimpleMethodTest.java:81)
> at org.ofbiz.testtools.TestRunContainer.start(TestRunContainer.java:146)
> at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:100)
> at org.ofbiz.base.start.Start.startStartLoaders(Start.java:272)
> at org.ofbiz.base.start.Start.startServer(Start.java:322)
> at org.ofbiz.base.start.Start.start(Start.java:326)
> at org.ofbiz.base.start.Start.main(Start.java:411)
> Assertion failed: [invoiceTotal=46.43] equals [amount=46] as BigDecimal
>
> junit.framework.AssertionFailedError: Assertion failed: [invoiceTotal=46.43]
> equals [amount=46] as BigDecimal
> at org.ofbiz.testtools.SimpleMethodTest.run(SimpleMethodTest.java:81)
> at org.ofbiz.testtools.TestRunContainer.start(TestRunContainer.java:146)
> at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:100)
> at org.ofbiz.base.start.Start.startStartLoaders(Start.java:272)
> at org.ofbiz.base.start.Start.startServer(Start.java:322)
> at org.ofbiz.base.start.Start.start(Start.java:326)
> at org.ofbiz.base.start.Start.main(Start.java:411)
> Assertion failed: [invoiceTotal=36.43] equals [amount=36] as BigDecimal
>
> junit.framework.AssertionFailedError: Assertion failed: [invoiceTotal=36.43]
> equals [amount=36] as BigDecimal
> at org.ofbiz.testtools.SimpleMethodTest.run(SimpleMethodTest.java:81)
> at org.ofbiz.testtools.TestRunContainer.start(TestRunContainer.java:146)
> at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:100)
> at org.ofbiz.base.start.Start.startStartLoaders(Start.java:272)
> at org.ofbiz.base.start.Start.startServer(Start.java:322)
> at org.ofbiz.base.start.Start.start(Start.java:326)
> at org.ofbiz.base.start.Start.main(Start.java:411)
> Assertion failed: [invoiceTotal=127.09] equals [amount=127] as BigDecimal
>
> junit.framework.AssertionFailedError: Assertion failed:
> [invoiceTotal=127.09] equals [amount=127] as BigDecimal
> at org.ofbiz.testtools.SimpleMethodTest.run(SimpleMethodTest.java:81)
> at org.ofbiz.testtools.TestRunContainer.start(TestRunContainer.java:146)
> at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:100)
> at org.ofbiz.base.start.Start.startStartLoaders(Start.java:272)
> at org.ofbiz.base.start.Start.startServer(Start.java:322)
> at org.ofbiz.base.start.Start.start(Start.java:326)
> at org.ofbiz.base.start.Start.main(Start.java:411)
> Assertion failed: [invoiceTotal=179.97] equals [amount=179] as BigDecimal
>
> junit.framework.AssertionFailedError: Assertion failed:
> [invoiceTotal=179.97] equals [amount=179] as BigDecimal
> at org.ofbiz.testtools.SimpleMethodTest.run(SimpleMethodTest.java:81)
> at org.ofbiz.testtools.TestRunContainer.start(TestRunContainer.java:146)
> at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:100)
> at org.ofbiz.base.start.Start.startStartLoaders(Start.java:272)
> at org.ofbiz.base.start.Start.startServer(Start.java:322)
> at org.ofbiz.base.start.Start.start(Start.java:326)
> at org.ofbiz.base.start.Start.main(Start.java:411)
> 0.063  partytestsparty-tests.testUpdatePartyCreditCardFailureThe expiration
> date 02/2011 is before today.
>
> junit.framework.AssertionFailedError: The expiration date 02/2011 is before
> today.
> at org.ofbiz.testtools.SimpleMethodTest.run(SimpleMethodTest.java:81)
> at org.ofbiz.testtools.TestRunContainer.start(TestRunContainer.java:146)
> at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:100)
> at org.ofbiz.base.start.Start.startStartLoaders(Start.java:272)
> at org.ofbiz.base.start.Start.startServer(Start.java:322)
> at org.ofbiz.base.start.Start.start(Start.java:326)
> at org.ofbiz.base.start.Start.main(Start.java:411)
> 0.406  productionruntestsproduction-run-tests.testProductionRunDateChange
> FailureAssertion failed: ([taskTimeDifference=7200000.0] equals 0.0 as
> Double OR [taskTimeDifference=7200000.0] equals 1.0 as Double OR
> [taskTimeDifference=7200000.0] equals -1.0 as Double)
>
> junit.framework.AssertionFailedError: Assertion failed:
> ([taskTimeDifference=7200000.0] equals 0.0 as Double OR
> [taskTimeDifference=7200000.0] equals 1.0 as Double OR
> [taskTimeDifference=7200000.0] equals -1.0 as Double)
> at org.ofbiz.testtools.SimpleMethodTest.run(SimpleMethodTest.java:81)
> at org.ofbiz.testtools.TestRunContainer.start(TestRunContainer.java:146)
> at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:100)
> at org.ofbiz.base.start.Start.startStartLoaders(Start.java:272)
> at org.ofbiz.base.start.Start.startServer(Start.java:322)
> at org.ofbiz.base.start.Start.start(Start.java:326)
> at org.ofbiz.base.start.Start.main(Start.java:411)

Thanks,

Yes it fails also here locally.
Reply | Threaded
Open this post in threaded view
|

Re: 15 Failed Unit tests for Ofbiz 10.04

Boris Hamanov
Thanks Jacques,

It seems most of the errors are minor issues with BigDecimal. There is one
test that relies on a date that already passed.

On Fri, Oct 28, 2011 at 11:00 AM, Jacques Le Roux <
[hidden email]> wrote:

> Thanks,
>
> Yes it fails also here locally. We only have continuous integration for
> trunk and a stable release which is for now R09.04. Hence it was not
> detected before. I will have a look
>
> Jacques
>
> Boris Hamanov wrote:
>
>> Ofbiz version 10.04
>>
>> java version "1.6.0_24"
>> Java(TM) SE Runtime Environment (build 1.6.0_24-b07)
>> Java HotSpot(TM) 64-Bit Server VM (build 19.1-b02, mixed mode)
>>
>>
>> OS Name    Microsoft Windows 7 Professional
>> Version    6.1.7600 Build 7600
>> System Type    x64-based PC
>> Processor    Intel(R) Core(TM) i5 CPU       M 520  @ 2.40GHz, 2400 Mhz, 2
>> Core(s), 4 Logical Processor(s)
>> BIOS Version/Date    Hewlett-Packard 68CVD Ver. F.0F, 9.3.2011 г.
>> Windows Directory    C:\windows
>> System Directory    C:\windows\system32
>> Boot Device    \Device\HarddiskVolume1
>> Locale    Bulgaria
>> Hardware Abstraction Layer    Version = "6.1.7600.16416"
>> Time Zone    FLE Daylight Time
>> Installed Physical Memory (RAM)    4.00 GB
>> Total Physical Memory    3.86 GB
>> Available Physical Memory    1.66 GB
>> Total Virtual Memory    7.72 GB
>> Available Virtual Memory    4.58 GB
>> Page File Space    3.86 GB
>>
>>
>>
>> Unit Test Results.
>> Designed for use with JUnit <http://www.junit.org/> and
>> Ant<http://ant.apache.org/>
>> .
>> ------------------------------
>> All Failures ClassNameStatusTypeTime(s)  invoicetests
>> auto-invoice-tests.**testInvoiceWorkerGetInvoiceTot**alFailureAssertion
>> failed:
>> [invoiceTotal=323.54] equals [amount=323] as BigDecimal
>>
>> junit.framework.**AssertionFailedError: Assertion failed:
>> [invoiceTotal=323.54] equals [amount=323] as BigDecimal
>> at org.ofbiz.testtools.**SimpleMethodTest.run(**SimpleMethodTest.java:81)
>> at org.ofbiz.testtools.**TestRunContainer.start(**
>> TestRunContainer.java:146)
>> at org.ofbiz.base.container.**ContainerLoader.start(**
>> ContainerLoader.java:100)
>> at org.ofbiz.base.start.Start.**startStartLoaders(Start.java:**272)
>> at org.ofbiz.base.start.Start.**startServer(Start.java:322)
>> at org.ofbiz.base.start.Start.**start(Start.java:326)
>> at org.ofbiz.base.start.Start.**main(Start.java:411)
>> Assertion failed: [invoiceTotal=36.43] equals [amount=36] as BigDecimal
>>
>> junit.framework.**AssertionFailedError: Assertion failed:
>> [invoiceTotal=36.43]
>> equals [amount=36] as BigDecimal
>> at org.ofbiz.testtools.**SimpleMethodTest.run(**SimpleMethodTest.java:81)
>> at org.ofbiz.testtools.**TestRunContainer.start(**
>> TestRunContainer.java:146)
>> at org.ofbiz.base.container.**ContainerLoader.start(**
>> ContainerLoader.java:100)
>> at org.ofbiz.base.start.Start.**startStartLoaders(Start.java:**272)
>> at org.ofbiz.base.start.Start.**startServer(Start.java:322)
>> at org.ofbiz.base.start.Start.**start(Start.java:326)
>> at org.ofbiz.base.start.Start.**main(Start.java:411)
>> Assertion failed: [invoiceTotal=56.99] equals [amount=56] as BigDecimal
>>
>> junit.framework.**AssertionFailedError: Assertion failed:
>> [invoiceTotal=56.99]
>> equals [amount=56] as BigDecimal
>> at org.ofbiz.testtools.**SimpleMethodTest.run(**SimpleMethodTest.java:81)
>> at org.ofbiz.testtools.**TestRunContainer.start(**
>> TestRunContainer.java:146)
>> at org.ofbiz.base.container.**ContainerLoader.start(**
>> ContainerLoader.java:100)
>> at org.ofbiz.base.start.Start.**startStartLoaders(Start.java:**272)
>> at org.ofbiz.base.start.Start.**startServer(Start.java:322)
>> at org.ofbiz.base.start.Start.**start(Start.java:326)
>> at org.ofbiz.base.start.Start.**main(Start.java:411)
>> Assertion failed: [invoiceTotal=543.23] equals [amount=543] as BigDecimal
>>
>> junit.framework.**AssertionFailedError: Assertion failed:
>> [invoiceTotal=543.23] equals [amount=543] as BigDecimal
>> at org.ofbiz.testtools.**SimpleMethodTest.run(**SimpleMethodTest.java:81)
>> at org.ofbiz.testtools.**TestRunContainer.start(**
>> TestRunContainer.java:146)
>> at org.ofbiz.base.container.**ContainerLoader.start(**
>> ContainerLoader.java:100)
>> at org.ofbiz.base.start.Start.**startStartLoaders(Start.java:**272)
>> at org.ofbiz.base.start.Start.**startServer(Start.java:322)
>> at org.ofbiz.base.start.Start.**start(Start.java:326)
>> at org.ofbiz.base.start.Start.**main(Start.java:411)
>> Assertion failed: [invoiceTotal=511.23] equals [amount=511] as BigDecimal
>>
>> junit.framework.**AssertionFailedError: Assertion failed:
>> [invoiceTotal=511.23] equals [amount=511] as BigDecimal
>> at org.ofbiz.testtools.**SimpleMethodTest.run(**SimpleMethodTest.java:81)
>> at org.ofbiz.testtools.**TestRunContainer.start(**
>> TestRunContainer.java:146)
>> at org.ofbiz.base.container.**ContainerLoader.start(**
>> ContainerLoader.java:100)
>> at org.ofbiz.base.start.Start.**startStartLoaders(Start.java:**272)
>> at org.ofbiz.base.start.Start.**startServer(Start.java:322)
>> at org.ofbiz.base.start.Start.**start(Start.java:326)
>> at org.ofbiz.base.start.Start.**main(Start.java:411)
>> Assertion failed: [invoiceTotal=36.43] equals [amount=36] as BigDecimal
>>
>> junit.framework.**AssertionFailedError: Assertion failed:
>> [invoiceTotal=36.43]
>> equals [amount=36] as BigDecimal
>> at org.ofbiz.testtools.**SimpleMethodTest.run(**SimpleMethodTest.java:81)
>> at org.ofbiz.testtools.**TestRunContainer.start(**
>> TestRunContainer.java:146)
>> at org.ofbiz.base.container.**ContainerLoader.start(**
>> ContainerLoader.java:100)
>> at org.ofbiz.base.start.Start.**startStartLoaders(Start.java:**272)
>> at org.ofbiz.base.start.Start.**startServer(Start.java:322)
>> at org.ofbiz.base.start.Start.**start(Start.java:326)
>> at org.ofbiz.base.start.Start.**main(Start.java:411)
>> Assertion failed: [invoiceTotal=46.43] equals [amount=46] as BigDecimal
>>
>> junit.framework.**AssertionFailedError: Assertion failed:
>> [invoiceTotal=46.43]
>> equals [amount=46] as BigDecimal
>> at org.ofbiz.testtools.**SimpleMethodTest.run(**SimpleMethodTest.java:81)
>> at org.ofbiz.testtools.**TestRunContainer.start(**
>> TestRunContainer.java:146)
>> at org.ofbiz.base.container.**ContainerLoader.start(**
>> ContainerLoader.java:100)
>> at org.ofbiz.base.start.Start.**startStartLoaders(Start.java:**272)
>> at org.ofbiz.base.start.Start.**startServer(Start.java:322)
>> at org.ofbiz.base.start.Start.**start(Start.java:326)
>> at org.ofbiz.base.start.Start.**main(Start.java:411)
>> Assertion failed: [invoiceTotal=33.99] equals [amount=33] as BigDecimal
>>
>> junit.framework.**AssertionFailedError: Assertion failed:
>> [invoiceTotal=33.99]
>> equals [amount=33] as BigDecimal
>> at org.ofbiz.testtools.**SimpleMethodTest.run(**SimpleMethodTest.java:81)
>> at org.ofbiz.testtools.**TestRunContainer.start(**
>> TestRunContainer.java:146)
>> at org.ofbiz.base.container.**ContainerLoader.start(**
>> ContainerLoader.java:100)
>> at org.ofbiz.base.start.Start.**startStartLoaders(Start.java:**272)
>> at org.ofbiz.base.start.Start.**startServer(Start.java:322)
>> at org.ofbiz.base.start.Start.**start(Start.java:326)
>> at org.ofbiz.base.start.Start.**main(Start.java:411)
>> Assertion failed: [invoiceTotal=33.99] equals [amount=33] as BigDecimal
>>
>> junit.framework.**AssertionFailedError: Assertion failed:
>> [invoiceTotal=33.99]
>> equals [amount=33] as BigDecimal
>> at org.ofbiz.testtools.**SimpleMethodTest.run(**SimpleMethodTest.java:81)
>> at org.ofbiz.testtools.**TestRunContainer.start(**
>> TestRunContainer.java:146)
>> at org.ofbiz.base.container.**ContainerLoader.start(**
>> ContainerLoader.java:100)
>> at org.ofbiz.base.start.Start.**startStartLoaders(Start.java:**272)
>> at org.ofbiz.base.start.Start.**startServer(Start.java:322)
>> at org.ofbiz.base.start.Start.**start(Start.java:326)
>> at org.ofbiz.base.start.Start.**main(Start.java:411)
>> Assertion failed: [invoiceTotal=46.43] equals [amount=46] as BigDecimal
>>
>> junit.framework.**AssertionFailedError: Assertion failed:
>> [invoiceTotal=46.43]
>> equals [amount=46] as BigDecimal
>> at org.ofbiz.testtools.**SimpleMethodTest.run(**SimpleMethodTest.java:81)
>> at org.ofbiz.testtools.**TestRunContainer.start(**
>> TestRunContainer.java:146)
>> at org.ofbiz.base.container.**ContainerLoader.start(**
>> ContainerLoader.java:100)
>> at org.ofbiz.base.start.Start.**startStartLoaders(Start.java:**272)
>> at org.ofbiz.base.start.Start.**startServer(Start.java:322)
>> at org.ofbiz.base.start.Start.**start(Start.java:326)
>> at org.ofbiz.base.start.Start.**main(Start.java:411)
>> Assertion failed: [invoiceTotal=36.43] equals [amount=36] as BigDecimal
>>
>> junit.framework.**AssertionFailedError: Assertion failed:
>> [invoiceTotal=36.43]
>> equals [amount=36] as BigDecimal
>> at org.ofbiz.testtools.**SimpleMethodTest.run(**SimpleMethodTest.java:81)
>> at org.ofbiz.testtools.**TestRunContainer.start(**
>> TestRunContainer.java:146)
>> at org.ofbiz.base.container.**ContainerLoader.start(**
>> ContainerLoader.java:100)
>> at org.ofbiz.base.start.Start.**startStartLoaders(Start.java:**272)
>> at org.ofbiz.base.start.Start.**startServer(Start.java:322)
>> at org.ofbiz.base.start.Start.**start(Start.java:326)
>> at org.ofbiz.base.start.Start.**main(Start.java:411)
>> Assertion failed: [invoiceTotal=127.09] equals [amount=127] as BigDecimal
>>
>> junit.framework.**AssertionFailedError: Assertion failed:
>> [invoiceTotal=127.09] equals [amount=127] as BigDecimal
>> at org.ofbiz.testtools.**SimpleMethodTest.run(**SimpleMethodTest.java:81)
>> at org.ofbiz.testtools.**TestRunContainer.start(**
>> TestRunContainer.java:146)
>> at org.ofbiz.base.container.**ContainerLoader.start(**
>> ContainerLoader.java:100)
>> at org.ofbiz.base.start.Start.**startStartLoaders(Start.java:**272)
>> at org.ofbiz.base.start.Start.**startServer(Start.java:322)
>> at org.ofbiz.base.start.Start.**start(Start.java:326)
>> at org.ofbiz.base.start.Start.**main(Start.java:411)
>> Assertion failed: [invoiceTotal=179.97] equals [amount=179] as BigDecimal
>>
>> junit.framework.**AssertionFailedError: Assertion failed:
>> [invoiceTotal=179.97] equals [amount=179] as BigDecimal
>> at org.ofbiz.testtools.**SimpleMethodTest.run(**SimpleMethodTest.java:81)
>> at org.ofbiz.testtools.**TestRunContainer.start(**
>> TestRunContainer.java:146)
>> at org.ofbiz.base.container.**ContainerLoader.start(**
>> ContainerLoader.java:100)
>> at org.ofbiz.base.start.Start.**startStartLoaders(Start.java:**272)
>> at org.ofbiz.base.start.Start.**startServer(Start.java:322)
>> at org.ofbiz.base.start.Start.**start(Start.java:326)
>> at org.ofbiz.base.start.Start.**main(Start.java:411)
>> 0.063  partytestsparty-tests.**testUpdatePartyCreditCardFailu**reThe
>> expiration
>> date 02/2011 is before today.
>>
>> junit.framework.**AssertionFailedError: The expiration date 02/2011 is
>> before
>> today.
>> at org.ofbiz.testtools.**SimpleMethodTest.run(**SimpleMethodTest.java:81)
>> at org.ofbiz.testtools.**TestRunContainer.start(**
>> TestRunContainer.java:146)
>> at org.ofbiz.base.container.**ContainerLoader.start(**
>> ContainerLoader.java:100)
>> at org.ofbiz.base.start.Start.**startStartLoaders(Start.java:**272)
>> at org.ofbiz.base.start.Start.**startServer(Start.java:322)
>> at org.ofbiz.base.start.Start.**start(Start.java:326)
>> at org.ofbiz.base.start.Start.**main(Start.java:411)
>> 0.406  productionruntestsproduction-**run-tests.**
>> testProductionRunDateChange
>> FailureAssertion failed: ([taskTimeDifference=7200000.**0] equals 0.0 as
>> Double OR [taskTimeDifference=7200000.0] equals 1.0 as Double OR
>> [taskTimeDifference=7200000.0] equals -1.0 as Double)
>>
>> junit.framework.**AssertionFailedError: Assertion failed:
>> ([taskTimeDifference=7200000.**0] equals 0.0 as Double OR
>> [taskTimeDifference=7200000.0] equals 1.0 as Double OR
>> [taskTimeDifference=7200000.0] equals -1.0 as Double)
>> at org.ofbiz.testtools.**SimpleMethodTest.run(**SimpleMethodTest.java:81)
>> at org.ofbiz.testtools.**TestRunContainer.start(**
>> TestRunContainer.java:146)
>> at org.ofbiz.base.container.**ContainerLoader.start(**
>> ContainerLoader.java:100)
>> at org.ofbiz.base.start.Start.**startStartLoaders(Start.java:**272)
>> at org.ofbiz.base.start.Start.**startServer(Start.java:322)
>> at org.ofbiz.base.start.Start.**start(Start.java:326)
>> at org.ofbiz.base.start.Start.**main(Start.java:411)
>>
>
> Thanks,
>
> Yes it fails also here locally.
>
Reply | Threaded
Open this post in threaded view
|

Re: 15 Failed Unit tests for Ofbiz 10.04

Erwan de FERRIERES-2
2011/10/28 Boris Hamanov <[hidden email]>:
> Thanks Jacques,
>
> It seems most of the errors are minor issues with BigDecimal. There is one
> test that relies on a date that already passed.
You should try that. If I remember well, it was just a locale problem

https://fisheye6.atlassian.com/browse/ofbiz/trunk/build.xml?r2=1086239&r1=1085799

Boris, what is your system locale ?

Cheers,

--
Erwan de FERRIERES
Reply | Threaded
Open this post in threaded view
|

Re: 15 Failed Unit tests for Ofbiz 10.04

Boris Hamanov
My locale is Bulgarian.
All details about my system are in my initial post.

Cheers,
Boris

On Fri, Oct 28, 2011 at 11:20 AM, Erwan de FERRIERES <
[hidden email]> wrote:

> 2011/10/28 Boris Hamanov <[hidden email]>:
> > Thanks Jacques,
> >
> > It seems most of the errors are minor issues with BigDecimal. There is
> one
> > test that relies on a date that already passed.
> You should try that. If I remember well, it was just a locale problem
>
>
> https://fisheye6.atlassian.com/browse/ofbiz/trunk/build.xml?r2=1086239&r1=1085799
>
> Boris, what is your system locale ?
>
> Cheers,
>
> --
> Erwan de FERRIERES
>
Reply | Threaded
Open this post in threaded view
|

Re: 15 Failed Unit tests for Ofbiz 10.04

Erwan de FERRIERES-2
2011/10/28 Boris Hamanov <[hidden email]>:
> My locale is Bulgarian.
> All details about my system are in my initial post.
so it must be from the link I send earlier. make the modifications and
try on your system, this should work.

>
> Cheers,
> Boris
>
> On Fri, Oct 28, 2011 at 11:20 AM, Erwan de FERRIERES <
> [hidden email]> wrote:
>
>> 2011/10/28 Boris Hamanov <[hidden email]>:
>> > Thanks Jacques,
>> >
>> > It seems most of the errors are minor issues with BigDecimal. There is
>> one
>> > test that relies on a date that already passed.
>> You should try that. If I remember well, it was just a locale problem
>>
>>
>> https://fisheye6.atlassian.com/browse/ofbiz/trunk/build.xml?r2=1086239&r1=1085799
>>
>> Boris, what is your system locale ?
>>
>> Cheers,
>>
>> --
>> Erwan de FERRIERES
>>
>



--
Erwan de FERRIERES