- Introduce QTemporaryDir to create a temporary directory to write the files, preventing file open failures caused by left-overs of failed tests. - Use smart pointers for files and QTemporaryDir to ensure that files and the directory are always cleaned up at destruction time. Change-Id: Icfbb331dbdd586012b5787f91c36e164033c4120 Reviewed-by: Michael Goddard <michael.goddard@nokia.com>
11 lines
229 B
Prolog
11 lines
229 B
Prolog
TARGET = tst_qaudiooutput
|
|
|
|
QT += core multimedia-private testlib
|
|
CONFIG += no_private_qt_headers_warning
|
|
|
|
# This is more of a system test
|
|
# CONFIG += testcase
|
|
|
|
HEADERS += wavheader.h
|
|
SOURCES += wavheader.cpp tst_qaudiooutput.cpp
|