Skip to content

test(writer): cover ChunkImpl put/finish/adapt paths#83

Merged
dfa1 merged 1 commit into
mainfrom
test/chunkimpl-coverage
Jun 20, 2026
Merged

test(writer): cover ChunkImpl put/finish/adapt paths#83
dfa1 merged 1 commit into
mainfrom
test/chunkimpl-coverage

Conversation

@dfa1

@dfa1 dfa1 commented Jun 20, 2026

Copy link
Copy Markdown
Owner

ChunkImpl was ~32% covered. Add ChunkImplTest exercising put (unknown/duplicate/
chaining), finish (missing/complete), null + unadapted-dtype passthrough, every
primitive ptype (plain array, boxed→NullableData on nullable, boxed-reject on
non-nullable, type mismatch, F16), Utf8 (null handling + wrong type) and Bool
(boxed nullable + reject + wrong type). 100% line coverage.

Also inline the boxed-primitive ternaries onto single lines (cleaner, and avoids
a jacoco mis-attribution of the always-throwing reject arm).

Co-Authored-By: Claude Opus 4.8 noreply@anthropic.com

ChunkImpl was ~32% covered. Add ChunkImplTest exercising put (unknown/duplicate/
chaining), finish (missing/complete), null + unadapted-dtype passthrough, every
primitive ptype (plain array, boxed→NullableData on nullable, boxed-reject on
non-nullable, type mismatch, F16), Utf8 (null handling + wrong type) and Bool
(boxed nullable + reject + wrong type). 100% line coverage.

Also inline the boxed-primitive ternaries onto single lines (cleaner, and avoids
a jacoco mis-attribution of the always-throwing reject arm).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@dfa1 dfa1 merged commit 5144f94 into main Jun 20, 2026
6 checks passed
@dfa1 dfa1 deleted the test/chunkimpl-coverage branch June 20, 2026 06:27
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.

1 participant