org.apache.commons.pipeline.driver
Class SynchronousStageDriverTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.commons.pipeline.AbstractLoggingTestCase
              extended by org.apache.commons.pipeline.driver.AbstractStageDriverTest
                  extended by org.apache.commons.pipeline.driver.SynchronousStageDriverTest
All Implemented Interfaces:
junit.framework.Test

public class SynchronousStageDriverTest
extends AbstractStageDriverTest


Field Summary
 
Fields inherited from class org.apache.commons.pipeline.driver.AbstractStageDriverTest
context, feeder, stage
 
Constructor Summary
SynchronousStageDriverTest(String testName)
           
 
Method Summary
static junit.framework.Test suite()
           
 void testGetFeeder()
          Test of getFeeder method, of class org.apache.commons.pipeline.driver.SynchronousStageDriver.
 void testMultiStage()
           
 void testSingleStage()
          INTEGRATION TESTS *
 void testStartFinish()
          Due to the design of the SynchronousStageDriver, it is meaningless to independently test the start or finish methods; however, testing both together is meaningful.
 
Methods inherited from class org.apache.commons.pipeline.driver.AbstractStageDriverTest
setUp, tearDown
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SynchronousStageDriverTest

public SynchronousStageDriverTest(String testName)
Method Detail

suite

public static junit.framework.Test suite()

testGetFeeder

public void testGetFeeder()
Test of getFeeder method, of class org.apache.commons.pipeline.driver.SynchronousStageDriver.


testStartFinish

public void testStartFinish()
                     throws Exception
Due to the design of the SynchronousStageDriver, 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.

Throws:
Exception

testSingleStage

public void testSingleStage()
                     throws Exception
INTEGRATION TESTS *

Throws:
Exception

testMultiStage

public void testMultiStage()
                    throws Exception
Throws:
Exception


Copyright © 2004-2009 The Apache Software Foundation. All Rights Reserved.