Carl Suster
9a5be1f971
BPD tests: test supported tag types
...
MPD now supports more fields ("tags") than what BPD advertises. Fixing
this should be a simple task of extending the mapping of fields to tags
in BPD's implementation.
2019-03-31 10:46:14 +11:00
Carl Suster
acd66ce560
BPD tests: run BPD Server with a fake gstplayer
2019-03-31 10:46:14 +11:00
Carl Suster
acc3f3efb0
BPD tests: check all specified commands known
...
The current MPD spec is several versions ahead of BPD. These tests just
compare the full specified list of commands against what BPD claims to
support (without actually testing their implementations). It's handy as
a measure of progress against the specification, but can perhaps be
dropped later once all of the individual protocol methods have tests.
2019-03-31 10:46:14 +11:00
Carl Suster
59e66aaa7f
BPD tests: password command
2019-03-31 10:46:14 +11:00
Carl Suster
078c583434
BPD tests: add basic test framework
...
A simple TCP client wraps the low level protocol to allow testing of the
BPD server as a black box.
2019-03-31 10:46:14 +11:00
jroitgrund@gmail.com
ea307f62d1
Don't move album art twice
2019-03-27 01:41:42 +00:00
Jack Wilsdon
25549a656f
Add test for interpolating byte strings in hook plugin
2019-02-25 14:42:20 +00:00
Adrian Sampson
81c5ae3fdf
Merge pull request #3151 from Holzhaus/playlist-plugin-additions
...
playlist: Add auto-update functionality and more tests
2019-02-18 08:40:55 -05:00
Jan Holthuis
76a3e44aad
test: Make music dir of playlist tests Windows-compatible
2019-02-17 21:27:37 +01:00
Jan Holthuis
7ec55a5f3b
test: Use unicode literals for library queries in playlist tests
2019-02-17 21:27:09 +01:00
Jan Holthuis
a9dd5a7cdc
test: Add testcase for playlist plugin's update functionality
2019-02-17 20:31:15 +01:00
Adrian Sampson
7edba6e9ea
Fix test harness for named queries
2019-02-17 14:11:40 -05:00
Jan Holthuis
1af82cc450
test: Split up playlist test helper class
2019-02-17 19:41:37 +01:00
Adrian Sampson
d8e167637e
Prototype support for named (pseudo-field) queries
...
As discussed here:
https://github.com/beetbox/beets/pull/3145#pullrequestreview-204523870
This would replace the need for #3149 .
2019-02-17 13:41:05 -05:00
Jan Holthuis
5b68d88346
test: Add more playlist tests for the different relative_to settings
2019-02-17 19:36:26 +01:00
Jan Holthuis
9f3acce2ae
test: Add non-existing item to playlist tests
2019-02-17 19:35:54 +01:00
Jan Holthuis
b00b38dab6
test: Add test for relative playlists
2019-02-17 19:35:43 +01:00
Jan Holthuis
14cad04d35
test: Further improve Windows compatibility in playlist plugin test
2019-02-17 19:33:54 +01:00
Adrian Sampson
00667bda0f
Merge pull request #3145 from Holzhaus/playlist-plugin
...
Playlist plugin
2019-02-17 13:16:26 -05:00
Jan Holthuis
d6022e28d7
test: Ensure path quoting in playlist tests
2019-02-17 16:43:36 +01:00
Jan Holthuis
31c687c853
test: Fix playlist plugin path handling for Windows compatibility
2019-02-17 16:17:47 +01:00
Jan Holthuis
32b6df046e
test: Don't use unix-only paths in playlist plugin testcase
2019-02-17 15:57:40 +01:00
Jan Holthuis
d4039be9c0
test: Get rid of TemporaryDirectory to restore Python 2.7 compatibility
2019-02-17 15:39:47 +01:00
Jan Holthuis
d52dcdd48f
test: Add playlist testcases for nonexisting playlists
2019-02-17 15:17:10 +01:00
Jan Holthuis
0988a2a186
test: Add test suite for the playlist plugin
2019-02-17 15:17:10 +01:00
Rahul Ahuja
7b57b0b608
Appease Flake8
2019-01-22 10:53:18 -08:00
Rahul Ahuja
3a67eae46d
Use track attrs directly, better naming/docstrings
2019-01-22 10:41:18 -08:00
Rahul Ahuja
77f9a930b7
Fix remaining test, use official doc wording
2019-01-21 23:15:08 -08:00
Rahul Ahuja
0527edbd48
Fix test index, add docstrings
2019-01-21 23:05:47 -08:00
Rahul Ahuja
2cda2b5b3a
Remove hardcoded ordering of filters in tests
2019-01-21 22:53:23 -08:00
Rahul Ahuja
237792a4fb
Fix other test_track_request case
2019-01-21 22:40:15 -08:00
Rahul Ahuja
f63beca39a
Switch filter ordering in test
2019-01-21 22:35:12 -08:00
Rahul Ahuja
5472a49991
Add candidates and item_candidates, modularize Search API queries
2019-01-21 21:24:41 -08:00
Adrian Sampson
1087740580
Merge pull request #3100 from regagain/fetchart_unittests
...
Unit tests for fetchart plugin iTunes source
2019-01-21 18:19:08 -05:00
Reg
272bf5940b
test_art/iTunesStore: log check fix.
2019-01-21 22:49:19 +01:00
Reg
1be3c954f3
test_art/iTunesStore: Python2 string fix.
2019-01-21 18:26:58 +01:00
Reg
ce35c36762
test_art/iTunesStore: Verify logs.
2019-01-20 23:09:18 +01:00
Rahul Ahuja
b95eaa8ffe
fix test, document Spotify ID
2019-01-20 02:20:10 -08:00
Rahul Ahuja
9a30000b56
better naming, formatting
2019-01-20 02:04:46 -08:00
Rahul Ahuja
104f6185ab
revert unnecessary double --> single quotes
2019-01-19 23:57:36 -08:00
Rahul Ahuja
337cf2a1c3
appease Flake8
2019-01-19 23:35:06 -08:00
Rahul Ahuja
dc77943da2
try oauth token mock
2019-01-19 23:21:02 -08:00
Reg
088b5b173d
test_art/iTunesStore: Check match level is as expected
2019-01-19 14:58:41 +01:00
Reg
57c27039d6
test_art/iTunesStore: renamed test for clarity
2019-01-12 19:54:49 +01:00
Reg
fa32485755
test_art/iTunesStore: requestexception test improvements
2019-01-10 20:03:32 +01:00
Reg
ac09c480c9
test_art/iTunesStore: removed unnecessary statement and renamed test
2018-12-27 09:44:04 +01:00
Reg
5d1c97824c
Unit tests for fetchart plugin iTunes source
2018-12-23 17:48:44 +01:00
Reg
f955f72e2c
test_fetchart: Fix for hidden files on Windows
2018-12-21 11:27:09 +01:00
Reg
54a83fa941
Fetchart / ignore settings tests
2018-12-20 18:44:55 +01:00
Reg
0696f915e5
test_fetchart: Avoid duplicate code in future tests.
2018-12-20 18:44:55 +01:00