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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
Add an interesting set of commands to the catalogprotected void
checkCommandCount
(int expected) Verify the number of configured commandsvoid
init()
Set up instance variables required by this test case.void
tearDown()
Tear down instance variables required by this test case.void
Test adding commandsvoid
Test getting commandsvoid
Test pristine instance
-
Field Details
-
catalog
TheCatalog
instance 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
-