junit.extensions.xml
Interface IXMLTestCase

All Superinterfaces:
IXMLTest, junit.framework.Test
All Known Implementing Classes:
JFCXMLTestCase, XMLTestCase

public interface IXMLTestCase
extends IXMLTest

Test Case Interface for running XML Script based testing.

Author:
Kevin Wilson

Method Summary
 void callProcedure(java.lang.String name, org.w3c.dom.Element callElement)
          Call the procedure of (name) passing the attributes associated with the elements.
 java.lang.String getName()
          Get the name for the test case.
 void processChildren(org.w3c.dom.Element element)
          Process each child element.
 void setName(java.lang.String name)
          Set the name for the test case.
 
Methods inherited from interface junit.extensions.xml.IXMLTest
addProcedure, addProperty, clearProperties, getDebug, getProcedure, getProcedureCache, getProperty, getPropertyCache, getPropertyName, getPropertyNames, removeProperty, resolveProperties, setParent
 
Methods inherited from interface junit.framework.Test
countTestCases, run
 

Method Detail

setName

public void setName(java.lang.String name)
Set the name for the test case.

Parameters:
name - Name of the test case.

getName

public java.lang.String getName()
Get the name for the test case.

Returns:
name of the test case.

callProcedure

public void callProcedure(java.lang.String name,
                          org.w3c.dom.Element callElement)
                   throws XMLException
Call the procedure of (name) passing the attributes associated with the elements.

Parameters:
name - name of the procedure.
callElement - Source element of the call.
Throws:
XMLException - is thrown if the element cannot be understood.

processChildren

public void processChildren(org.w3c.dom.Element element)
                     throws XMLException
Process each child element.

Parameters:
element - Element which has children.
Throws:
XMLException - is thrown if the element cannot be understood.


Licensed under: GNU Lesser General Public License, Ver 2.1, February 1999