commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nutty...@apache.org
Subject svn commit: r462578 - in /jakarta/commons/sandbox/pipeline/trunk/src: main/java/org/apache/commons/pipeline/driver/ThreadPoolStageDriverFactory.java test/java/org/apache/commons/pipeline/driver/ThreadPoolStageDriverTest.java
Date Tue, 10 Oct 2006 21:27:28 GMT
Author: nuttycom
Date: Tue Oct 10 14:27:28 2006
New Revision: 462578

URL: http://svn.apache.org/viewvc?view=rev&rev=462578
Log:
Minor documentation improvements

Modified:
    jakarta/commons/sandbox/pipeline/trunk/src/main/java/org/apache/commons/pipeline/driver/ThreadPoolStageDriverFactory.java
    jakarta/commons/sandbox/pipeline/trunk/src/test/java/org/apache/commons/pipeline/driver/ThreadPoolStageDriverTest.java

Modified: jakarta/commons/sandbox/pipeline/trunk/src/main/java/org/apache/commons/pipeline/driver/ThreadPoolStageDriverFactory.java
URL: http://svn.apache.org/viewvc/jakarta/commons/sandbox/pipeline/trunk/src/main/java/org/apache/commons/pipeline/driver/ThreadPoolStageDriverFactory.java?view=diff&rev=462578&r1=462577&r2=462578
==============================================================================
--- jakarta/commons/sandbox/pipeline/trunk/src/main/java/org/apache/commons/pipeline/driver/ThreadPoolStageDriverFactory.java
(original)
+++ jakarta/commons/sandbox/pipeline/trunk/src/main/java/org/apache/commons/pipeline/driver/ThreadPoolStageDriverFactory.java
Tue Oct 10 14:27:28 2006
@@ -25,7 +25,7 @@
 import org.apache.commons.pipeline.StageDriverFactory;
 
 /**
- * This factory is used to create ThreadPoolStageDriver instances configured
+ * This factory is used to create {@link ThreadPoolStageDriver} instances configured
  * to run specific stages.
  */
 public class ThreadPoolStageDriverFactory implements StageDriverFactory {

Modified: jakarta/commons/sandbox/pipeline/trunk/src/test/java/org/apache/commons/pipeline/driver/ThreadPoolStageDriverTest.java
URL: http://svn.apache.org/viewvc/jakarta/commons/sandbox/pipeline/trunk/src/test/java/org/apache/commons/pipeline/driver/ThreadPoolStageDriverTest.java?view=diff&rev=462578&r1=462577&r2=462578
==============================================================================
--- jakarta/commons/sandbox/pipeline/trunk/src/test/java/org/apache/commons/pipeline/driver/ThreadPoolStageDriverTest.java
(original)
+++ jakarta/commons/sandbox/pipeline/trunk/src/test/java/org/apache/commons/pipeline/driver/ThreadPoolStageDriverTest.java
Tue Oct 10 14:27:28 2006
@@ -41,20 +41,21 @@
         
         return suite;
     }
-        /**
-     * Test of getFeeder method, of class org.apache.commons.pipeline.driver.SynchronousStageDriver.
+    
+    /**
+     * Test of getFeeder method, of class {@link ThreadPoolStageDriver}.
      */
     public void testGetFeeder() {
         log.debug("testGetFeeder ---------------------------------------------");
         ThreadPoolStageDriver instance = new ThreadPoolStageDriver(stage, context, new LinkedBlockingQueue(),
500, FaultTolerance.NONE, 5);
         
         Feeder feeder = instance.getFeeder();
-        assertNotNull(feeder);        
+        assertNotNull(feeder);
     }
     
     /**
-     * Due to the design of the ThreadPoolStageDriver, it is meaningless
-     * to independently test the start or finish methods; however, testing 
+     * Due to the design of the {@link ThreadPoolStageDriver}, it is meaningless
+     * to independently test the start or finish methods; however, testing
      * both together is meaningful. This test also provides verification of
      * proper behavior of the getState() method.
      */
@@ -72,23 +73,23 @@
         
         assertEquals(State.STOPPED, instance.getState());
     }
-
-        
+    
+    
     /*********************
      * INTEGRATION TESTS *
      *********************/
     
-    public void testSingleStage() throws Exception {        
+    public void testSingleStage() throws Exception {
         log.debug("testSingleStage -------------------------------------------");
         StageDriverTestUtils.testSingleStage(this, new ThreadPoolStageDriverFactory());
     }
     
-    public void testMultiStage() throws Exception {        
+    public void testMultiStage() throws Exception {
         log.debug("testMultiStage --------------------------------------------");
         StageDriverTestUtils.testMultiStage(this, new ThreadPoolStageDriverFactory());
     }
     
-    public void testMultiFaultingStage() throws Exception {       
+    public void testMultiFaultingStage() throws Exception {
         log.debug("testMultiFaultingStage ------------------------------------");
         ThreadPoolStageDriverFactory factory = new ThreadPoolStageDriverFactory();
         factory.setFaultTolerance(FaultTolerance.CHECKED);



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


Mime
View raw message