|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object junit.framework.Assert junit.framework.TestCase org.jboss.jsfunit.analysis.LifecycleTestCase
public class LifecycleTestCase
A TestCase for a single JSF lifecycle node.
Field Summary | |
---|---|
protected String |
configFilePath
path to the config file |
protected Node |
lifecycleNode
DOM node of the lifecycle to test |
Constructor Summary | |
---|---|
LifecycleTestCase(String name,
String configFilePath,
Node lifecycleNode)
Create a new LifecycleTestCase. |
Method Summary | |
---|---|
void |
runTest()
Call the individual test methods. |
void |
testEmptyPhaseListener()
Assert that all phase-listener children configure a class name |
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, run, runBare, setName, setUp, tearDown, 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 String configFilePath
protected Node lifecycleNode
Constructor Detail |
---|
public LifecycleTestCase(String name, String configFilePath, Node lifecycleNode)
name
- The name of the test-case in the JUnit test-hierarchyconfigFilePath
- path to a single config filelifecycleNode
- the DOM node containing the lifecycleMethod Detail |
---|
public void runTest()
runTest
in class junit.framework.TestCase
public void testEmptyPhaseListener()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |