You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Writing partial arrays, where the Accessor size is different from the target array length, is not tested by the UnifiedBackendTest.
If there is some offset set and the array length is different from the Accessor size, one has to read the whole array once and only modify the elements accessed by the Accessor. This is not the case if partial writing is possible.
It is not possible e.g. for the DOOCS, EPICS, OPC UA backend.
The correct implementation should be tested to make sure backends where partial writing is not possible do everything correct (read_modify_write).
The text was updated successfully, but these errors were encountered:
Test for partial reads is also missing. This is not as easy to go wrong but still should be tested. In principle, the UnfiedBackendTest should test both partial reads and writes for any array register.
Writing partial arrays, where the Accessor size is different from the target array length, is not tested by the UnifiedBackendTest.
If there is some offset set and the array length is different from the Accessor size, one has to read the whole array once and only modify the elements accessed by the Accessor. This is not the case if partial writing is possible.
It is not possible e.g. for the DOOCS, EPICS, OPC UA backend.
The correct implementation should be tested to make sure backends where partial writing is not possible do everything correct (read_modify_write).
The text was updated successfully, but these errors were encountered: