Closed Bug 1201404 Opened 9 years ago Closed 9 years ago

Stagefright: Implement unit tests

Categories

(Core :: Audio/Video: Playback, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla43
Tracking Status
firefox43 --- fixed

People

(Reporter: mozbugz, Assigned: mozbugz)

References

Details

Attachments

(1 file)

There is currently no easy way (that I know of) to test libstagefright, making it difficult to debug and fix issues.

This bug will setup a minimal test suite, which other libstagefright can add to during debugging, fixing, and to later prevent regressions.
Minimal gtests that exercise MP4Metadata and MoofParser with an empty stream.
(Other libstagefright bugs will add to these as needed.)

Run with: ./mach gtest stagefright*
Attachment #8656421 - Flags: review?(giles)
Comment on attachment 8656421 [details] [diff] [review]
1201404-stagefright-mpeg4-minimal-gtests.patch

Review of attachment 8656421 [details] [diff] [review]:
-----------------------------------------------------------------

Yay tests!
Attachment #8656421 - Flags: review?(giles) → review+
https://hg.mozilla.org/mozilla-central/rev/b5e85c196098
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla43
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: