Details
-
Task
-
Resolution: Out of scope
-
P2: Important
-
None
-
None
-
6d7cfe53c3b17ff1acff4aeec6deb259f3c7032d
Description
We'd like to have a test framework and full front-to-back tests that include both the Qt Multimedia API and the backend. The tests should be written in a backend agnostic way so that they can be run on all platforms and backends.
For example, the tests could cover simple use cases like loading a test.mov file and checking that we can read the duration to making sure we get the frames we expect when rendering.
The tests and the test framework could cover both the API only (the same use case as the current mock tests) and the backends.
This approach would be similar to the media-tests in WebKit work: http://gitorious.org/webkit/webkit/trees/master/LayoutTests/media and QImageReader tests in Qt.
The benefits of such tests
- protection against regressions
- testing a new backend for conformance. This is crucial considering that backends are written by different teams
- clients such as WebKit can catch corner-cases that might prevent certain approaches at a low level
Attachments
1.
|
Collect test media files | Closed | Unassigned | |
2.
|
Audio playback test cases | Closed | Yoann Lopes | |
3.
|
Audio recording test cases | Closed | Valentyn Doroshchuk | |
4.
|
Video playback test cases | Closed | Yoann Lopes | |
5.
|
Video capture test cases | Closed | Valentyn Doroshchuk | |
6.
|
Still camera test cases | Closed | Valentyn Doroshchuk | |
7.
|
Radio test cases | Closed | Unassigned | |
8.
|
Investigate mapping from HTML5 state machines to QtMM | Closed | Unassigned | |
9.
|
Translate WebKit layout tests for HTML5 video/audio to QtMM tests | Closed | Unassigned | |
10.
|
Create/reuse simple HTTP server to test streaming etc. | Closed | Unassigned |