It is currently Wed Feb 08, 2012 5:08 pm



Welcome
Welcome to RHAPSODY4YOU

You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, respond to polls, upload and download content, and access many other special features. Registration is fast, simple, and absolutely free, so please, register to join our community today.





 Page 1 of 1 [ 2 posts ] 
Author Message
 Post subject: Testable (animatable) types in Test Conductor
PostPosted: Thu Feb 18, 2010 4:17 pm 

Joined: Wed May 07, 2008 3:50 pm
Posts: 148
Location: Horsham, W Sussex, England
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.


Offline
 Profile  
 
 Post subject: Re: Testable (animatable) types in Test Conductor
PostPosted: Fri Feb 26, 2010 8:48 pm 

Joined: Fri Jan 16, 2009 2:02 pm
Posts: 14
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


Offline
 Profile  
 
Display posts from previous:  Sort by  
 Page 1 of 1 [ 2 posts ] 


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:


suspicion-preferred