Run test calling function before the results in "missing return" error
Attempts to test an Ada package with IBM Rational Test RealTime result in a failed execution without any generated test and error "split aborted".
You see the following error.
The problem occurs when in the package body of code under test you have a call of a function without a body before the initialization of the stub.
Resolving the problem
Add a body to the function.
In the test script (.ptu) add a boby to the function 'Create'
All source code and/or binaries attached to this document are referred to here as "the Program". IBM is not providing program services of any kind for the Program. IBM is providing the Program on an "AS IS" basis without warranty of any kind. IBM WILL NOT BE LIABLE FOR ANY ACTUAL, DIRECT, SPECIAL, INCIDENTAL, OR INDIRECT DAMAGES OR FOR ANY ECONOMIC CONSEQUENTIAL DAMAGES (INCLUDING LOST PROFITS OR SAVINGS), EVEN IF IBM, OR ITS RESELLER, HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
More support for:
Rational Test RealTime
Component Testing: Ada
Software version: 7.5, 18.104.22.168, 22.214.171.124, 126.96.36.199, 8.0, 188.8.131.52, 184.108.40.206, 220.127.116.11
Operating system(s): Windows
Reference #: 1592862
Modified date: 29 March 2013
Translate this page: