ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From peterrei...@apache.org
Subject svn commit: r591427 - in /ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/testing: BlockFor.java Funtest.java
Date Fri, 02 Nov 2007 19:07:07 GMT
Author: peterreilly
Date: Fri Nov  2 12:07:06 2007
New Revision: 591427

URL: http://svn.apache.org/viewvc?rev=591427&view=rev
Log:
some javadoc

Modified:
    ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/testing/BlockFor.java
    ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/testing/Funtest.java

Modified: ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/testing/BlockFor.java
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/testing/BlockFor.java?rev=591427&r1=591426&r2=591427&view=diff
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/testing/BlockFor.java (original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/testing/BlockFor.java Fri
Nov  2 12:07:06 2007
@@ -58,7 +58,7 @@
      */
     protected void processTimeout() throws BuildTimeoutException {
         super.processTimeout();
-        throw new BuildTimeoutException(text,getLocation());
+        throw new BuildTimeoutException(text, getLocation());
     }
 
     /**

Modified: ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/testing/Funtest.java
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/testing/Funtest.java?rev=591427&r1=591426&r2=591427&view=diff
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/testing/Funtest.java (original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/testing/Funtest.java Fri
Nov  2 12:07:06 2007
@@ -178,41 +178,68 @@
         }
     }
 
+    /**
+     * Add a condition.
+     * @param newCondition the condition to add.
+     */
     public void addCondition(Condition newCondition) {
         logOverride("condition", condition);
         condition = newCondition;
     }
 
+    /**
+     * Add an application.
+     * @param sequence the application to add.
+     */
     public void addApplication(Sequential sequence) {
         logOverride("application", application);
         application = sequence;
     }
 
+    /**
+     * Add a setup sequence.
+     * @param sequence the setup sequence to add.
+     */
     public void addSetup(Sequential sequence) {
         logOverride("setup", setup);
         setup = sequence;
     }
 
+    /**
+     * Add a block.
+     * @param sequence the block for to add.
+     */
     public void addBlock(BlockFor sequence) {
         logOverride("block", block);
         block = sequence;
     }
 
+    /**
+     * add tests.
+     * @param sequence a sequence to add.
+     */
     public void addTests(Sequential sequence) {
         logOverride("tests", tests);
         tests = sequence;
     }
 
+    /**
+     * set reporting sequence of tasks.
+     * @param sequence a reporting sequence to use.
+     */
     public void addReporting(Sequential sequence) {
         logOverride("reporting", reporting);
         reporting = sequence;
     }
 
+    /**
+     * set teardown sequence of tasks.
+     * @param sequence a teardown sequence to use.
+     */
     public void addTeardown(Sequential sequence) {
         logOverride("teardown", teardown);
         teardown = sequence;
     }
-
 
     public void setFailOnTeardownErrors(boolean failOnTeardownErrors) {
         this.failOnTeardownErrors = failOnTeardownErrors;



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message