[jboss-cvs] jbosstest/src/main/org/jboss/test/aop/test ...
Kabir Khan
kkhan at jboss.com
Tue Jul 18 12:38:10 EDT 2006
User: kkhan
Date: 06/07/18 12:38:10
Modified: src/main/org/jboss/test/aop/test AOPUnitTestCase.java
Log:
Add some tests to capture the move of the annotation creator from aop to the container module
Revision Changes Path
1.20 +14 -1 jbosstest/src/main/org/jboss/test/aop/test/AOPUnitTestCase.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: AOPUnitTestCase.java
===================================================================
RCS file: /cvsroot/jboss/jbosstest/src/main/org/jboss/test/aop/test/AOPUnitTestCase.java,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -b -r1.19 -r1.20
--- AOPUnitTestCase.java 29 Oct 2005 23:41:15 -0000 1.19
+++ AOPUnitTestCase.java 18 Jul 2006 16:38:10 -0000 1.20
@@ -33,7 +33,7 @@
* Sample client for the jboss container.
*
* @author <a href="mailto:bill at burkecentral.com">Bill Burke</a>
- * @version $Id: AOPUnitTestCase.java,v 1.19 2005/10/29 23:41:15 starksm Exp $
+ * @version $Id: AOPUnitTestCase.java,v 1.20 2006/07/18 16:38:10 kkhan Exp $
*/
public class AOPUnitTestCase
@@ -151,6 +151,19 @@
server.invoke(testerName, "testExceptions", params, sig);
}
+ /**
+ * Checks that the annotion overrides still work following the pending move of the
+ * core of this functionality to the container module
+ */
+ public void testAnnotationOverrides() throws Exception
+ {
+ MBeanServerConnection server = getServer();
+ ObjectName testerName = new ObjectName("jboss.aop:name=AOPTester");
+ Object[] params = {};
+ String[] sig = {};
+ server.invoke(testerName, "testIntroducedAnnotation", params, sig);
+ }
+
public static Test suite() throws Exception
{
TestSuite suite = new TestSuite();
More information about the jboss-cvs-commits
mailing list