Author: julien(a)jboss.com
Date: 2007-10-05 15:45:41 -0400 (Fri, 05 Oct 2007)
New Revision: 8551
Modified:
modules/test/trunk/unit/src/main/org/jboss/unit/spi/pojo/annotations/Provider.java
Log:
- minor javadoc
Modified:
modules/test/trunk/unit/src/main/org/jboss/unit/spi/pojo/annotations/Provider.java
===================================================================
---
modules/test/trunk/unit/src/main/org/jboss/unit/spi/pojo/annotations/Provider.java 2007-10-05
19:40:47 UTC (rev 8550)
+++
modules/test/trunk/unit/src/main/org/jboss/unit/spi/pojo/annotations/Provider.java 2007-10-05
19:45:41 UTC (rev 8551)
@@ -31,6 +31,9 @@
import java.lang.annotation.ElementType;
/**
+ * An annotation used to specify the test provider of a pojo. It can be used either
directly on a tested pojo class
+ * or as a meta annotation for annotating an annotation of a tested pojo class.
+ *
* @author <a href="mailto:julien@jboss.org">Julien Viet</a>
* @version $Revision: 1.1 $
*/
@@ -39,5 +42,10 @@
@Target({ElementType.ANNOTATION_TYPE,ElementType.TYPE})
public @interface Provider
{
+ /**
+ * The test provider class to use instead of the regular one.
+ *
+ * @return the test provider class
+ */
Class<? extends TestProvider> value();
}