1
0
mirror of https://github.com/clementine-player/Clementine synced 2025-01-31 03:27:40 +01:00

Fix AlbumCoverManagerTest

This commit is contained in:
David Sansome 2011-07-23 19:39:53 +01:00
parent 1f8263d329
commit 9fd387cfab

View File

@ -15,6 +15,7 @@
along with Clementine. If not, see <http://www.gnu.org/licenses/>. along with Clementine. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "covers/coverproviders.h"
#include "ui/albumcovermanager.h" #include "ui/albumcovermanager.h"
#include "gtest/gtest.h" #include "gtest/gtest.h"
@ -26,10 +27,11 @@
class AlbumCoverManagerTest : public ::testing::Test { class AlbumCoverManagerTest : public ::testing::Test {
protected: protected:
AlbumCoverManagerTest() AlbumCoverManagerTest()
: manager_(NULL, NULL, &mock_network_) { : manager_(NULL, &cover_providers_, NULL, &mock_network_) {
} }
MockNetworkAccessManager mock_network_; MockNetworkAccessManager mock_network_;
CoverProviders cover_providers_;
AlbumCoverManager manager_; AlbumCoverManager manager_;
}; };