Skip to content

Conversation

@lgritz
Copy link
Collaborator

@lgritz lgritz commented Dec 29, 2024

This improves the mediocre testing line coverage in nullimageio.cpp from 50% to 95%.

  • Test writing
  • Test reading of tiled and MIP-mapped null images
  • Test setting and reading of attributes
  • Simplify some code
  • Along the way, identified and fixed a nullimage bug -- it was answering that it supported "rectangles" but had no write_rectangle method. Testing works!

This improves the medicre testing line coverage in nullimageio.cpp
from 50% to 95%.

* Test writing
* Test reading of tiled and MIP-mapped null images
* Test setting and reading of attributes
* Along the way, identified and fixed a nullimage bug -- it was
  answering that it supported "rectangles" but had no write_rectangle
  method. Testing works!

Signed-off-by: Larry Gritz <[email protected]>
@lgritz
Copy link
Collaborator Author

lgritz commented Jan 7, 2025

Seem ok?

Copy link
Contributor

@grdanny grdanny left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks reasonable to me.

@lgritz lgritz merged commit 85ece69 into AcademySoftwareFoundation:main Jan 7, 2025
30 checks passed
lgritz added a commit to lgritz/OpenImageIO that referenced this pull request Jan 8, 2025
…SoftwareFoundation#4578)

This improves the mediocre testing line coverage in nullimageio.cpp from
50% to 95%.

* Test writing
* Test reading of tiled and MIP-mapped null images
* Test setting and reading of attributes
* Simplify some code
* Along the way, identified and fixed a nullimage bug -- it was
answering that it supported "rectangles" but had no write_rectangle
method. Testing works!

Signed-off-by: Larry Gritz <[email protected]>
@lgritz lgritz deleted the lg-null-analysis branch January 15, 2025 21:08
scott-wilson pushed a commit to scott-wilson/OpenImageIO that referenced this pull request May 18, 2025
…SoftwareFoundation#4578)

This improves the mediocre testing line coverage in nullimageio.cpp from
50% to 95%.

* Test writing
* Test reading of tiled and MIP-mapped null images
* Test setting and reading of attributes
* Simplify some code
* Along the way, identified and fixed a nullimage bug -- it was
answering that it supported "rectangles" but had no write_rectangle
method. Testing works!

Signed-off-by: Larry Gritz <[email protected]>
Signed-off-by: Scott Wilson <[email protected]>
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.

2 participants