Package org.apache.commons.chain.impl
Class CatalogBaseTestCase
java.lang.Object
org.apache.commons.chain.impl.CatalogBaseTestCase
Test case for the
CatalogBase class.- Version:
- $Revision$ $Date$
- Author:
- Craig R. McClanahan
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidAdd an interesting set of commands to the catalogprotected voidcheckCommandCount(int expected) Verify the number of configured commandsvoidinit()Set up instance variables required by this test case.voidtearDown()Tear down instance variables required by this test case.voidTest adding commandsvoidTest getting commandsvoidTest pristine instance
-
Field Details
-
catalog
TheCataloginstance under test.
-
-
Constructor Details
-
CatalogBaseTestCase
public CatalogBaseTestCase()The Default-Constructor for this class.
-
-
Method Details
-
init
Set up instance variables required by this test case. -
tearDown
Tear down instance variables required by this test case. -
testAddCommand
Test adding commands -
testGetCommand
Test getting commands -
testPristine
Test pristine instance -
addCommands
Add an interesting set of commands to the catalog -
checkCommandCount
Verify the number of configured commands- Parameters:
expected- the expected value
-