Cleanup multimedia unit tests.
Use QTEST_MAIN or QTEST_GUILESS_MAIN instead of equivalent custom main() functions. Also collapse each test into a single source file, in line with most other autotests. Change-Id: I38c7b6a9eb0ff1c9b8ac44de7d5f40d6ac6c46ea Reviewed-by: Michael Goddard <michael.goddard@nokia.com>
This commit is contained in:
committed by
Qt by Nokia
parent
4c834365c6
commit
3171081d43
@@ -1,11 +1,7 @@
|
||||
CONFIG += testcase
|
||||
CONFIG += testcase no_private_qt_headers_warning
|
||||
TARGET = tst_qmediaobject
|
||||
|
||||
QT += multimedia-private testlib
|
||||
CONFIG += no_private_qt_headers_warning
|
||||
|
||||
include (../qmultimedia_common/mockrecorder.pri)
|
||||
|
||||
HEADERS+= tst_qmediaobject.h
|
||||
SOURCES += main.cpp tst_qmediaobject.cpp
|
||||
|
||||
SOURCES += tst_qmediaobject.cpp
|
||||
|
||||
Reference in New Issue
Block a user