In this Section:
➢MonkeyRunner (ADB Connector)
The MxTransIt Toolbox provides a selection of installed Transforms comprised of:
•Built-In Transforms. The initial set of Transforms delivered and installed with MxSuite. These Transforms are tailored for embedded software testing.
•Custom Transforms created by the user (using File->New->Custom Transform).
Transforms fall into two classifications:
MxTransIt Transforms have properties, which are displayed in the Properties box at the right of the MxTransIt desktop. If the Properties box is not visible, select View->Properties from the main menu. Many of the properties can be changed using the Properties box.
In many cases it is possible to modify the behavior of a Transform. It depends a lot on the purpose of the transform. Here are three examples:
•Add Transform – The purpose of this Transform is very specific. Using Verbs you can change the number of input ports. Otherwise the behavior of the transform is fixed.
•CAN Transmit Driver Transform – This Transform transmits CAN messages on a CAN bus. How it does this is defined by a CAN database file in the Transform's properties.
•C# Snippet, SIL Easy, MxVMC, and Custom Transforms – These Transforms have no predefined behavior (except possibly some sample code). They are called User-Defined Transforms. The behavior is fully user defined using C, C++, or C# code.
You can use the Execution>Disable property on all Transforms to debug your Test Harness.
•To disable, set the property to True. The Transform is marked and grayed out in MxTransIt.
•No Transform functions are invoked. (Start/Finish/SetUp/Tick)
•When loaded in MxVDev, a warning is displayed in the Notifications box.
•This feature is meant to be used for temporary debugging. For long term use, remove the Transform or save as a new Harness.
To reverse the displayed orientation (left to right) of ports on a Transform, change the Reverse Port Orientation property:
Check Integrity performs tests on a single Transform, a set of selected Transforms, or on the whole Harness. To execute the Check Integrity command, select Transform->Check Integrity from the MxTransIt main menu.
The following types of checks are performed:
•Verify that necessary external files exist.
•For CAN and LIN Transmit and Receive Drivers:
oVerify that the Network Port has been either exported or connected.
oVerify that periodically transmitted message have a cycle time > 0.
•Verify that the full test harness can be sorted into a sequentially executable list.
•Many Transforms have no checks that can be performed. In these cases, no message is displayed for that Transform.
•For user developed Transforms, checks can be implemented by overriding the CheckIntegrity method.
Transforms in MxTransIt are color coded as shown below. When a Transform changes (for example, if a port is added), it may change color.
Uninitialized - Gray
Transforms that have not been initialized are gray.
Sink - Purple
Transforms with no output ports are called sinks and are purple.
Source - Powder Blue
Transforms with no input ports are called sources and are powder blue.
Signal Processing - Light Blue
Signal Processing Transforms with input and output ports are light blue.
Connector - Orange
Connector Transforms with input and output ports are orange.
Disabled - White Smoke
Disabled Transforms are very light gray (white smoke).