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:
Lev Zelenskiy
2012-04-26 16:53:37 +10:00
committed by Qt by Nokia
parent 4d1579d37b
commit e44bcf0a38
4 changed files with 41 additions and 24 deletions

Binary file not shown.

Binary file not shown.