IBM Support

PI93075: TESTCONDUCTOR GENERATES ERRONEOUS CODE IF FUNCTION ARGUMENTS AREMODIFIED AND THE FUNCTION SHOULD BE STUBBED

A fix is available

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • If for an operation which has to be stubbed the argument or
    return type are modified (properties C_CG::Class::In,
    C_CG::Type::In, etc.) using a stereotype, the same type
    modifiers have to be applied in the TestComponent.
    TestConductor for Rhapsody 8.3 applies the stereotype only on
    the StubbedOperation but not on the DefaultOperation and the
    StubOperation.
    Also, after manually applying the stereotype on the Default- and
    StubOperation, TestConductor doesn't recognize the modified
    properties and generates incorrect code in the body.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Rhapsody                                                     *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * TestConductor generates erroneous code if function arguments *
    * are modified and the function should be stubbed              *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    

Problem conclusion

  • Fixed. Please note: Existing, incorrect test code in
    TestComponents must be removed by applying "Clean TestPackage"
    once. After this TestConductor will recreate stubs correctly.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI93075

  • Reported component name

    TLOGIC RHAPSODY

  • Reported component ID

    5724V74RP

  • Reported release

    820

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2018-01-30

  • Closed date

    2018-06-17

  • Last modified date

    2018-06-17

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    TLOGIC RHAPSODY

  • Fixed component ID

    5724V74RP

Applicable component levels

  • R830 PSY

       UP



Document information

More support for: Rational Rhapsody

Software version: 820

Reference #: PI93075

Modified date: 17 June 2018