You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Jacques Le Roux (Issue Comment Edited) (JIRA)" <ji...@apache.org> on 2012/01/01 11:13:30 UTC

[jira] [Issue Comment Edited] (OFBIZ-4239) The framework/base tests fail

    [ https://issues.apache.org/jira/browse/OFBIZ-4239?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13178136#comment-13178136 ] 

Jacques Le Roux edited comment on OFBIZ-4239 at 1/1/12 10:12 AM:
-----------------------------------------------------------------

There are no longer any errors reported by BuildBot but we have the following only on Windows:

basetests	testReadWriteObject	Failure	write stream java.lang.Boolean expected:<......> but was:<... ...>

junit.framework.ComparisonFailure: write stream java.lang.Boolean expected:<......> but was:<...
...>
at org.ofbiz.base.test.GenericTestCaseBase.assertEquals(GenericTestCaseBase.java:313)
at org.ofbiz.base.util.test.UtilIOTests.checkBasicReadWriteObject(UtilIOTests.java:147)
at org.ofbiz.base.util.test.UtilIOTests.testReadWriteObject(UtilIOTests.java:155)
at org.ofbiz.testtools.TestRunContainer.start(TestRunContainer.java:146)
at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:230)
at org.ofbiz.base.start.Start.startStartLoaders(Start.java:310)
at org.ofbiz.base.start.Start.start(Start.java:289)
at org.ofbiz.base.start.Start.main(Start.java:119)
                
      was (Author: jacques.le.roux):
    There are no longer any errors reported by BuildBot but we have the following only on Windows:
{code}
Class	Name	Status	Type	Time(s)
basetests	testReadWriteObject	Failure	write stream java.lang.Boolean expected:<......> but was:<... ...>

junit.framework.ComparisonFailure: write stream java.lang.Boolean expected:<......> but was:<...
...>
at org.ofbiz.base.test.GenericTestCaseBase.assertEquals(GenericTestCaseBase.java:313)
at org.ofbiz.base.util.test.UtilIOTests.checkBasicReadWriteObject(UtilIOTests.java:147)
at org.ofbiz.base.util.test.UtilIOTests.testReadWriteObject(UtilIOTests.java:155)
at org.ofbiz.testtools.TestRunContainer.start(TestRunContainer.java:146)
at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:230)
at org.ofbiz.base.start.Start.startStartLoaders(Start.java:310)
at org.ofbiz.base.start.Start.start(Start.java:289)
at org.ofbiz.base.start.Start.main(Start.java:119)
                  
> The framework/base tests fail
> -----------------------------
>
>                 Key: OFBIZ-4239
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4239
>             Project: OFBiz
>          Issue Type: Test
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Jacques Le Roux
>            Assignee: Jacques Le Roux
>            Priority: Trivial
>             Fix For: SVN trunk
>
>
> Thanks to Adrian's explanation in http://markmail.org/message/ihpdviifcnmk2mhz
> {quote}
> 1. The framework/base component unit tests ran successfully.
> 2. A new testing framework was introduced and that framework skipped the 
> framework/base unit tests.
> 3. Over time, changes were made to framework/base code that caused the 
> tests to fail, but no one noticed because the tests were not being run.
> 4. Rev 1085735 fixed the issue that was preventing the framework/base 
> tests from being run.
> 5. Now the framework/base tests run, but they fail due to #3.
> {quote}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira