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
Hi @cary-ilm! I was planning to do this for the ASWF dev days, but I can't see anything in the linked coverage report that highlights uncovered lines in ImfHeader.h. I can see such highlighting in other files, so I'm not sure what I'm missing?
@MrGlobby the SonarCloud coverage report is sort of finicky and often confusing. In this case, I think I meant to post a link to the ImfHeader.cpp file. The non-const begin() and end() methods appear to not get invoked.
The low-tech approach is to put a print statement in the functions, then execute the test suite to confirm the message doesn't appear, then add the call to the test suite, rerun it and confirm the message appears. Then remove the print statement.
Of course, feel free to browse the SonarCloud coverage report and add anything else you see uncovered, this one just looked pretty straightforward.
Add tests to the test suite for the
Header
classes attribute iterator methods in src/lib/OpenEXR/ImfHeader.h.The coverage report that identifies the uncovered lines is here
The tests should go in src/test/OpenEXRTest and follow the established pattern.
The text was updated successfully, but these errors were encountered: