Updated Branches:
  refs/heads/master ed58bb5e4 -> 325bc0830

BIGTOP-874. make test contracts show up in javadoc


Project: http://git-wip-us.apache.org/repos/asf/bigtop/repo
Commit: http://git-wip-us.apache.org/repos/asf/bigtop/commit/325bc083
Tree: http://git-wip-us.apache.org/repos/asf/bigtop/tree/325bc083
Diff: http://git-wip-us.apache.org/repos/asf/bigtop/diff/325bc083

Branch: refs/heads/master
Commit: 325bc08309cf57dd139e6aca117e69c6cc9d8480
Parents: ed58bb5
Author: Wing Yew Poon <[email protected]>
Authored: Mon Mar 18 13:55:25 2013 -0700
Committer: Roman Shaposhnik <[email protected]>
Committed: Sun Mar 24 17:46:54 2013 -0700

----------------------------------------------------------------------
 .../groovy/org/apache/bigtop/itest/Property.java   |    3 +++
 .../groovy/org/apache/bigtop/itest/Variable.java   |    3 +++
 2 files changed, 6 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/bigtop/blob/325bc083/bigtop-test-framework/src/main/groovy/org/apache/bigtop/itest/Property.java
----------------------------------------------------------------------
diff --git 
a/bigtop-test-framework/src/main/groovy/org/apache/bigtop/itest/Property.java 
b/bigtop-test-framework/src/main/groovy/org/apache/bigtop/itest/Property.java
index 12e18d3..19cd657 100644
--- 
a/bigtop-test-framework/src/main/groovy/org/apache/bigtop/itest/Property.java
+++ 
b/bigtop-test-framework/src/main/groovy/org/apache/bigtop/itest/Property.java
@@ -18,6 +18,8 @@
 
 package org.apache.bigtop.itest;
 
+import java.lang.annotation.Documented;
+
 /**
    Specifies a parameter to be passed into a test via a system property.
    The parameter may be a String, an int, a long, or a boolean. If the type
@@ -26,6 +28,7 @@ package org.apache.bigtop.itest;
    for the parameter if its type is not boolean; the default value of a
    boolean parameter is false.
 */
+@Documented
 public @interface Property {
   public static enum Type {
     STRING, INT, LONG, BOOLEAN;

http://git-wip-us.apache.org/repos/asf/bigtop/blob/325bc083/bigtop-test-framework/src/main/groovy/org/apache/bigtop/itest/Variable.java
----------------------------------------------------------------------
diff --git 
a/bigtop-test-framework/src/main/groovy/org/apache/bigtop/itest/Variable.java 
b/bigtop-test-framework/src/main/groovy/org/apache/bigtop/itest/Variable.java
index f6594d2..5753a7c 100644
--- 
a/bigtop-test-framework/src/main/groovy/org/apache/bigtop/itest/Variable.java
+++ 
b/bigtop-test-framework/src/main/groovy/org/apache/bigtop/itest/Variable.java
@@ -18,12 +18,15 @@
 
 package org.apache.bigtop.itest;
 
+import java.lang.annotation.Documented;
+
 /**
    Specifies a parameter to be passed into a test via an environment variable.
    The parameter is a String.
    By default, the parameter is required. If it is required and a non-null 
value
    cannot be found for it, an error may be thrown.
 */
+@Documented
 public @interface Variable {
   String name();
   boolean required() default true;

Reply via email to