|
||||||||||
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.chain.generic.DispatchLookupCommandTestCase
public class DispatchLookupCommandTestCase
Test case for the DispatchLookupCommand
class.
Field Summary | |
---|---|
protected Catalog |
catalog
The instance of Catalog to use when looking up commands |
protected DispatchLookupCommand |
command
The DispatchLookupCommand instance under test. |
protected Context |
context
The Context instance on which to execute the chain. |
Constructor Summary | |
---|---|
DispatchLookupCommandTestCase(String name)
Construct a new instance of this test case. |
Method Summary | |
---|---|
protected void |
checkExecuteLog(String expected)
|
void |
setUp()
Set up instance variables required by this test case. |
static junit.framework.Test |
suite()
Return the tests included in this test suite. |
void |
tearDown()
Tear down instance variables required by this test case. |
void |
testExecuteDispatchLookup_1a()
|
void |
testExecuteDispatchLookup_2()
|
void |
testExecuteDispatchLookup_3()
|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected Catalog catalog
Catalog
to use when looking up commands
protected DispatchLookupCommand command
DispatchLookupCommand
instance under test.
protected Context context
Context
instance on which to execute the chain.
Constructor Detail |
---|
public DispatchLookupCommandTestCase(String name)
name
- Name of the test caseMethod Detail |
---|
public void setUp()
setUp
in class junit.framework.TestCase
public static junit.framework.Test suite()
public void tearDown()
tearDown
in class junit.framework.TestCase
public void testExecuteDispatchLookup_1a()
public void testExecuteDispatchLookup_2()
public void testExecuteDispatchLookup_3()
protected void checkExecuteLog(String expected)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |