[Discuss OpenCPI] Re: Unit testing with sequence property

From: James Kulp <jek_at_parera.com>
Date: Wed, 31 May 23 11:35:48 -0400

CanĀ  you post the XML that describes the "frequencies" property of the
component?
What/how did things fail with "no luck"?

On 5/31/23 9:47 AM, dwp_at_md1tech.co.uk wrote:
>
> Hello,
>
> I am trying to write a unit test for a component that has a property
> called |frequencies| that is a sequence of integers.
> I want to test it with a number of different sequences. What is the
> syntax in the unit test xml to do this? I have tried a few things such as:
>
> |<Property name='frequencies' values='{1}, {1, 2, 3}, {10, 10, 10, 10}'/>|
>
> But had no luck.
>
> Many thanks,
> Dan
>
>
> _______________________________________________
> discuss mailing list --discuss_at_lists.opencpi.org
> To unsubscribe send an email todiscuss-leave_at_lists.opencpi.org







Received on Wed May 31 2023 - 15:35:48 CDT

This archive was generated by hypermail 2.3.0 : Fri Jun 05 2026 - 08:45:25 CDT