|
||||||||||
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.DefaultRenderkitTestCase
public class DefaultRenderkitTestCase
A TestCase for a single JSF default renderkit configuration.
Field Summary | |
---|---|
protected List<String> |
configFilePathList
List of all passed config Files |
protected String |
defaultRenderkitId
Id of the defaultRenderkit |
Constructor Summary | |
---|---|
DefaultRenderkitTestCase(String defaultRenderkitId,
List<String> configFilePathList)
Create a new ActionListenerTestCase. |
|
DefaultRenderkitTestCase(String defaultRenderkitId,
List<String> configFilePathList,
ConfigUtils configUtils)
Create a new ActionListenerTestCase. |
Method Summary | |
---|---|
ConfigUtils |
getConfigUtils()
Get the configUtils. |
StreamProvider |
getStreamProvider()
Accessor for the streamProvider attribute |
void |
runTest()
Call the individual test methods. |
void |
setConfigUtils(ConfigUtils configUtils)
Set the configUtils. |
void |
setStreamProvider(StreamProvider streamProvider)
Accessor for the streamProvider attribute. |
void |
testRenderkitDefined()
Assert that the configured default renderkit is defined |
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 defaultRenderkitId
protected List<String> configFilePathList
Constructor Detail |
---|
public DefaultRenderkitTestCase(String defaultRenderkitId, List<String> configFilePathList)
name
- The name of the test-case in the JUnit test-hierarchyactionListenerName
- the name of the action listener to testpublic DefaultRenderkitTestCase(String defaultRenderkitId, List<String> configFilePathList, ConfigUtils configUtils)
name
- The name of the test-case in the JUnit test-hierarchyactionListenerName
- the name of the action listener to testconfigUtils
- an instance of the configUtilsMethod Detail |
---|
public void runTest()
runTest
in class junit.framework.TestCase
public void testRenderkitDefined()
public StreamProvider getStreamProvider()
public void setStreamProvider(StreamProvider streamProvider)
Accessor for the streamProvider attribute. Usually used to set a special StreamProvider. By default a DefaultStreamProvider is created.
streamProvider
- the new StreamProviderpublic ConfigUtils getConfigUtils()
public void setConfigUtils(ConfigUtils configUtils)
configUtils
- The configUtils to set.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |