Commit Graph

260 Commits

Author SHA1 Message Date
Johan Klinge
6af3b4efed Adding property IsTestProject=true to the test csproj files 2018-12-07 15:58:53 +01:00
Johan Klinge
4dce1b0cad Reverting to target netstandard1.1 on Lastfm.Core and Lastfm.SQLite 2018-12-07 15:42:04 +01:00
Johan Klinge
501ecc9e3d Appveyor still not getting assets - retarget SQLite project to netstandard2.0 and changes to appveyor.yml 2018-12-06 14:00:44 +01:00
Johan Klinge
1afc4b143d IF.Lastfm.Core setting TargetFramework to netstandard2.0 2018-12-06 11:41:11 +01:00
Johan Klinge
17d18ad73a Updated TargetFramework for IF.Lastfm.Core and IF.Lastfm.SQLite to netcoreapp2.1 2018-12-06 11:12:14 +01:00
Johan Klinge
79ea242850 Fix to resx file 2018-12-04 15:56:17 +01:00
Johan Klinge
450779a39f ChartGetTopTagsTest - fix for bug? in the lastfm api chart.getTopArtists 2018-12-04 15:31:29 +01:00
Johan Klinge
6562cb3f0e Updated SQLite Integration test project 2018-12-04 14:06:43 +01:00
Johan Klinge
d654ac9178 Updated Core.Integration tests - removed old files 2018-12-04 13:01:01 +01:00
Johan Klinge
cc0efd1397 Fixed Scrobbler tests 2018-12-04 11:19:57 +01:00
Johan Klinge
014cd65654 Added Scrobbler tests - still not working 2018-12-03 17:56:17 +01:00
Johan Klinge
1ca1bde62f Structuring - moved tests to appropriate folders 2018-12-03 17:38:23 +01:00
Johan Klinge
c201b885ef Updated last tests - all tests now passing 2018-12-03 17:33:49 +01:00
Johan Klinge
d6214f09e3 Updated Tracks and misc tests 2018-12-03 17:09:09 +01:00
Johan Klinge
24a5896b89 Updated Library and Tag tests 2018-12-03 17:00:01 +01:00
Johan Klinge
f00cb88ea4 Updated tests for Album and Artist 2018-12-03 16:45:04 +01:00
Johan Klinge
806d146d63 Resource embed in csproj and new method GetFileContents in CommandTestBase 2018-12-03 16:02:05 +01:00
Johan Klinge
e429bbcaa9 Added tests 2018-12-03 00:03:15 +01:00
Johan Klinge
f8e02745e2 Started with CoreTests 2018-12-02 17:39:47 +01:00
Rikki Tooley
03ebcb270a
Merge pull request #130 from c-d/feature/127-album-user-info
Add optional username parameter to AlbumApi.GetInfo.
2018-10-14 22:27:59 +01:00
Tim Stadler
40f9cbad33 Forgot one method :) 2018-10-14 15:26:39 +02:00
Tim Stadler
a74aa21943 Complete ITagApi interface definition 2018-10-14 15:20:46 +02:00
Chris Deaker
e668e0ef31 Add optional username parameter to AlbumApi.GetInfo. 2018-10-10 20:47:48 +13:00
Rikki Tooley
4fc978b053 Add version properties to csprojs so AppVeyor version patching works 2018-07-01 21:02:55 +01:00
Rikki Tooley
aed127578b
Merge pull request #116 from coczero/UserPlayCount
Added UserPlayCount property to LastTrack
2018-05-19 13:14:15 +01:00
Tim Stadler
6c754e90ca Added UserPlayCount property to LastTrack 2018-05-13 22:07:48 +02:00
David Merryman
318b3795b2 Added GetLovedTracksCommand.cs (#110)
Added GetLovedTracksCommand.cs Added json for testing it, and Unit
Tests. Modified UserApi and IUserApi to add
2018-04-27 11:21:37 +01:00
Rikki Tooley
ca1559bdf8 Add delays between integration tests to make them more reliable, some tidying 2017-09-24 16:10:47 +01:00
Rikki Tooley
5151de8dff Fix cached scrobbles not being removed from cache, accepted count on ScrobbleAsync.ScrobbleResponse not being set
- Update tests data
2017-09-24 15:51:48 +01:00
Rikki Tooley
f71140ae2d Add RemoveFromCache and GetCachedCount methods to IScrobbler and SQLite implementation
- change scrobbler behaviour to remove sucessfully scrobbled tracks from the cache
- change return value of Scrobble methods - will always be either Successful, Cached. Actual failure reason may be stored by Scrobbler cache impl
- Remove CacheEnabled property from IScrobbler. Just use new MemoryScrobbler class if needed
- Remove Scrobbler class, add MemoryScrobbler. No migration path because the behaviour is different - and the old behaviour not that useful
2017-08-24 01:19:12 +01:00
Rikki Tooley
2620e5e5a2 Consolidate NuGet packages, migrate IF.Lastfm.SQLite to netstandard1.1
- upgrade sqlite-pcl-net dependency to latest stable
2017-08-24 01:12:02 +01:00
Rikki Tooley
79a32d0832 Undo using C# 7 feature, doesn't build on CI server atm 2017-04-16 19:16:36 +01:00
Rikki Tooley
894d81c740 Add small integration test for Lastfm.User.GetInfoAsync()
- proves #100 is fixed, can add checks for the other fields later
2017-04-16 19:03:35 +01:00
Rikki Tooley
c7a36350b7 Fix chart get top tags integration tests, api now uses the page size parameter 2017-04-16 18:54:10 +01:00
Rikki Tooley
ba202ca6f5 Consolidate Json.Net version to 9.0.1, upgrade test projects and syro to .Net 4.6.2 2017-04-16 18:51:31 +01:00
Tim Stadler
3403709448 Complete LastUser implementation
Fix tabs to fit If.lastfm style

Tabs -> Spaces
2017-04-10 20:10:42 +02:00
Rikki Tooley
b1034be2b8 Merge branch 'netstandard'
# Conflicts:
#	appveyor.yml
2016-12-05 01:34:12 +00:00
Rikki Tooley
dc30c7ad67 Make LastFm class static 2016-12-05 00:40:34 +00:00
Rikki Tooley
46036a390e Add library.getArtists
- supports paging (starts at 1)
- made LastArtist.PlayCount int?
- update PROGRESS.md
2016-11-30 04:30:03 +00:00
Rikki Tooley
440577c0c1 Tidying ApiBase class 2016-11-30 03:34:31 +00:00
Rikki Tooley
2625131422 Support .Net Standard 1.1 #88
- Upgrade JSON.NET from 6.0.8 to 9.0.1
- Change from Microsoft.Net.Http 2.2.28 to System.Net.Http 4.3.0 (this package doesn't support .Net Standard 1.0)
- This commit deprecates support for Windows Phone Silverlight 8.0
- Remove IF.Lastfm.SQLite project from the solution so it can be upgraded to .Net Standard separately
2016-11-30 03:18:39 +00:00
Branimir Ricko
380b17a333 Moved _auth/Auth field/property to Helper Base class IF.Lastfm.Core.Helpers.ApiBase, because every class that inherits form ApiBase, has _auth/Auth field/property 2016-11-28 19:39:27 +01:00
Branimir Ricko
d061f5d2d8 Upgraded Microsoft.Bcl.Build version form 1.0.14 to 1.0.21 on projects IF.Lastfm.SQLite and IF.Lastfm.SQLite.Tests.Integration. For some reason it didn't build with versioon 1.0.14 2016-11-28 19:01:55 +01:00
Rikki Tooley
fe50f7e00e Add chart.getTopTags, plus integration tests for ChartApi
- chart.* methods don't seem to use page or limit parameters right, see #90
2016-05-28 02:11:44 +01:00
Rikki Tooley
08b32a62fa Fix tag.getTopArtists error test #87 2016-05-26 23:53:40 +01:00
Rikki Tooley
b285c273e9 Merge branch 'fckoppenol-master' 2016-05-26 23:32:53 +01:00
Rikki Tooley
68e36f0139 Fix ArtistGetTopTagsCommandTests
- also add validation to Artist.GetTopTagsCommand.
2016-05-26 23:32:22 +01:00
Rikki Tooley
7ecc82b20e "fix" failing test 2016-05-22 23:54:04 +01:00
Rikki Tooley
60ea301d1f Code tidying
- pressed a few buttons in ReSharper
2016-05-22 23:34:03 +01:00
Dave Conley
bdec7c9a35 Added tag.getTopTracks 2016-05-19 12:06:53 +01:00