Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tests: Verify some basic SDO record and array assumptions #539

Merged
merged 7 commits into from
Aug 17, 2024

Conversation

acolomb
Copy link
Collaborator

@acolomb acolomb commented Aug 17, 2024

As requested in #538, this will show where the current SdoRecord length / iteration behavior is inconsistent. Some other tests related to SdoArray length and iteration added as well, for symmetry.

Adjust the EDS test accordingly, since the record length only counts
sub-objects that have an actual description.
Switch from CompactSubObj to actual sub-entries.  Leave out some of
the sub-entries, targeting specific SDO tests.
@codecov-commenter
Copy link

codecov-commenter commented Aug 17, 2024

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 71.16%. Comparing base (210374a) to head (d38377c).

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #539      +/-   ##
==========================================
+ Coverage   71.00%   71.16%   +0.16%     
==========================================
  Files          26       26              
  Lines        3114     3114              
  Branches      527      527              
==========================================
+ Hits         2211     2216       +5     
+ Misses        771      766       -5     
  Partials      132      132              

see 1 file with indirect coverage changes

@acolomb
Copy link
Collaborator Author

acolomb commented Aug 17, 2024

Notice how 5cbb00e still passes the tests.

@acolomb
Copy link
Collaborator Author

acolomb commented Aug 17, 2024

Notice how it fails with the additional test in 30c4071. This will be fixed by #538, as shown in that PR with 36150d7.

Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
@acolomb acolomb merged commit 273bab1 into christiansandberg:master Aug 17, 2024
3 checks passed
@acolomb acolomb deleted the test-sdo-variables branch August 17, 2024 21:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants