Eclipse.org Eclipse.org connectiontest Device Kit

XML Element 

<connectiontest> element

Device Kit Attributes Elements XML Reference
Specifies an connection test.

Release: 1.0.0

Examples: connectiontest examples


NameTypeDescriptionUse
Element <connectiontest> 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
servicestringSpecifies the Open Services Gateway Initiative (OSGi) service interface name.optional
bundlestringSpecifies the Open Services Gateway Initiative (OSGi) bundle name.optional
bundleidstringSpecifies the Open Services Gateway Initiative (OSGi) bundle symbolic id.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
packagebasestringSpecifies the start of the generated code''s package. That is, any code that Device Kit generates will be in a package starting with this value. A common value is ""com.company-name"".optional
executionenvironmentsstringSpecifies the Execution Environments for the bundle Manifest.optional
oldbooleanSpecifies if old code should be generated. The default value is defined in the Device Kit preference settings. optional

NameDescriptionUse
Element <connectiontest> elements
<description>Description of the connection test.0 to unbounded
<history>New Specifies the connection test history.0 to unbounded
<deprecated>Specifies that the contents of this element should be marked as deprecated.0 to 1
<provider>Specifies the provider.0 to 1
<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.0 to 1
<vendor>Specifies an implementing vendor.0 to unbounded
<incubation>If the contents of this element is true, then this is an incubation project.0 to 1
<spec>Hardware specification documentation for this connection.0 to unbounded
<send>Specifies the message(s) to send during the test.0 to unbounded
<connection>Specifies the connection to be tested.1 to 1
<testcount>Unsigned integer that specifies the number of times to execute tests.0 to 1
<testdelay>Specifies the milliseconds to sleep between each test.0 to 1
<junit>Specifies a junit test. Currently, not supported.0 to 1
<monitor>Specifies a monitor test. Currently, not supported.0 to 1
<playback>Specifies a playback test. Currently, not supported.0 to 1
<swt>Specifies a Standard Widget Toolkit (SWT) user interface connection test.0 to 1
<testcase>Specifies a junit testcase.0 to 1

Sibling NameSibling Description
Element <connectiontest> element siblings
<adapter>Specifies an adapter.
<adaptertest>Specifies an adapter test.
<agent>Specifies an agent.
<agentmodel>Specifies the agent model used by the agent.
<agenttest>Specifies an agent test.
<agentmodeltest>Specifies an agent model test.
<concrete>Specifies a concrete device.
<concretetest>Specifies a concrete test.
<connection>Specifies an connection.
<device>Specifies a device.
<devicetest>Specifies a device test.
<profile>Specifies a profile.
<profiletest>Specifies a profile test.
<testagent>Specifies a test agent.
<receivertest>Specifies a receiver transport test.
<transport>Specifies a transport.
<transporttest>Specifies a transport test.

Element NameElement Description
Element <connectiontest> 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.
¦-<connectiontest>Specifies an connection test.
¦ ¦-<description>Description of the connection test.
¦ ¦-<history>New Specifies the connection test history.
¦ ¦ ¦-<description>Description of the history.(see description)
¦ ¦ ¦-<provider>Specifies the provider history.
¦ ¦ ¦-<version>Version of the history documentation.
¦ ¦-<deprecated>Specifies that the contents of this element should be marked as deprecated.
¦ ¦-<provider>Specifies the provider.(see 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.(see 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 connection.
¦ ¦ ¦-<description>Description of the specification.(see description)
¦ ¦ ¦-<history>New Specifies the specification history.(see history)
¦ ¦ ¦-<deprecated>Specifies that the contents of this element should be marked as deprecated.(see deprecated)
¦ ¦ ¦-<speccomment>Comment about the protocol specification documentation.
¦ ¦ ¦-<specdate>Date of the protocol specification documentation.
¦ ¦ ¦-<spectitle>Title of the protoocol specification documentation.
¦ ¦ ¦-<specurl>Url of the protocol specification documentation.
¦ ¦ ¦-<specvendor>Vendor of the protocol specification documentation.
¦ ¦ ¦-<specversion>Version of the protocol specification documentation.
¦ ¦-<send>Specifies the message(s) to send during the test.
¦ ¦ ¦-<description>Specifies the send description.(see description)
¦ ¦ ¦-<history>New Specifies the send history.(see history)
¦ ¦ ¦-<deprecated>Specifies that the contents of this element should be marked as deprecated.(see deprecated)
¦ ¦ ¦-<specreference>Specification reference for this send.
¦ ¦ ¦ ¦-<description>Description of the specification reference.(see description)
¦ ¦ ¦ ¦-<deprecated>Specifies that the contents of this element should be marked as deprecated.(see deprecated)
¦ ¦ ¦ ¦-<spec>The protocol specification documentation.(see spec)
¦ ¦ ¦ ¦-<specsection>The reference to section in the protocol specification documentation.
¦ ¦ ¦-<message>Specifies the message to send.
¦ ¦ ¦ ¦-<description>Description of the message.(see description)
¦ ¦ ¦ ¦-<history>New Specifies the message history.(see history)
¦ ¦ ¦ ¦-<deprecated>Specifies that the contents of this element should be marked as deprecated.(see deprecated)
¦ ¦ ¦ ¦-<specreference>Specification reference for this message.(see specreference)
¦ ¦ ¦ ¦-<ascii>Specifies a set of ASCII characters (8 bits) within the message.
¦ ¦ ¦ ¦-<bytes>Specifies a set of bytes. Each byte is 8 bits within the message.
¦ ¦ ¦ ¦-<nibbles>Specifies a set of nibbles. Each nibble is 4 bits within the message.
¦ ¦ ¦ ¦-<string>New Specifies a set of string characters within the message.
¦ ¦ ¦ ¦ ¦-<encoding>New Specifies string encoding.
¦ ¦ ¦ ¦-<utf8>Specifies a set of UTF-8 characters within the message.
¦ ¦ ¦ ¦-<tokens>Specifies the message tokens.
¦ ¦ ¦ ¦-<parameters>Specifies a group of parameters.
¦ ¦ ¦ ¦ ¦-<description>Specifies the parameters description.(see description)
¦ ¦ ¦ ¦ ¦-<history>New Specifies the parameters history.(see history)
¦ ¦ ¦ ¦ ¦-<units>Specifies the parameters units.
¦ ¦ ¦ ¦ ¦ ¦-<description>Description of the units.(see description)
¦ ¦ ¦ ¦ ¦ ¦-<history>New Specifies the units history.(see history)
¦ ¦ ¦ ¦ ¦ ¦-<deprecated>Specifies that the contents of this element should be marked as deprecated.(see deprecated)
¦ ¦ ¦ ¦ ¦ ¦-<specreference>Specification reference for this units.(see specreference)
¦ ¦ ¦ ¦ ¦-<deprecated>Specifies that the contents of this element should be marked as deprecated.(see deprecated)
¦ ¦ ¦ ¦ ¦-<specreference>Specification reference for this group of parameters.(see specreference)
¦ ¦ ¦ ¦ ¦-<key>Specifies the unique parameters key.
¦ ¦ ¦ ¦ ¦-<parameters>Specifies the parameters.(see parameters)
¦ ¦ ¦ ¦-<filter>Specifies the message filter.
¦ ¦ ¦ ¦ ¦-<description>Description of the filter.(see description)
¦ ¦ ¦ ¦ ¦-<history>New Specifies the filter history.(see history)
¦ ¦ ¦ ¦ ¦-<deprecated>Specifies that the contents of this element should be marked as deprecated.(see deprecated)
¦ ¦ ¦ ¦ ¦-<specreference>Specification reference for this filter.(see specreference)
¦ ¦ ¦ ¦ ¦-<bytes>Specifies the message filter (Bit off - ignore, Bit on - compare).(see bytes)
¦ ¦ ¦ ¦-<sentmessage>Specifies the message that was sent that caused this message.
¦ ¦ ¦-<sleep>Specifies a sleep time.
¦ ¦-<connection>Specifies the connection to be tested.
¦ ¦ ¦-<description>Description of the connection.(see description)
¦ ¦ ¦-<history>New Specifies the connection history.(see history)
¦ ¦ ¦-<deprecated>Specifies that the contents of this element should be marked as deprecated.(see deprecated)
¦ ¦ ¦-<provider>Specifies the provider.(see 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.(see version)
¦ ¦ ¦-<vendor>Specifies an implementing vendor.(see vendor)
¦ ¦ ¦-<incubation>If the contents of this element is true, then this is an incubation project.(see incubation)
¦ ¦ ¦-<spec>Hardware specification documentation for this device.(see spec)
¦ ¦ ¦-<specreference>Specification reference for this connection.(see specreference)
¦ ¦ ¦-<multiplex>Specifies that this is a multiplex connection.
¦ ¦ ¦ ¦-<description>Description of the multiplex object.(see description)
¦ ¦ ¦ ¦-<history>New Specifies the multiplex history.(see history)
¦ ¦ ¦ ¦-<deprecated>Specifies that the contents of this element should be marked as deprecated.(see deprecated)
¦ ¦ ¦ ¦-<specreference>Specification reference for this multiplex.(see specreference)
¦ ¦ ¦-<customparameter>Specifies a custom parameter for this connection.
¦ ¦ ¦ ¦-<description>Description of the custom parameter.(see description)
¦ ¦ ¦ ¦-<history>New Specifies the custom parameter history.(see history)
¦ ¦ ¦ ¦-<displayname>Description of the custom parameter.
¦ ¦ ¦ ¦-<units>Specifies the custom parameter units.(see units)
¦ ¦ ¦ ¦-<deprecated>Specifies that the contents of this element should be marked as deprecated.(see deprecated)
¦ ¦ ¦ ¦-<specreference>Specification reference for this custom parameter.(see specreference)
¦ ¦ ¦ ¦-<enum>Specifies a enumeration option configuration.
¦ ¦ ¦ ¦ ¦-<description>Description of the enumeration.(see description)
¦ ¦ ¦ ¦ ¦-<history>New Specifies the enumeration history.(see history)
¦ ¦ ¦ ¦ ¦-<units>Specifies the enum units.(see units)
¦ ¦ ¦ ¦ ¦-<deprecated>Specifies that the contents of this element should be marked as deprecated.(see deprecated)
¦ ¦ ¦ ¦ ¦-<specreference>Specification reference for this enumeration.(see specreference)
¦ ¦ ¦ ¦ ¦-<key>Specifies a enumeration key.(see key)
¦ ¦ ¦ ¦ ¦-<label>Specifies a enumeration label.
¦ ¦ ¦ ¦ ¦-<value>Specifies the enumeration value.
¦ ¦ ¦ ¦ ¦ ¦-<description>Description of the value.(see description)
¦ ¦ ¦ ¦ ¦ ¦-<history>New Specifies the value history.(see history)
¦ ¦ ¦ ¦ ¦ ¦-<deprecated>Specifies that the contents of this element should be marked as deprecated.(see deprecated)
¦ ¦ ¦ ¦ ¦ ¦-<specreference>Specification reference for this value.(see specreference)
¦ ¦ ¦ ¦ ¦ ¦-<ascii>New Specifies a set of ASCII characters (8 bits) value.(see ascii)
¦ ¦ ¦ ¦ ¦ ¦-<bigdecimal>New Specifies an BigDecimal value.
¦ ¦ ¦ ¦ ¦ ¦-<biginteger>New Specifies an BigInteger value.
¦ ¦ ¦ ¦ ¦ ¦-<boolean>Specifies a Boolean value.
¦ ¦ ¦ ¦ ¦ ¦-<byte>Specifies a Byte value (8 bits).
¦ ¦ ¦ ¦ ¦ ¦-<bytes>Specifies bytes.(see bytes)
¦ ¦ ¦ ¦ ¦ ¦-<character>Specifies a character value (16 bits).
¦ ¦ ¦ ¦ ¦ ¦-<double>Specifies a Double value.
¦ ¦ ¦ ¦ ¦ ¦-<float>Specifies a Float value.
¦ ¦ ¦ ¦ ¦ ¦-<int>Specifies an Integer value (32 bits).
¦ ¦ ¦ ¦ ¦ ¦-<list>Specifies list data.
¦ ¦ ¦ ¦ ¦ ¦-<long>Specifies a Long value (64 bits).
¦ ¦ ¦ ¦ ¦ ¦-<map>Specifies a Map value.
¦ ¦ ¦ ¦ ¦ ¦-<short>Specifies a Short value (16 bits).
¦ ¦ ¦ ¦ ¦ ¦-<string>Specifies a String value.(see string)
¦ ¦ ¦ ¦-<minimum>Specifies the minimum value.
¦ ¦ ¦ ¦-<maximum>Specifies the maximum value.
¦ ¦ ¦-<bundle>Specifies an Open Services Gateway Initiative (OSGi) bundle should be created.
¦ ¦ ¦ ¦-<description>Description of the bundle.(see description)
¦ ¦ ¦ ¦-<deprecated>Specifies that the contents of this element should be marked as deprecated.(see deprecated)
¦ ¦ ¦-<managedbundle>Specifies an Open Services Gateway Initiative (OSGi) managed bundle should be created.
¦ ¦ ¦ ¦-<description>Description of the managed bundle.(see description)
¦ ¦ ¦ ¦-<deprecated>Specifies that the contents of this element should be marked as deprecated.(see deprecated)
¦ ¦ ¦-<managedfactorybundle>Specifies an Open Services Gateway Initiative (OSGi) managed factory bundle should be created.
¦ ¦ ¦ ¦-<description>Description of the factory bundle.(see description)
¦ ¦ ¦ ¦-<deprecated>Specifies that the contents of this element should be marked as deprecated.(see deprecated)
¦ ¦-<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.
¦ ¦ ¦-<description>Description of the monitor test.(see description)
¦ ¦ ¦-<history>New Specifies the monitor test history.(see history)
¦ ¦ ¦-<deprecated>Specifies that the contents of this element should be marked as deprecated.(see deprecated)
¦ ¦-<playback>Specifies a playback test. Currently, not supported.
¦ ¦ ¦-<description>Description of the playback test.(see description)
¦ ¦ ¦-<history>New Specifies the playback test history.(see history)
¦ ¦ ¦-<deprecated>Specifies that the contents of this element should be marked as deprecated.(see deprecated)
¦ ¦-<swt>Specifies a Standard Widget Toolkit (SWT) user interface connection test.
¦ ¦ ¦-<description>Description of the Standard Widget Toolkit (SWT) test.(see description)
¦ ¦ ¦-<history>New Specifies the SWT history.(see history)
¦ ¦ ¦-<testmethod>Description of the Standard Widget Toolkit (SWT) test.
¦ ¦ ¦ ¦-<description>Description of the test method.(see description)
¦ ¦-<testcase>Specifies a junit testcase.
¦ ¦ ¦-<description>Description of the test case.(see description)
¦ ¦ ¦-<testmethod>Description of the test case.(see testmethod)
¦ ¦ ¦-<history>New Specifies the test case history.(see history)

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