Commit Graph

7 Commits

Author SHA1 Message Date
Yahor Berdnikau c917bcb1a6 Update ktlint to 0.12.1 version.
Also updated ktlint-gradle to 2.3.0 version. Added ktlint reports to
circle CI.

Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-11-16 22:04:38 +01:00
Yahor Berdnikau 947a1ce3b5 Add jukebox control call.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-11-07 21:26:44 +01:00
Yahor Berdnikau ba412721ac Add stream call.
Also introduced helper method in SubsonicApiClient that handles error
cases.

Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-11-05 22:21:25 +01:00
Yahor Berdnikau 48e6788224 Add method to get cover art.
As this call should return byte stream: I've introduced helper method
in client to do the actual call and parse possible json error response.

Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-10-17 21:48:37 +02:00
Yahor Berdnikau 47012c7909 Use same approach to all integration tests.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-08-29 22:25:29 +02:00
Yahor Berdnikau 9bf0176984 Add function to assert right request param.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-08-25 21:31:57 +02:00
Yahor Berdnikau b3dde1938f Split Subsonic API integration test into a smaller classes.
It will be easier to maintain and add new tests.

Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-08-16 21:37:58 +02:00