|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object junit.extensions.xml.elements.AbstractTagHandler junit.extensions.xml.elements.TestTagHandler
This class will handle the processing of <test> nodes.
Field Summary | |
protected junit.framework.Test |
m_testCase
Test Case. |
Fields inherited from class junit.extensions.xml.elements.AbstractTagHandler |
|
Fields inherited from interface junit.extensions.xml.XMLConstants |
ACTION, ACTUALOBJ, ACTUALREFID, ADD, ASSERTENABLED, ASSERTEQUALS, ASSERTNOTEQUALS, ASSERTNOTNULL, ASSERTNOTSAME, ASSERTNULL, ASSERTSAME, CALL, CASE, CHOOSE, CLASSNAME, COLUMN, CONFIRM, DEBUG, DEFAULT, DELIMITER, DIALOG, DUMP, ECHO, ENABLED, ENCODING, EVALUATE, EXPECTEDOBJ, EXPECTEDREFID, FAIL, FILE, FOCUS, FOREACH, ID, INDEX, JFCFILELOC, LESSTHAN, LISTITEM, LOG, MARK, MESSAGE, METHOD, MODE, NAME, OTHERWISE, PATHREFID, PROCEDURE, PROPERTY, RECURSIVE, REFID, RELATIVE, REMOVE, ROW, SAVE, STDERR, STDOUT, STOPWATCH, SUITE, SWITCH, TABLECELL, TAGHANDLERS, TAGNAME, TEST, TYPE, USERE, VALUE, WHEN, WHILE |
Constructor Summary | |
TestTagHandler(org.w3c.dom.Element element,
IXMLTestSuite testSuite)
Constructor for TestTagHandler. |
Method Summary | |
private void |
addTest()
Add a test to the parent test suite. |
protected junit.framework.Test |
createTest()
This method is intended to be overridden when extending the class for other test types. |
protected java.lang.String |
getName()
Returns the value of the NAME attribute for this element. |
void |
processElement()
Process the children of the test case. |
void |
validateElement()
Validate that the tag name is test. |
Methods inherited from class junit.extensions.xml.elements.AbstractTagHandler |
checkAtLeastOneRequiredAttribute, checkAtLeastOneRequiredAttribute, checkElementTagName, checkOneRequiredAttribute, checkOneRequiredAttribute, checkRequiredAttribute, checkRequiredAttribute, getBoolean, getBoolean, getBoolean, getBoolean, getElement, getInt, getInt, getLong, getLong, getPoint, getPoint, getString, getString, getString, getString, getTagName, getTest, getTestCase, getXMLTestCase, getXMLTestSuite, resolveVariables |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected junit.framework.Test m_testCase
Constructor Detail |
public TestTagHandler(org.w3c.dom.Element element, IXMLTestSuite testSuite)
element
- The element to be processedtestSuite
- The XMLTestSuite that uses this elementMethod Detail |
public void processElement() throws XMLException
processElement
in class AbstractTagHandler
XMLException
- may be thrown.public void validateElement() throws XMLException
validateElement
in class AbstractTagHandler
XMLException
- if the tag name is not test.protected java.lang.String getName()
protected junit.framework.Test createTest()
private void addTest()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |