Eclipse.org Eclipse.org testmethod Device Kit

XML Element 

<testmethod> element

Device Kit Attributes Elements XML Reference
Specifies a junit testcase test.

Release: 1.1.0

Examples: testmethod examples


NameTypeDescriptionUse
Element <testmethod> attributes
idIDSpecifies an unique identifier for this element. After defining an element with the id attribute, other elements can reference this element by using the idref attribute. Since the id attribute value is used by the code generator to generate field and method names, no spaces, periods or commas should be used.optional
nameNameSpecifies a name for this element. Normally, if the name attribute is not specified, then the id attribute is used for the name of the element. Since the name attribute value is used by the code generator to generate field and method names, no spaces, periods or commas should be used.optional

NameDescriptionUse
Element <testmethod> elements
<description>Description of the test method.0 to unbounded

Sibling NameSibling Description
Element <testmethod> element siblings
<description>Description of the Standard Widget Toolkit (SWT) test.
<history>New Specifies the SWT history.

Element NameElement Description
Element <testmethod> element tree
<dkml>Specifies the root element of a Device Kit &lt;b&gt;D&lt;/b&gt;evice &lt;b&gt;K&lt;/b&gt;it &lt;b&gt;L&lt;/b&gt;anguage (dkml) document.
¦-<adaptertest>Specifies an adapter test.
¦ ¦-<swt>Specifies a Standard Widget Toolkit (SWT) user interface adapter test.
¦ ¦ ¦-<testmethod>Description of the Standard Widget Toolkit (SWT) test.
¦ ¦ ¦ ¦-<description>Description of the test method.
¦ ¦-<testcase>Specifies a junit testcase.
¦ ¦ ¦-<testmethod>Description of the test case.(see testmethod)
¦-<agenttest>Specifies an agent test.
¦ ¦-<agentmodeltest>Specifies the agent model test.
¦ ¦ ¦-<swt>Specifies a Standard Widget Toolkit (SWT) user interface agnet model test.(see swt)
¦ ¦ ¦-<testcase>Specifies a junit testcase.(see testcase)
¦ ¦-<swt>Specifies a Standard Widget Toolkit (SWT) user interface agent test.(see swt)
¦ ¦-<testcase>Specifies a junit testcase.(see testcase)
¦-<agentmodeltest>Specifies an agent model test.(see agentmodeltest)
¦-<concretetest>Specifies a concrete test.
¦ ¦-<swt>Specifies a Standard Widget Toolkit (SWT) user interface concrete test.(see swt)
¦ ¦-<testcase>Specifies a junit testcase.(see testcase)
¦-<connectiontest>Specifies an connection test.
¦ ¦-<swt>Specifies a Standard Widget Toolkit (SWT) user interface connection test.(see swt)
¦ ¦-<testcase>Specifies a junit testcase.(see testcase)
¦-<devicetest>Specifies a device test.
¦ ¦-<swt>Specifies a Standard Widget Toolkit (SWT) user interface device test.(see swt)
¦ ¦-<testcase>Specifies a junit testcase.(see testcase)
¦-<profiletest>Specifies a profile test.
¦ ¦-<swt>Specifies a Standard Widget Toolkit (SWT) user interface profile test.(see swt)
¦ ¦-<testcase>Specifies a junit testcase.(see testcase)
¦-<testagent>Specifies a test agent.
¦ ¦-<testcase>Specifies a junit testcase.(see testcase)
¦-<receivertest>Specifies a receiver transport test.
¦ ¦-<testcase>Specifies a junit testcase.(see testcase)
¦-<transporttest>Specifies a transport test.
¦ ¦-<swt>Specifies a Standard Widget Toolkit (SWT) user interface transport test.(see swt)
¦ ¦-<testcase>Specifies a junit testcase.(see testcase)

Copyright (c) 2009 IBM. See license in Legal section. 2009-01-22 Device Kit XML Reference 1.2.0