Improve mp4parse_capi test coverage
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 45/100
- Issue type
- Refactor
- Clarity
- Mostly clear
- Activity status
- Stale
- Domain
- testing-qa
Research direction
Start with the existing C API tests in test.cc and afl-capi.rs, then run the current test suite to understand how those tests are organized. Add coverage for mp4parse_get_indice_table, mp4parse_get_fragment_info, mp4parse_is_fragmented, and mp4parse_get_pssh_info, and confirm the tests pass for the new API surface.
Written by the indexing model from the issue text.
Description
Since we wrote the C API tests in test.cc and afl-capi.rs, we've added mp4parse_get_indice_table, mp4parse_get_fragment_info, mp4parse_is_fragmented, and mp4parse_get_pssh_info to the C API. This issue covers updating those tests to cover the new API surface.
Longer term, we should probably introduce a policy that requires updating the tests as the API is extended. And/or try to move more of the code into the Rust side and make the C API code as slim as possible.
Related: https://bugzilla.mozilla.org/show_bug.cgi?id=1342848
- Dominant language
- Rust
- Stars
- 448
- Forks
- 72
- Avg merge
- 20d 3h
- Merged PRs (30d)
- 1
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from mozilla/mp4parse-rust
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
mozilla/mp4parse-rust#444 · 5 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
mozilla/mp4parse-rust#441 ·
-
senc box Open
Difficulty 5/5 Over a week Newbie friendliness 15/100
mozilla/mp4parse-rust#415 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 28/100
mozilla/mp4parse-rust#414 · 4 comments ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 35/100
mozilla/mp4parse-rust#412 · 2 comments ·
All issues in mozilla/mp4parse-rust
Similar issues
-
bug CLI custom-model
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
rust-bitcoin/rust-bitcoin#6930 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
fulcrumgenomics/ferro-hgvs#2251 ·
-
A-allocators A-docs C-enhancement T-libs
Difficulty 2/5 1-3 hours Newbie friendliness 75/100