|
||||||||||
| 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.LookupCommandTestCase
public class LookupCommandTestCase
Test case for the LookupCommand class.
| Field Summary | |
|---|---|
protected Catalog |
catalog
The instance of Catalog to use when looking up commands |
protected LookupCommand |
command
The LookupCommand instance under test. |
protected Context |
context
The Context instance on which to execute the chain. |
| Constructor Summary | |
|---|---|
LookupCommandTestCase(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 |
testExecuteMethodLookup_1a()
|
void |
testExecuteMethodLookup_1b()
|
void |
testExecuteMethodLookup_2a()
|
void |
testExecuteMethodLookup_2b()
|
void |
testExecuteMethodLookup_3a()
|
| 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 LookupCommand command
LookupCommand instance under test.
protected Context context
Context instance on which to execute the chain.
| Constructor Detail |
|---|
public LookupCommandTestCase(String name)
name - Name of the test case| Method Detail |
|---|
public void setUp()
setUp in class junit.framework.TestCasepublic static junit.framework.Test suite()
public void tearDown()
tearDown in class junit.framework.TestCasepublic void testExecuteMethodLookup_1a()
public void testExecuteMethodLookup_1b()
public void testExecuteMethodLookup_2a()
public void testExecuteMethodLookup_2b()
public void testExecuteMethodLookup_3a()
protected void checkExecuteLog(String expected)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||