summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJustin McPherson <justin.mcpherson@nokia.com>2010-02-17 01:01:48 (GMT)
committerJustin McPherson <justin.mcpherson@nokia.com>2010-02-17 01:01:48 (GMT)
commit25190874d12d97a9f7c9d9c25ca7aa2d6d6cfd6d (patch)
treed2607cedc8e88dd1ca30bc35ab0b23468b7dcb93
parent44a52d6667de0230f8c23e1b32bb4d53c831a27f (diff)
downloadQt-25190874d12d97a9f7c9d9c25ca7aa2d6d6cfd6d.zip
Qt-25190874d12d97a9f7c9d9c25ca7aa2d6d6cfd6d.tar.gz
Qt-25190874d12d97a9f7c9d9c25ca7aa2d6d6cfd6d.tar.bz2
Remove tests that depend on playlist plugins.
-rw-r--r--tests/auto/qmediaplaylist/tst_qmediaplaylist.cpp28
1 files changed, 0 insertions, 28 deletions
diff --git a/tests/auto/qmediaplaylist/tst_qmediaplaylist.cpp b/tests/auto/qmediaplaylist/tst_qmediaplaylist.cpp
index 07971ca..adaa56c 100644
--- a/tests/auto/qmediaplaylist/tst_qmediaplaylist.cpp
+++ b/tests/auto/qmediaplaylist/tst_qmediaplaylist.cpp
@@ -425,34 +425,6 @@ void tst_QMediaPlaylist::saveAndLoad()
QCOMPARE(errorSignal.size(), 1);
QVERIFY(playlist.error() != QMediaPlaylist::NoError);
QVERIFY(!playlist.errorString().isEmpty());
-
- res = playlist.save(&buffer, "m3u");
-
- QVERIFY(res);
- QVERIFY(buffer.pos() > 0);
- buffer.seek(0);
-
- QMediaPlaylist playlist2;
- playlist2.load(&buffer, "m3u");
- QCOMPARE(playlist.error(), QMediaPlaylist::NoError);
-
- QCOMPARE(playlist.mediaCount(), playlist2.mediaCount());
- QCOMPARE(playlist.media(0), playlist2.media(0));
- QCOMPARE(playlist.media(1), playlist2.media(1));
- QCOMPARE(playlist.media(3), playlist2.media(3));
-
- res = playlist.save(QUrl(QLatin1String("tmp.m3u")), "m3u");
- QVERIFY(res);
-
- playlist2.clear();
- QVERIFY(playlist2.isEmpty());
- playlist2.load(QUrl(QLatin1String("tmp.m3u")), "m3u");
- QCOMPARE(playlist.error(), QMediaPlaylist::NoError);
-
- QCOMPARE(playlist.mediaCount(), playlist2.mediaCount());
- QCOMPARE(playlist.media(0), playlist2.media(0));
- QCOMPARE(playlist.media(1), playlist2.media(1));
- QCOMPARE(playlist.media(3), playlist2.media(3));
}
void tst_QMediaPlaylist::playbackMode_data()