summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorKurt Korbatits <kurt.korbatits@nokia.com>2010-05-20 04:54:22 (GMT)
committerKurt Korbatits <kurt.korbatits@nokia.com>2010-05-20 04:54:22 (GMT)
commitc5f58f9a2ea2051289636a3491034136611d9922 (patch)
treeb0d163f69229052fe7804a41791b59e7293ff67f /tests
parent3464049590db1c8198fcee7d369690a7c18756cc (diff)
downloadQt-c5f58f9a2ea2051289636a3491034136611d9922.zip
Qt-c5f58f9a2ea2051289636a3491034136611d9922.tar.gz
Qt-c5f58f9a2ea2051289636a3491034136611d9922.tar.bz2
Removed nearest test from qaudiodeviceinfo unit test.
Reviewed-by:Justin McPherson
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/qaudiodeviceinfo/tst_qaudiodeviceinfo.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/tests/auto/qaudiodeviceinfo/tst_qaudiodeviceinfo.cpp b/tests/auto/qaudiodeviceinfo/tst_qaudiodeviceinfo.cpp
index d3d81e6..7e16ed9 100644
--- a/tests/auto/qaudiodeviceinfo/tst_qaudiodeviceinfo.cpp
+++ b/tests/auto/qaudiodeviceinfo/tst_qaudiodeviceinfo.cpp
@@ -67,7 +67,6 @@ private slots:
void frequencies();
void isformat();
void preferred();
- void nearest();
private:
bool available;
@@ -190,16 +189,6 @@ void tst_QAudioDeviceInfo::preferred()
}
}
-void tst_QAudioDeviceInfo::nearest()
-{
- if(available) {
- QAudioFormat format1, format2;
- format1.setFrequency(8000);
- format2 = device->nearestFormat(format1);
- QVERIFY(format2.frequency() == 44100);
- }
-}
-
QTEST_MAIN(tst_QAudioDeviceInfo)
#include "tst_qaudiodeviceinfo.moc"