|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.apache.commons.pipeline.AbstractLoggingTestCase
org.apache.commons.pipeline.stage.AbstractStageTest
org.apache.commons.pipeline.stage.ExtendedBaseStageTest
public class ExtendedBaseStageTest
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 |
|---|
public ExtendedBaseStageTest(String testName)
| Method Detail |
|---|
protected void setUp()
throws Exception
setUp in class AbstractStageTestException
public void testPreprocess()
throws Exception
Exception
public void testPostprocess()
throws Exception
Exception
public void testEmits()
throws Exception
Exception
public void testNonEmit()
throws Exception
Exception
public void testProcessingTimeStats()
throws Exception
Exception
public void testBranchStatistics()
throws Exception
Exceptionpublic void testStatusInterval()
public void testStatusBatchSize()
public void testCollectBranchStats()
public void testCurrentStatWindowSize()
public void testJmxEnabled()
public void testStageName()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||