[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [libechonest] tests: remove test for deprecated fetchGenres() function from ArtistTest
From: Leo Franchi <lfranchi () kde ! org>
Date: 2014-09-13 2:21:31
Message-ID: E1XScxv-00062T-Ix () scm ! kde ! org
[Download RAW message or body]
Git commit 0e7b096eb5453474d4decf907068df9e04b4b42c by Leo Franchi, on behalf of Stefan Derkits.
Committed on 09/09/2014 at 12:48.
Pushed by lfranchi into branch 'master'.
remove test for deprecated fetchGenres() function from ArtistTest
M +0 -13 tests/ArtistTest.cpp
M +0 -1 tests/ArtistTest.h
http://commits.kde.org/libechonest/0e7b096eb5453474d4decf907068df9e04b4b42c
diff --git a/tests/ArtistTest.cpp b/tests/ArtistTest.cpp
index d027e52..692a8b2 100644
--- a/tests/ArtistTest.cpp
+++ b/tests/ArtistTest.cpp
@@ -758,19 +758,6 @@ void ArtistTest::testVideos()
qDebug() << testArtist.videos();
}
-void ArtistTest::testGenres()
-{
- QNetworkReply* reply = Artist::fetchGenres();
- qDebug() << reply->url();
- QEventLoop loop;
- loop.connect( reply, SIGNAL(finished()), SLOT(quit()) );
- loop.exec();
-
- QVector< QString > genres = Artist::parseGenreList( reply );
- QVERIFY( genres.size() > 0 );
- QVERIFY( genres.contains( QLatin1String( "dub" ) ) );
-}
-
void ArtistTest::testUrlsFix()
{
Artist::SearchParams params;
diff --git a/tests/ArtistTest.h b/tests/ArtistTest.h
index 9cf188a..fe01e8f 100644
--- a/tests/ArtistTest.h
+++ b/tests/ArtistTest.h
@@ -59,7 +59,6 @@ private slots:
void testUrls();
void testVideosUrl();
void testVideos();
- void testGenres();
void testUrlsFix();
};
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic