[jboss-jira] [JBoss JIRA] Updated: (JBMDR-51) AnnotationCreator annotations don't implement equals correctly

Ales Justin (JIRA) jira-events at lists.jboss.org
Tue Nov 4 05:56:20 EST 2008


     [ https://jira.jboss.org/jira/browse/JBMDR-51?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ales Justin updated JBMDR-51:
-----------------------------

    Fix Version/s: JBossMDR-2.0.1.GA


> AnnotationCreator annotations don't implement equals correctly
> --------------------------------------------------------------
>
>                 Key: JBMDR-51
>                 URL: https://jira.jboss.org/jira/browse/JBMDR-51
>             Project: JBoss MetaData Repository
>          Issue Type: Bug
>          Components: Annotations
>    Affects Versions: JBossMDR.2.0.0.GA
>            Reporter: Scott M Stark
>            Assignee: Ales Justin
>             Fix For: JBossMDR-2.0.1.GA
>
>
> See the org.jboss.test.annotation.factory.test.AnnotationCreatorTest.testEquals which fails with:
> junit.framework.AssertionFailedError: {type=type, subtype=subtype} != @org.jboss.test.annotation.factory.support.Name(type=, subtype=)
> 	at junit.framework.Assert.fail(Assert.java:47)
> 	at junit.framework.Assert.assertTrue(Assert.java:20)
> 	at junit.framework.Assert.assertFalse(Assert.java:34)
> 	at org.jboss.test.annotation.factory.test.AnnotationCreatorTest.testEquals(AnnotationCreatorTest.java:177)
> The AnnotationCreatorTest generated Name(type="type",subtype="subtype") annotation is seen to be equal to the jdk Name(type="",subtype="")

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list