File indexing completed on 2024-04-28 04:48:13

0001 
0002 /****************************************************************************************
0003  * Copyright (c) 2010 Maximilian Kossick <maximilian.kossick@googlemail.com>            *
0004  *                                                                                      *
0005  * This program is free software; you can redistribute it and/or modify it under        *
0006  * the terms of the GNU General Public License as published by the Free Software        *
0007  * Foundation; either version 2 of the License, or (at your option) any later           *
0008  * version.                                                                             *
0009  *                                                                                      *
0010  * This program is distributed in the hope that it will be useful, but WITHOUT ANY      *
0011  * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A      *
0012  * PARTICULAR PURPOSE. See the GNU General Public License for more details.             *
0013  *                                                                                      *
0014  * You should have received a copy of the GNU General Public License along with         *
0015  * this program.  If not, see <http://www.gnu.org/licenses/>.                           *
0016  ****************************************************************************************/
0017 
0018 #ifndef META_MOCKALBUM_H
0019 #define META_MOCKALBUM_H
0020 
0021 #include <gmock/gmock.h>
0022 
0023 #include "core/meta/Meta.h"
0024 
0025 namespace Meta
0026 {
0027 class MockAlbum : public Meta::Album
0028 {
0029     public:
0030     MOCK_CONST_METHOD0( name, QString() );
0031     MOCK_CONST_METHOD0( prettyName, QString() );
0032     MOCK_METHOD0( tracks, Meta::TrackList() );
0033     MOCK_CONST_METHOD0( isCompilation, bool() );
0034     MOCK_CONST_METHOD0( hasAlbumArtist, bool() );
0035     MOCK_CONST_METHOD0( albumArtist, Meta::ArtistPtr() );
0036 };
0037 }
0038 
0039 #endif