[jboss-cvs] JBossAS SVN: r66432 - projects/microcontainer/trunk/container/src/tests/org/jboss/test/beaninfo/test.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Thu Oct 25 10:22:53 EDT 2007
Author: adrian at jboss.org
Date: 2007-10-25 10:22:53 -0400 (Thu, 25 Oct 2007)
New Revision: 66432
Modified:
projects/microcontainer/trunk/container/src/tests/org/jboss/test/beaninfo/test/BeanInfoUnitTestCase.java
Log:
Add a test for annotations on methods defined on an interface
Modified: projects/microcontainer/trunk/container/src/tests/org/jboss/test/beaninfo/test/BeanInfoUnitTestCase.java
===================================================================
--- projects/microcontainer/trunk/container/src/tests/org/jboss/test/beaninfo/test/BeanInfoUnitTestCase.java 2007-10-25 14:09:45 UTC (rev 66431)
+++ projects/microcontainer/trunk/container/src/tests/org/jboss/test/beaninfo/test/BeanInfoUnitTestCase.java 2007-10-25 14:22:53 UTC (rev 66432)
@@ -30,6 +30,7 @@
import org.jboss.beans.info.spi.PropertyInfo;
import org.jboss.test.beaninfo.support.BeanInfoAnnotatedGetterAndSetter;
import org.jboss.test.beaninfo.support.BeanInfoAnnotatedGetterAndSetterSimpleMerge;
+import org.jboss.test.beaninfo.support.BeanInfoAnnotatedGetterAndSetterWithInterface;
import org.jboss.test.beaninfo.support.BeanInfoAnnotatedGetterOnly;
import org.jboss.test.beaninfo.support.BeanInfoAnnotatedSetterOnly;
import org.jboss.test.beaninfo.support.BeanInfoAnnotation;
@@ -148,6 +149,11 @@
testBean(BeanInfoAnnotatedGetterAndSetter.class, new String[] { "something" });
}
+ public void testBeanAnnotatedGetterAndSetterWithInterface() throws Throwable
+ {
+ testBean(BeanInfoAnnotatedGetterAndSetterWithInterface.class, new String[] { "something" });
+ }
+
public void testBeanAnnotatedGetterAndSetterSimpleMerge() throws Throwable
{
testBean(BeanInfoAnnotatedGetterAndSetterSimpleMerge.class, new String[] { "something" });
More information about the jboss-cvs-commits
mailing list