[jboss-cvs] JBossAS SVN: r64841 - projects/aop/trunk/aop/src/test/org/jboss/test/aop/beforeafterArgs.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Fri Aug 24 00:22:07 EDT 2007


Author: flavia.rainone at jboss.com
Date: 2007-08-24 00:22:07 -0400 (Fri, 24 Aug 2007)
New Revision: 64841

Modified:
   projects/aop/trunk/aop/src/test/org/jboss/test/aop/beforeafterArgs/ArgsInvalidPOJO.java
   projects/aop/trunk/aop/src/test/org/jboss/test/aop/beforeafterArgs/JoinPointInvalidPOJO.java
   projects/aop/trunk/aop/src/test/org/jboss/test/aop/beforeafterArgs/ReturnInvalidPOJO.java
   projects/aop/trunk/aop/src/test/org/jboss/test/aop/beforeafterArgs/ThrownInvalidPOJO.java
Log:
[JBAOP-387] Commented invalid pojo classes.

Modified: projects/aop/trunk/aop/src/test/org/jboss/test/aop/beforeafterArgs/ArgsInvalidPOJO.java
===================================================================
--- projects/aop/trunk/aop/src/test/org/jboss/test/aop/beforeafterArgs/ArgsInvalidPOJO.java	2007-08-24 02:24:15 UTC (rev 64840)
+++ projects/aop/trunk/aop/src/test/org/jboss/test/aop/beforeafterArgs/ArgsInvalidPOJO.java	2007-08-24 04:22:07 UTC (rev 64841)
@@ -25,10 +25,18 @@
 import java.util.List;
 
 /**
- * POJO whose joinpoint executions will throw a NoMatchingAdviceException, due to
- * the fact that there is no advice that matches the joinpoint.
+ * Plain old java object used on @Arg and @Args-annotated parameter tests with
+ * invalid advices (its joinpoint executions will throw a NoMatchingAdviceException,
+ * due to the fact that there is no advice that matches the joinpoint).
+ * <br>
+ * This class is a "copy" of {@link ArgsPOJO} class. Each joinpoint of the original
+ * class is duplicated here to be matched by each invalid advice, in order to assert
+ * the invalidity of advices in an individual manner.
  * 
  * @author  <a href="flavia.rainone at jboss.com">Flavia Rainone</a>
+ * 
+ * @see ArgInvalidTestCase
+ * @see ArgsInvalidTestCase
  */
 public class ArgsInvalidPOJO
 {

Modified: projects/aop/trunk/aop/src/test/org/jboss/test/aop/beforeafterArgs/JoinPointInvalidPOJO.java
===================================================================
--- projects/aop/trunk/aop/src/test/org/jboss/test/aop/beforeafterArgs/JoinPointInvalidPOJO.java	2007-08-24 02:24:15 UTC (rev 64840)
+++ projects/aop/trunk/aop/src/test/org/jboss/test/aop/beforeafterArgs/JoinPointInvalidPOJO.java	2007-08-24 04:22:07 UTC (rev 64841)
@@ -22,9 +22,17 @@
 package org.jboss.test.aop.beforeafterArgs;
 
 /**
- * Plain old java object used on @JoinPoint parameter tests.
+ * Plain old java object used on @JoinPoint parameter tests with invalid advices(its
+ * joinpoint executions will throw a NoMatchingAdviceException, due to the fact that
+ * there is no advice that matches the joinpoint).
+ * <br>
+ * This class is a "copy" of {@link ArgsPOJO} class. Each joinpoint of the original
+ * class is duplicated here to be matched by each invalid advice, in order to assert
+ * the invalidity of advices in an individual manner.
  * 
  * @author <a href="flavia.rainone at jboss.com">Flavia Rainone</a>
+ * 
+ * @see JoinPointInvalidTestCase
  */
 public class JoinPointInvalidPOJO
 {

Modified: projects/aop/trunk/aop/src/test/org/jboss/test/aop/beforeafterArgs/ReturnInvalidPOJO.java
===================================================================
--- projects/aop/trunk/aop/src/test/org/jboss/test/aop/beforeafterArgs/ReturnInvalidPOJO.java	2007-08-24 02:24:15 UTC (rev 64840)
+++ projects/aop/trunk/aop/src/test/org/jboss/test/aop/beforeafterArgs/ReturnInvalidPOJO.java	2007-08-24 04:22:07 UTC (rev 64841)
@@ -22,10 +22,17 @@
 package org.jboss.test.aop.beforeafterArgs;
 
 /**
- * Plain old java object used both on @Return parameter tests, and on advice return
- * type tests.
+ * Plain old java object used both on @Return parameter tests with invalid advices(
+ * its joinpoint executions will throw a NoMatchingAdviceException, due to the fact
+ * that there is no advice that matches the joinpoint).
+ * <br>
+ * This class is a "copy" of {@link ArgsPOJO} class. Each joinpoint of the original
+ * class is duplicated here to be matched by each invalid advice, in order to assert
+ * the invalidity of advices in an individual manner.
  * 
  * @author <a href="flavia.rainone at jboss.com">Flavia Rainone</a>
+ * 
+ * @see ReturnInvalidTestCase
  */
 public class ReturnInvalidPOJO
 {

Modified: projects/aop/trunk/aop/src/test/org/jboss/test/aop/beforeafterArgs/ThrownInvalidPOJO.java
===================================================================
--- projects/aop/trunk/aop/src/test/org/jboss/test/aop/beforeafterArgs/ThrownInvalidPOJO.java	2007-08-24 02:24:15 UTC (rev 64840)
+++ projects/aop/trunk/aop/src/test/org/jboss/test/aop/beforeafterArgs/ThrownInvalidPOJO.java	2007-08-24 04:22:07 UTC (rev 64841)
@@ -22,9 +22,17 @@
 package org.jboss.test.aop.beforeafterArgs;
 
 /**
- * Plain old java object used on @Thrown parameter tests.
+ * Plain old java object used on @Thrown parameter tests with invalid advices (its
+ * joinpoint executions will throw a NoMatchingAdviceException, due to
+ * the fact that there is no advice that matches the joinpoint).
+ * <br>
+ * This class is a "copy" of {@link ThrownPOJO} class. Each joinpoint of the original
+ * class is duplicated here to be matched by each invalid advice, in order to assert
+ * the invalidity of advices in an individual manner.
  * 
  * @author <a href="flavia.rainone at jboss.com">Flavia Rainone</a>
+ * 
+ * @see ThrownInvalidPOJOTest
  */
 public class ThrownInvalidPOJO
 {




More information about the jboss-cvs-commits mailing list