public void SetUp() { querySource = new QuerySourceList(); artist = new Artist(TranslatedString.Create("Junk")) { Id = 257 }; song = new Song(new LocalizedString("Nebula", ContentLanguageSelection.English)) { Id = 121, SongType = SongType.Original, PVServices = PVServices.Youtube, CreateDate = new DateTime(2012, 6, 1) }; AddSong(song); songWithArtist = new Song(new LocalizedString("Crystal Tears", ContentLanguageSelection.English)) { Id = 7787, FavoritedTimes = 39, CreateDate = new DateTime(2012, 1, 1) }; songWithArtist.AddArtist(artist); AddSong(songWithArtist); queryParams = new SongQueryParams(); search = new Model.Service.Search.SongSearch.SongSearch(querySource, ContentLanguagePreference.Default); }
public void SetUp() { querySource = new QuerySourceList(); artist = new Artist(TranslatedString.Create("XenonP")) { Id = 64 }; querySource.Add(artist); album = new Album(new LocalizedString("Synthesis", ContentLanguageSelection.English)) { Id = 1, DiscType = DiscType.Album, CreateDate = new DateTime(2011, 1, 16) }; AddAlbum(album); albumWithArtist = new Album(new LocalizedString("DIVINE", ContentLanguageSelection.English)) { Id = 1010, DiscType = DiscType.Unknown, RatingAverage = 4.5, CreateDate = new DateTime(2012, 1, 15) }; albumWithArtist.AddArtist(artist); AddAlbum(albumWithArtist); queryParams = new AlbumQueryParams(); search = new Model.Service.Search.AlbumSearch.AlbumSearch(querySource, ContentLanguagePreference.Default); }
public void SetUp() { _querySource = new QuerySourceList(); _target = new ReleaseEventSearch(_querySource); _series = CreateSeries("Comiket", "C", "c", "Comic Market"); _eventInSeries = CreateEvent(_series, 84); _unsortedEvent = CreateEvent("Vocaloid Festa"); }
public void SetUp() { querySource = new QuerySourceList(); target = new ReleaseEventSearch(querySource); series = CreateSeries("Comiket", "C", "c", "Comic Market"); eventInSeries = CreateEvent(series, 84); unsortedEvent = CreateEvent("Vocaloid Festa"); }