Zurück zu Willert.de

Testable (animatable) types in Test Conductor

Testable (animatable) types in Test Conductor

Postby shanz » February 18th, 2010, 6:17 pm

In Test Conductor, a Test Scenario can check/drive argument values.
We have created our own types package, which contains new simple types like :-

typedef OMBoolean bool_t;

We make these new types available via the drop-down selection list by using the General::Model::CommonTypes property.

I understand that for complex types such as std::list, we need to create serialization/unserialization functions as shown in the sample project, CppListUsage.rpy.

I was surprised when our bool_t didn't work in a Test Scenario. Will we need to create serialization/unserialization functions for all our types even they are merely typedefs of simple, built-in types?

Maybe what I'm asking is where do the the serialization functions that come with Rhapsody live? Then I can use these on my 'typedef'ed versions of these types.
shanz
 
Posts: 180
Joined: May 7th, 2008, 5:50 pm
Location: Horsham, W Sussex, England

Re: Testable (animatable) types in Test Conductor

Postby Roy.Gerstner » February 26th, 2010, 10:48 pm

We also have our own types package and it works without any serialization functions.
I'll check next week if we set some special properties.

By the way:
IBM will realize a automatic animation of enumeration and structures in the coming version of Rhapsody
Roy.Gerstner
 
Posts: 15
Joined: January 16th, 2009, 4:02 pm


Return to TestConductor, ATG, Gateway, ReporterPlus

Who is online

Users browsing this forum: No registered users and 1 guest