diff options
author | Michael Goddard <michael.goddard@nokia.com> | 2012-06-25 10:53:26 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-06-29 02:47:41 +0200 |
commit | b0809c027c9fe2e49d37dff45aa4f03b0a4e0743 (patch) | |
tree | d647951ecb69c9b39f004198d76fbc4972174549 /tests/auto/unit/qaudioprobe | |
parent | bba28afe559837321a2083b3ce046ab774a7ef6b (diff) |
Rename availabilityError to availability.
It's perhaps clearer in the usual case.
Change-Id: Id3cef82ac83f8c9b538b3315281664ce1c6a2b96
Reviewed-by: Ling Hu <ling.hu@nokia.com>
Diffstat (limited to 'tests/auto/unit/qaudioprobe')
-rw-r--r-- | tests/auto/unit/qaudioprobe/tst_qaudioprobe.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/unit/qaudioprobe/tst_qaudioprobe.cpp b/tests/auto/unit/qaudioprobe/tst_qaudioprobe.cpp index 78b9b7b8f..eb94a61dd 100644 --- a/tests/auto/unit/qaudioprobe/tst_qaudioprobe.cpp +++ b/tests/auto/unit/qaudioprobe/tst_qaudioprobe.cpp @@ -104,7 +104,7 @@ void tst_QAudioProbe::testNullService() recorder = new QAudioRecorder; QVERIFY(!recorder->isAvailable()); - QCOMPARE(recorder->availabilityError(), QtMultimedia::ServiceMissingError); + QCOMPARE(recorder->availability(), QtMultimedia::ServiceMissing); QAudioProbe probe; QVERIFY(!probe.isActive()); @@ -122,7 +122,7 @@ void tst_QAudioProbe::testNullControl() recorder = new QAudioRecorder; QVERIFY(!recorder->isAvailable()); - QCOMPARE(recorder->availabilityError(), QtMultimedia::ServiceMissingError); + QCOMPARE(recorder->availability(), QtMultimedia::ServiceMissing); QAudioProbe probe; QVERIFY(!probe.isActive()); |