Lines Matching refs:album
32 LibraryEntry(const std::string& artist, const std::string& album,
35 album(album),
39 std::string album;
117 void ExpectTrackLocation(const std::string& artist, const std::string& album,
123 artist, album, track_name).NormalizePathSeparators().value());
126 void ExpectNoTrack(const std::string& artist, const std::string& album,
129 artist, album, track_name).empty()) << track_name;
190 " <key>Album</key><string>%s</string>\n"
193 entries[i].album.c_str());
218 entries.push_back(LibraryEntry("Artist", "Album", track));
230 EXPECT_TRUE(data_provider()->KnownAlbum("Artist", "Album"));
232 EXPECT_FALSE(data_provider()->KnownAlbum("Artist2", "Album"));
235 ExpectTrackLocation("Artist", "Album", "Track.mp3");
236 ExpectNoTrack("Artist", "Album", "Track2.mp3");
238 ExpectNoTrack("Artist2", "Album", "Track.mp3");
250 EXPECT_EQ("Album", *albums.begin());
258 ITunesDataProvider::Album album =
259 data_provider()->GetAlbum("Artist", "Album");
260 ASSERT_EQ(1U, album.size());
261 EXPECT_EQ(track.BaseName().AsUTF8Unsafe(), album.begin()->first);
263 album.begin()->second.NormalizePathSeparators().value());
265 album = data_provider()->GetAlbum("Artist", "Album2");
266 EXPECT_EQ(0U, album.size());
268 album = data_provider()->GetAlbum("Artist2", "Album");
269 EXPECT_EQ(0U, album.size());
286 entries.push_back(LibraryEntry("Artist", "Album", track));
294 ExpectTrackLocation("Artist", "Album", "Track.mp3");
308 ExpectTrackLocation("Artist", "Album", "Track.mp3");
320 ExpectNoTrack("Artist", "Album", "Track.mp3");
336 entries.push_back(LibraryEntry("Artist", "Album", track));
368 // Dupe album names should get uniquified with the track id, which in the
370 entries.push_back(LibraryEntry("Artist", "Album", track));
371 entries.push_back(LibraryEntry("Artist", "Album", track));
383 "Artist", "Album",
387 "Artist", "Album",
412 entries.push_back(LibraryEntry("Artist:/name", "Album:name/", track));
413 entries.push_back(LibraryEntry("Artist/name", "Album:name", track));
414 entries.push_back(LibraryEntry("Artist/name", "Album:name", track));