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 [EMAIL PROTECTED] 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 [EMAIL PROTECTED]
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 [EMAIL PROTECTED] 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]