[jboss-cvs] aop-mc-int/src/tests/org/jboss/test/microcontainer/test ...
Kabir Khan
kkhan at jboss.com
Wed Jul 19 14:22:16 EDT 2006
User: kkhan
Date: 06/07/19 14:22:16
Modified: src/tests/org/jboss/test/microcontainer/test
JMXDecoratedTestCase.java
Log:
[JBMICROCONT-98] Make the annotation metadata more free format
Revision Changes Path
1.3 +1 -1 aop-mc-int/src/tests/org/jboss/test/microcontainer/test/JMXDecoratedTestCase.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: JMXDecoratedTestCase.java
===================================================================
RCS file: /cvsroot/jboss/aop-mc-int/src/tests/org/jboss/test/microcontainer/test/JMXDecoratedTestCase.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- JMXDecoratedTestCase.java 3 May 2006 14:30:10 -0000 1.2
+++ JMXDecoratedTestCase.java 19 Jul 2006 18:22:16 -0000 1.3
@@ -91,7 +91,7 @@
assertTrue(MetaDataContextInterceptor.classAnnotation instanceof JMX);
JMX jmx = (JMX)MetaDataContextInterceptor.classAnnotation;
assertTrue(jmx.exposedInterface().equals(SimpleBean.class));
- assertNull(jmx.name());
+ assertTrue(jmx.name() == null || jmx.name().length() == 0);
MetaDataContextInterceptor.classAnnotation = null;
server.invoke(notbean, "someOtherMethod", new Object[0], new String[0]);
More information about the jboss-cvs-commits
mailing list