diff options
author | Kurt Korbatits <kurt.korbatits@nokia.com> | 2010-05-20 14:54:22 +1000 |
---|---|---|
committer | Kurt Korbatits <kurt.korbatits@nokia.com> | 2010-05-20 14:54:22 +1000 |
commit | c5f58f9a2ea2051289636a3491034136611d9922 (patch) | |
tree | b0d163f69229052fe7804a41791b59e7293ff67f /tests/auto/qaudiodeviceinfo | |
parent | 3464049590db1c8198fcee7d369690a7c18756cc (diff) | |
download | qt4-tools-c5f58f9a2ea2051289636a3491034136611d9922.tar.gz |
Removed nearest test from qaudiodeviceinfo unit test.
Reviewed-by:Justin McPherson
Diffstat (limited to 'tests/auto/qaudiodeviceinfo')
-rw-r--r-- | tests/auto/qaudiodeviceinfo/tst_qaudiodeviceinfo.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/tests/auto/qaudiodeviceinfo/tst_qaudiodeviceinfo.cpp b/tests/auto/qaudiodeviceinfo/tst_qaudiodeviceinfo.cpp index d3d81e6555..7e16ed919b 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" |