diff options
Diffstat (limited to 'tests')
-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 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" |