summaryrefslogtreecommitdiff
path: root/tests/auto
diff options
context:
space:
mode:
authorVal Doroshchuk <valentyn.doroshchuk@qt.io>2019-04-03 10:02:55 +0200
committerVaL Doroshchuk <valentyn.doroshchuk@qt.io>2019-04-03 09:02:23 +0000
commitff67f0e8ddbf23354f5ee0ecd9328af1373433c7 (patch)
treead4ea0a3835a91c63b2aaf9f37f9e8570ae6360f /tests/auto
parente06c207c066b4a5b469945ae9a8a7cc79682103e (diff)
downloadqtmultimedia-ff67f0e8ddbf23354f5ee0ecd9328af1373433c7.tar.gz
Android: Move test files to qrc in tst_QSoundEffect
Since TESTDATA files are not deployed to device, need to add them to qrc. Task-number: QTBUG-73583 Change-Id: Ie0b934b1d9bd46f8748ca93a3502ef1643271217 Reviewed-by: Christian Strømme <christian.stromme@qt.io>
Diffstat (limited to 'tests/auto')
-rw-r--r--tests/auto/integration/qsoundeffect/qsoundeffect.pro3
-rw-r--r--tests/auto/integration/qsoundeffect/resources.qrc8
2 files changed, 11 insertions, 0 deletions
diff --git a/tests/auto/integration/qsoundeffect/qsoundeffect.pro b/tests/auto/integration/qsoundeffect/qsoundeffect.pro
index 8ec2e458a..868346a2e 100644
--- a/tests/auto/integration/qsoundeffect/qsoundeffect.pro
+++ b/tests/auto/integration/qsoundeffect/qsoundeffect.pro
@@ -14,3 +14,6 @@ unix:!mac {
}
TESTDATA += test.wav
+
+RESOURCES += \
+ resources.qrc
diff --git a/tests/auto/integration/qsoundeffect/resources.qrc b/tests/auto/integration/qsoundeffect/resources.qrc
new file mode 100644
index 000000000..24700560d
--- /dev/null
+++ b/tests/auto/integration/qsoundeffect/resources.qrc
@@ -0,0 +1,8 @@
+<RCC>
+ <qresource prefix="/">
+ <file>test.wav</file>
+ <file>test_corrupted.wav</file>
+ <file>test_tone.wav</file>
+ <file>test24.wav</file>
+ </qresource>
+</RCC>