Improve video test coverage and debugging output.
authorMichael Goddard <michael.goddard@nokia.com>
Fri, 7 Oct 2011 02:03:35 +0000 (12:03 +1000)
committerQt by Nokia <qt-info@nokia.com>
Fri, 7 Oct 2011 06:29:57 +0000 (08:29 +0200)
commitadca03adfd80c0a87083d73e8d8c71229fc35652
tree51e76584ae08b14f85fbf8f5197fac554d63cd64
parent03f22bcdaf1f80083618856d6e4140d3062f175b
Improve video test coverage and debugging output.

Added a few debug operators for some useful enums, and
added tests for them.  One or two other features not really
tested.

Change-Id: Idffec6ade1d4e05dbf72f3dc47dfc0d01ddddf8b
Reviewed-on: http://codereview.qt-project.org/6201
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Jonas Rabbe <jonas.rabbe@nokia.com>
src/multimedia/video/qabstractvideobuffer.cpp
src/multimedia/video/qabstractvideobuffer.h
src/multimedia/video/qvideoframe.cpp
src/multimedia/video/qvideoframe.h
src/multimedia/video/qvideosurfaceformat.cpp
src/multimedia/video/qvideosurfaceformat.h
tests/auto/qabstractvideobuffer/tst_qabstractvideobuffer.cpp
tests/auto/qabstractvideosurface/tst_qabstractvideosurface.cpp
tests/auto/qvideoframe/tst_qvideoframe.cpp
tests/auto/qvideosurfaceformat/tst_qvideosurfaceformat.cpp