Eclipse.org Eclipse.org testcase Device Kit

XML Element 

<testcase> element

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

Release: 1.0.0

Examples: testcase examples


NameTypeDescriptionUse
Element <testcase> 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
implementationNameSpecifies the implementation class name.optional
superclassNameSpecifies the implementation super class name.optional
idrefIDREFSpecifies a reference to the element with the matching id attribute. The matching id attribute must be specified before the idref attribute can be used.optional

NameDescriptionUse
Element <testcase> elements
<description>Description of the test case.0 to unbounded
<testmethod>Description of the test case.0 to unbounded
<history>New Specifies the test case history.0 to unbounded

Sibling NameSibling Description
Element <testcase> element siblings
<description>Description of the adapter test.
<history>New Specifies the adapter test history.
<deprecated>Specifies that the contents of this element should be marked as deprecated.
<provider>Specifies the provider.
<version>Specifies the current version level. The format of the version number should be n.n.n where n is a number. For example, 1.0.0 is a valid version.
<vendor>Specifies an implementing vendor.
<incubation>If the contents of this element is true, then this is an incubation project.
<spec>Hardware specification documentation for this adapter.
<multiplex>New Specifies that this is a multiplex adapter test.
<customparameter>New Specifies a custom parameter for this adapter test.
<send>Specifies the message(s) to send during the test.
<adapter>Specifies the adapter to be tested.
<testcount>Unsigned integer that specifies the number of times to execute tests.
<testdelay>Specifies the milliseconds to sleep between each test.
<junit>Specifies a junit test. Currently, not supported.
<monitor>Specifies a monitor test. Currently, not supported.
<playback>Specifies a playback test. Currently, not supported.
<swt>Specifies a Standard Widget Toolkit (SWT) user interface adapter test.
<bundle>Specifies an Open Services Gateway Initiative (OSGi) bundle should be created.
<managedbundle>Specifies an Open Services Gateway Initiative (OSGi) managed bundle should be created.
<managedfactorybundle>Specifies an Open Services Gateway Initiative (OSGi) managed factory bundle should be created.

Element NameElement Description
Element <testcase> 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.
¦ ¦-<testcase>Specifies a junit testcase.
¦ ¦ ¦-<description>Description of the test case.
¦ ¦ ¦-<testmethod>Description of the test case.
¦ ¦ ¦ ¦-<description>Description of the test method.(see description)
¦ ¦ ¦-<history>New Specifies the test case history.
¦ ¦ ¦ ¦-<description>Description of the history.(see description)
¦ ¦ ¦ ¦-<provider>Specifies the provider history.
¦ ¦ ¦ ¦-<version>Version of the history documentation.
¦-<agenttest>Specifies an agent test.
¦ ¦-<agentmodeltest>Specifies the agent model test.
¦ ¦ ¦-<testcase>Specifies a junit testcase.(see testcase)
¦ ¦-<testcase>Specifies a junit testcase.(see testcase)
¦-<agentmodeltest>Specifies an agent model test.(see agentmodeltest)
¦-<concretetest>Specifies a concrete test.
¦ ¦-<testcase>Specifies a junit testcase.(see testcase)
¦-<connectiontest>Specifies an connection test.
¦ ¦-<testcase>Specifies a junit testcase.(see testcase)
¦-<devicetest>Specifies a device test.
¦ ¦-<testcase>Specifies a junit testcase.(see testcase)
¦-<profiletest>Specifies a profile test.
¦ ¦-<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.
¦ ¦-<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