[jboss-cvs] JBossAS SVN: r103260 - projects/jboss-reflect/trunk/src/test/java/org/jboss/test/beaninfo/test.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Tue Mar 30 09:51:20 EDT 2010
Author: kabir.khan at jboss.com
Date: 2010-03-30 09:51:19 -0400 (Tue, 30 Mar 2010)
New Revision: 103260
Modified:
projects/jboss-reflect/trunk/src/test/java/org/jboss/test/beaninfo/test/BeanInfoUnitTestCase.java
Log:
Add some previously added and commented out tests
Modified: projects/jboss-reflect/trunk/src/test/java/org/jboss/test/beaninfo/test/BeanInfoUnitTestCase.java
===================================================================
--- projects/jboss-reflect/trunk/src/test/java/org/jboss/test/beaninfo/test/BeanInfoUnitTestCase.java 2010-03-30 13:06:46 UTC (rev 103259)
+++ projects/jboss-reflect/trunk/src/test/java/org/jboss/test/beaninfo/test/BeanInfoUnitTestCase.java 2010-03-30 13:51:19 UTC (rev 103260)
@@ -37,6 +37,7 @@
import org.jboss.test.beaninfo.support.BeanInfoAnnotatedSetterOnly;
import org.jboss.test.beaninfo.support.BeanInfoAnnotation;
import org.jboss.test.beaninfo.support.BeanInfoAnnotation1;
+import org.jboss.test.beaninfo.support.BeanInfoAnnotation2;
import org.jboss.test.beaninfo.support.BeanInfoBooleanProperties;
import org.jboss.test.beaninfo.support.BeanInfoConstructors;
import org.jboss.test.beaninfo.support.BeanInfoDefaultConstructor;
@@ -332,31 +333,26 @@
testBeanAnnotations(BeanInfoAnnotatedGetterOnly.class, new String[] { "something" }, new Class<?>[] {BeanInfoAnnotation1.class});
}
-// public void testBeanAnnotatedSetterOnlyAnnotations() throws Throwable
-// {
-// testBeanAnnotations(BeanInfoAnnotatedSetterOnly.class, new String[] { "something" });
-// }
-//
-// public void testBeanAnnotatedGetterAndSetterAnnotations() throws Throwable
-// {
-// testBeanAnnotations(BeanInfoAnnotatedGetterAndSetter.class, new String[] { "something" });
-// }
-//
-// public void testBeanAnnotatedGetterAndSetterWithInterfaceAnnotations() throws Throwable
-// {
-// testBeanAnnotations(BeanInfoAnnotatedGetterAndSetterWithInterface.class, new String[] { "something" });
-// }
-//
-// public void testBeanAnnotatedGetterAndSetterSimpleMergeAnnotations() throws Throwable
-// {
-// testBeanAnnotations(BeanInfoAnnotatedGetterAndSetterSimpleMerge.class, new String[] { "something" });
-// }
-//
-// public void testBeanAnnotations() throws Throwable
-// {
-// testBeanAnnotations(BeanInfoAnnotation.class, new String[] { "something" });
-// }
-
+ public void testBeanAnnotatedSetterOnlyAnnotations() throws Throwable
+ {
+ testBeanAnnotations(BeanInfoAnnotatedSetterOnly.class, new String[] { "something" }, new Class<?>[] {BeanInfoAnnotation1.class});
+ }
+
+ public void testBeanAnnotatedGetterAndSetterAnnotations() throws Throwable
+ {
+ testBeanAnnotations(BeanInfoAnnotatedGetterAndSetter.class, new String[] { "something" }, new Class<?>[] {BeanInfoAnnotation1.class});
+ }
+
+ public void testBeanAnnotatedGetterAndSetterWithInterfaceAnnotations() throws Throwable
+ {
+ testBeanAnnotations(BeanInfoAnnotatedGetterAndSetterWithInterface.class, new String[] { "something" }, new Class<?>[] {BeanInfoAnnotation1.class});
+ }
+
+ public void testBeanAnnotatedGetterAndSetterSimpleMergeAnnotations() throws Throwable
+ {
+ testBeanAnnotations(BeanInfoAnnotatedGetterAndSetterSimpleMerge.class, new String[] { "something" }, new Class<?>[] {BeanInfoAnnotation1.class, BeanInfoAnnotation2.class});
+ }
+
protected void testBean(Class<?> clazz, String[] beanNames) throws Throwable
{
for (BeanAccessMode mode : BeanAccessMode.values())
More information about the jboss-cvs-commits
mailing list