Sample TestingEnvironment XML file
<TypeInformation PackageName="NDemo" AddinName="TEAMapsSample"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="..\\..\\schemas\\TestingEnvironment.xsd">
<ClassInfo Name="TEAMapDemoApp">
<Description>The map display application is the parent object.
</Description>
<IconInfo IconFile=""/>
<TypeInfo>
</TypeInfo>
<Properties>
<Property Name="name" ForDescription="true"
ForVerification="true"
ForDefaultVerification="true">
<Type VariantType="String"/>
</Property>
<Property Name="appInstanceName" ForDescription="true">
<Type VariantType="String"/>
</Property>
</Properties>
</ClassInfo>
<ClassInfo Name="TEAMapDemo" DefaultOperationName="ShowMap">
<Description>The displayed map image.</Description>
<IconInfo IconFile=""/>
<TypeInfo>
<Operation Name="ShowMap" PropertyType="Method"
ExposureLevel="CommonUsed" >
<Description>Displays the map of the area at the
current longitude and latitude.
</Description>
<Documentation><![CDATA[Display the map of the area at longitude %a1 and latitude %a2.]]>
</Documentation>
<Argument Name="Longitude" IsMandatory="true"
Direction="In">
<Type VariantType="Decimal"/>
<Description>The longitude where minutes
and seconds are converted to
decimal equivalents.
</Description>
</Argument>
<Argument Name="Latitude" IsMandatory="true"
Direction="In">
<Type VariantType="Decimal"/>
<Description>The latitude where minutes
and seconds are converted to decimal
equivalents.
</Description>
</Argument>
</Operation>
</TypeInfo>
<Properties>
<Property Name="name" ForVerification="true"
ForDefaultVerification="true" ForDescription="true">
<Type VariantType="String"/>
</Property>
<Property Name="longitude" ForVerification="true"
ForDefaultVerification="true"
ForDescription="false">
<Type VariantType="Decimal"/>
<Description>The decimal representation of
degrees, minutes, and seconds of the
longitude.
</Description>
</Property>
<Property Name="latitude" ForVerification="true"
ForDefaultVerification="true"
ForDescription="false">
<Type VariantType="Decimal"/>
<Description>The decimal representation of
degrees, minutes, and seconds of the
latitude.
</Description>
</Property>
<Property Name="zoom" ForVerification="true"
ForDefaultVerification="true"
ForDescription="false">
<Type VariantType="Integer"/>
<Description>The map magnification.
</Description>
</Property>
</Properties>
</ClassInfo>
<ClassInfo Name="TEAMapDemoCoordinate" DefaultOperationName="SetCoordinate">
<Description>Sets one of the map coordinates, either longitude
or latitude.
</Description>
<IconInfo IconFile=""/>
<TypeInfo>
<Operation Name="SetCoordinate" PropertyType="Method"
ExposureLevel="CommonUsed" >
<Description>Sets one of the map coordinates.
</Description>
<Documentation><![CDATA[Set the map coordinate
for %l to %a1.]]>
</Documentation>
<Argument Name="Number" IsMandatory="true"
Direction="In">
<Type VariantType="Decimal"/>
<Description>The coordinate value.
</Description>
</Argument>
</Operation>
</TypeInfo>
<Properties>
<Property Name="name" ForDescription="true"
ForVerification="true">
<Type VariantType="String"/>
</Property>
<Property Name="coordinate" ForVerification="true"
ForDefaultVerification="true"
ForDescription="false">
<Type VariantType="Decimal"/>
<Description>The decimal representation of
degrees, minutes, and seconds.
</Description>
</Property>
<Property Name="title" ForVerification="true"
ForDefaultVerification="true"
ForDescription="true">
<Type VariantType="String"/>
</Property>
</Properties>
</ClassInfo>
<ClassInfo Name="TEAMapDemoZoom" DefaultOperationName="Set">
<Description>Sets the map magnification.</Description>
<IconInfo IconFile=""/>
<TypeInfo>
<Operation Name="Set" PropertyType="Method"
ExposureLevel="CommonUsed" >
<Description>Sets the map magnification.
</Description>
<Documentation><![CDATA[Set the map
magnification to %a1.]]>
</Documentation>
<Argument Name="Number" IsMandatory="true"
Direction="In">
<Type VariantType="Integer"/>
<Description>The magnification value.
</Description>
</Argument>
</Operation>
</TypeInfo>
<Properties>
<Property Name="name" ForDescription="true"
ForVerification="true">
<Type VariantType="String"/>
</Property>
<Property Name="value" ForVerification="true"
ForDefaultVerification="true"
ForDescription="false">
<Type VariantType="Decimal"/>
</Property>
</Properties>
</ClassInfo>
<ClassInfo Name="TEAMapDemoShowMap" GenericTypeID="button"
DefaultOperationName="ShowMap">
<Description>The map refresh button.</Description>
<IconInfo IconFile=""/>
<TypeInfo>
<Operation Name="ShowMap" PropertyType="Method"
ExposureLevel="CommonUsed" >
<Description>Refreshes the map display.
</Description>
<Documentation><![CDATA[Refresh the map display
according to the current coordinates and
zoom.]]>
</Documentation>
<ReturnValueType>
<Type VariantType="String"/>
</ReturnValueType>
</Operation>
</TypeInfo>
<Properties>
<Property Name="name" ForDescription="true"
ForVerification="true">
<Type VariantType="String"/>
</Property>
</Properties>
</ClassInfo>
<ClassInfo Name="TEAMapDemoType" DefaultOperationName="Select">
<Description>The control to select the map type.</Description>
<IconInfo IconFile=""/>
<TypeInfo>
<Operation Name="Select" PropertyType="Method"
ExposureLevel="CommonUsed">
<Description>Sets the map type.</Description>
<Documentation><![CDATA[Set the map type to
%a1.]]>
</Documentation>
<Argument Name="MapType" IsMandatory="true"
Direction="In">
<Type VariantType="Enumeration"
ListOfValuesName="TEAMapDemoType" />
</Argument>
</Operation>
</TypeInfo>
<Properties>
<Property Name="name" ForVerification="true"
ForDescription="true">
<Type VariantType="String"/>
</Property>
<Property Name="selectedMapType" ForVerification="true"
ForDefaultVerification="true"
ForDescription="false">
<Type VariantType="Enumeration"
ListOfValuesName="TEAMapDemoType" />
</Property>
</Properties>
</ClassInfo>
<ListOfValues Name="TEAMapDemoType">
<Description/>
<EnumValue Name="Satellite" RealValue="0"/>
<EnumValue Name="Terrain" RealValue="1"/>
<EnumValue Name="Roadmap" RealValue="2"/>
</ListOfValues>
</TypeInformation>