[ 
https://issues.apache.org/jira/browse/PLC4X-265?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Łukasz Dywicki reassigned PLC4X-265:
------------------------------------

    Assignee: Łukasz Dywicki

> Improve test suite XML mapping for raw values
> ---------------------------------------------
>
>                 Key: PLC4X-265
>                 URL: https://issues.apache.org/jira/browse/PLC4X-265
>             Project: Apache PLC4X
>          Issue Type: Improvement
>          Components: Testing
>    Affects Versions: 0.8.0
>            Reporter: Łukasz Dywicki
>            Assignee: Łukasz Dywicki
>            Priority: Major
>
> Test suites we use contain various inputs. For serializer tests payloads 
> given as an input are encoded using hex.
> By default byte arrays returned by serializer are compared using base64 
> output. This makes testing rather hard because any "offset" (+/- 1) issues 
> ie. in calculation of array length are not visible due to different 
> representation of frame and its "blob" part.
> We can improve that by customizing mapping (at least for Java) to write all 
> {{byte[]}} values using hex. Similar improvement can be made for {{byte}} 
> which is much easier to be compared using hex representation rather than 
> decimal one.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to