|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectTestSuite
org.jmx4odp.junitDiagnosticWorkers.SuiteAssembler
public class SuiteAssembler
This Object will use an XML file to generate a collection of JUnit
TestSuite objects. It can access the the XML file by URL, InputStream,
or file name. If the null suite() is used, it will look in the launch
directiory for a file named TestSuite.xml.
The legal XML has the following rules:
| Constructor Summary | |
|---|---|
SuiteAssembler()
|
|
| Method Summary | |
|---|---|
static void |
main(java.lang.String[] args)
|
static Test |
suite()
Create a TestSuite from the TestSuite.xml file in the local directory |
static Test |
suite(org.w3c.dom.Document doc)
All the other suite and suiteByXml use this. |
static Test |
suite(java.lang.String fileName)
Create a TestSuite from the file specified. |
static Test |
suiteByUrl(java.lang.String xmlUrl)
Create a TestSuite from the XML file located via the URL. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SuiteAssembler()
| Method Detail |
|---|
public static void main(java.lang.String[] args)
public static Test suite()
public static Test suite(java.lang.String fileName)
public static Test suiteByUrl(java.lang.String xmlUrl)
public static Test suite(org.w3c.dom.Document doc)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||