org.jtestcase.core.model
Class TreeModel
java.lang.Object
org.jtestcase.core.model.TreeModel
public class TreeModel
- extends java.lang.Object
- Author:
- fausto
Constructor Summary |
TreeModel(org.jdom.Document document)
Standart contructor |
TreeModel(java.lang.String fileName)
Standard constructor. |
Method Summary |
org.jdom.Document |
getDocument(java.lang.String fileName)
|
IUINode |
getTree()
Returns all test cases for one method element from the XML. |
static void |
main(java.lang.String[] args)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TreeModel
public TreeModel(java.lang.String fileName)
throws java.io.FileNotFoundException,
XQueryException
- Standard constructor.
- Parameters:
fileName
- name of the JTestCaseWizard XML file public
- Throws:
XQueryException
java.io.FileNotFoundException
TreeModel
public TreeModel(org.jdom.Document document)
- Standart contructor
- Parameters:
document
-
getTree
public IUINode getTree()
throws DigesterException
- Returns all test cases for one method element from the XML.
- Returns:
- list of all JTestCaseIdentifiers for this method element
- Throws:
DigesterException
- in case of parsing errors
main
public static void main(java.lang.String[] args)
throws java.io.FileNotFoundException,
XQueryException
- Throws:
java.io.FileNotFoundException
XQueryException
getDocument
public org.jdom.Document getDocument(java.lang.String fileName)
throws java.io.FileNotFoundException,
XQueryException
- Throws:
java.io.FileNotFoundException
XQueryException