]
Ales Justin resolved JBMDR-51.
------------------------------
Resolution: Done
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
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: