geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vasily Zakharov (JIRA)" <j...@apache.org>
Subject [jira] Closed: (GERONIMO-3672) org.apache.geronimo.j2ee.deployment.annotation.AnnotationHelperTest is implementation-dependent
Date Wed, 05 Dec 2007 16:57:43 GMT

     [ https://issues.apache.org/jira/browse/GERONIMO-3672?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Vasily Zakharov closed GERONIMO-3672.
-------------------------------------


Thanks, Jarek, that fixes the problem!

Closing the issue.


> org.apache.geronimo.j2ee.deployment.annotation.AnnotationHelperTest is implementation-dependent
> -----------------------------------------------------------------------------------------------
>
>                 Key: GERONIMO-3672
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-3672
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: testsuite
>    Affects Versions: 2.0.2
>            Reporter: Vasily Zakharov
>            Assignee: Jarek Gawor
>             Fix For: 2.0.x, 2.1
>
>
> Test org.apache.geronimo.j2ee.deployment.annotation.AnnotationHelperTest may fail on
non-Sun implementation, because it assumes the order in which Class.getFields() returns the
fields, while specification doesn't specify the particular order. 
> The problem occurs in method PersistenceUnitAnnotationHelper.processPersistenceUnit()
which gets the fields and adds them to the annotatedApp, that is later compared (in the tests
themselves) with expected XML - at this point the tests may as the order of elements in the
resulting XML may be different.
> The following assertions fail on Apache Harmony because of this fact:
> testPersistenceContextAnnotationHelper
> testPersistenceUnitAnnotationHelper
> testWebServiceRefAnnotationHelper

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message