|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.TestSuite
org.jboss.jsfunit.analysis.ConfigFilesTestSuite
public class ConfigFilesTestSuite
A TestSuite for the config files of a JSF-application. To test the faces-config files create a list of config-file path, instantiate this TestSuite and ask for the getSuite().
Constructor Summary | |
---|---|
ConfigFilesTestSuite(String name)
Create a new ConfigFilesTestSuite. |
Method Summary | |
---|---|
StreamProvider |
getStreamProvider()
Accessor for the streamProvider attribute |
junit.framework.Test |
getSuite(List<String> configFilePathList)
Create the TestSuite for a list of config files. |
void |
setStreamProvider(StreamProvider streamProvider)
Accessor for the streamProvider attribute. |
Methods inherited from class junit.framework.TestSuite |
---|
addTest, addTestSuite, countTestCases, createTest, getName, getTestConstructor, run, runTest, setName, testAt, testCount, tests, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ConfigFilesTestSuite(String name)
name
- The name of the test-suite in the JUnit test-hierarchyMethod Detail |
---|
public junit.framework.Test getSuite(List<String> configFilePathList)
Create the TestSuite for a list of config files. For each config file a sub-TestSuite will be created.
The TestSuite-name is composed of the name passed to this suite (constructor) and the class-name.
configFilePathList
- a list of paths to config files
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 StreamProvider
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |