API unit tests from Maemo API test team.

A large number of tweaks and changes to original tests, and refactor
a lot of the mock backends to reduce duplication.

Changed viewfinder test case to use mock service and provider so
that it matches the image capture test case.

Reviewed-by: Jonas Rabbe
(cherry picked from commit e40bef5508a4165cec4a46b97115aed461027fa5)

Also licence header fix:
(cherry picked from commit e9ee9e8c48b45b97d62ee4a82e400fa9d8ea8107)

Change-Id: Ic59891d75563bb2e008a336eea859e8c44d8d831
Reviewed-on: http://codereview.qt.nokia.com/2078
Reviewed-by: Jonas Rabbe <jonas.rabbe@nokia.com>
This commit is contained in:
Michael Goddard
2011-07-25 15:02:51 +10:00
committed by Qt by Nokia
parent 1e4dda9710
commit a6128410da
94 changed files with 8814 additions and 2396 deletions

View File

@@ -4,6 +4,17 @@ SUBDIRS += \
qabstractvideobuffer \
qabstractvideosurface \
qaudiocapturesource \
qaudiodeviceinfo \
qaudioformat \
qaudioinput \
qaudiooutput \
qcamera \
qcamerabackend \
qcameraimagecapture \
qcameraviewfinder \
qmediabindableinterface \
qmediacontainercontrol \
qmediacontent \
qmediaobject \
qmediaplayer \
qmediaplayerbackend \
@@ -11,17 +22,24 @@ SUBDIRS += \
qmediarecorder \
qmediaresource \
qmediaservice \
qmediacontent \
qradiotuner \
qcamera \
qmediatimerange \
qaudiodeviceinfo \
qaudiooutput \
qaudioinput \
qaudioformat \
qradiotuner \
qvideoframe \
qvideosurfaceformat \
qcamerabackend
qmetadatareadercontrol \
qmetadatawritercontrol \
# This is disabled because it is unfinished
# qmediastreamscontrol \
# These is disabled until intent is clearer
# qvideodevicecontrol \
# qvideoencodercontrol \
# This is a commment for the mock backend directory so that maketestselftest
# doesn't believe it's an untested directory
# qmultimedia_common
# Tests depending on private interfaces should only be built if
# these interfaces are exported.
@@ -47,4 +65,3 @@ contains (QT_CONFIG, declarative) {
disabled:SUBDIRS += qdeclarativevideo
}
}