A port to a new platform requires testing the TargetRTS. There are some standard ObjecTime updates that can be used to test the functionality of the TargetRTS. These tests are not comprehensive but provide some assurance that the port was successful. The C++ models are available for download by customers only from our support webpage. These models are provided as is and ObjecTime Limited provides no warranty expressed or implied for their use.
The HelloWorld update is a single actor model that simply outputs "Hello World" on the target console. It makes use of the Log service to output the message. The HelloWorld model, if functional, validates the TargetRTS initialization and startup, log service and console output and basic actor functionality.
The Performance update is a suite of tests that provides measurements of basic TargetRTS functions. This model is also useful for testing the functionality of the TargetRTS since many features are testing during the performance measurements. Test results are sent to the standard output and correct functionality can easily be determined by observing the output.
The FiveStates update is a model that tests the functionality of the target observability feature of the TargetRTS. This test provides a model with a state machine consisting of five states. The transitions between these states can be monitored from the behavior monitor in the ObjecTime Developer Model Execution Browser. If target observability is functioning then the Model Execution Browser will be able to connect to the application running on the target via TCP/IP and provide debugging and execution monitoring via the Model Execution Browser.
The TargetRTS for C ships a set of compliance test models that can be compiled and run on a new target platform to ensure the functionality of the newly ported C TargetRTS.
These models are part of the %OBJECTIME_HOME\ModelExamples\C folder and are fully described in "Compliance Suite & Examples" on page 219 of the C Language Guide.