org.apache.commons.pipeline.stage
Class ExtendedBaseStageTest

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.stage.AbstractStageTest
                  extended by org.apache.commons.pipeline.stage.ExtendedBaseStageTest
All Implemented Interfaces:
junit.framework.Test

public class ExtendedBaseStageTest
extends AbstractStageTest

Test cases for the extended base stage. Since it is abstract these tests have to use a subclass. In order to prevent dependency problems this subclass is defined as a private class.


Field Summary
 
Fields inherited from class org.apache.commons.pipeline.stage.AbstractStageTest
testContext, testFeeder
 
Constructor Summary
ExtendedBaseStageTest(String testName)
           
 
Method Summary
protected  void setUp()
           
 void testBranchStatistics()
           
 void testCollectBranchStats()
           
 void testCurrentStatWindowSize()
           
 void testEmits()
          Verify the emit statistics are correctly reported.
 void testJmxEnabled()
           
 void testNonEmit()
          Verify the statistics are correctly reported when nothing is emitted
 void testPostprocess()
           
 void testPreprocess()
           
 void testProcessingTimeStats()
           
 void testStageName()
           
 void testStatusBatchSize()
           
 void testStatusInterval()
           
 
Methods inherited from class org.apache.commons.pipeline.stage.AbstractStageTest
init, 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

ExtendedBaseStageTest

public ExtendedBaseStageTest(String testName)
Method Detail

setUp

protected void setUp()
              throws Exception
Overrides:
setUp in class AbstractStageTest
Throws:
Exception

testPreprocess

public void testPreprocess()
                    throws Exception
Throws:
Exception

testPostprocess

public void testPostprocess()
                     throws Exception
Throws:
Exception

testEmits

public void testEmits()
               throws Exception
Verify the emit statistics are correctly reported.

Throws:
Exception

testNonEmit

public void testNonEmit()
                 throws Exception
Verify the statistics are correctly reported when nothing is emitted

Throws:
Exception

testProcessingTimeStats

public void testProcessingTimeStats()
                             throws Exception
Throws:
Exception

testBranchStatistics

public void testBranchStatistics()
                          throws Exception
Throws:
Exception

testStatusInterval

public void testStatusInterval()

testStatusBatchSize

public void testStatusBatchSize()

testCollectBranchStats

public void testCollectBranchStats()

testCurrentStatWindowSize

public void testCurrentStatWindowSize()

testJmxEnabled

public void testJmxEnabled()

testStageName

public void testStageName()


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