QSampleCache unit test: correctly check whether sample is cached.
Use QSample::isCached instead of relying on pointers. Also added a test for loading an invalid file. Change-Id: I9f4f1e8c3dc3cdb4a88a756cc6cad85e68c3a1b6 Reviewed-by: Michael Goddard <michael.goddard@nokia.com>
This commit is contained in:
committed by
Qt by Nokia
parent
4d1579d37b
commit
e44bcf0a38
BIN
tests/auto/unit/qsamplecache/testdata/test.wav
vendored
Normal file
BIN
tests/auto/unit/qsamplecache/testdata/test.wav
vendored
Normal file
Binary file not shown.
BIN
tests/auto/unit/qsamplecache/testdata/test2.wav
vendored
Normal file
BIN
tests/auto/unit/qsamplecache/testdata/test2.wav
vendored
Normal file
Binary file not shown.
Reference in New Issue
Block a user