ByteHamster
7702c9ee8c
Convert playback speeds to float
...
Advantage: When setting the speed to a value that is not available for the button
using the audio controls dialog, we no longer jump to the lowest value. Instead,
we jump to the next bigger one.
2020-01-20 15:33:24 +01:00
H. Lehmann
51c717c41b
Merge pull request #3698 from ByteHamster/fix-mark-played-button
...
Fixed mark played button not working
2019-12-20 00:13:19 +01:00
ByteHamster
b5f15c6fe7
Fixed mark played button not working
2019-12-20 00:03:07 +01:00
ByteHamster
1a8c83548b
Ignore more playback related tests on CI
2019-12-19 23:44:31 +01:00
ByteHamster
d41d58063e
Ignore PlaybackTest on CI
2019-12-12 09:47:16 +01:00
ByteHamster
376600d5b4
Read current media from preferences instead of activity->fragment->controller
2019-12-12 09:47:16 +01:00
ByteHamster
51442cb047
Making sure to not click the wrong list
...
We might have multiple lists with the same ID in the hierarchy
2019-12-12 09:47:16 +01:00
ByteHamster
44aa0a3239
Try to kill playback service but do not fail if it does not stop
...
Android has no reliable way to stop a service instantly.
Calling stopSelf marks allows the system to destroy the service but the actual call
to onDestroy takes until the next GC of the system, which we can not influence.
Try to wait for the service at least a bit.
2019-12-12 09:47:16 +01:00
ByteHamster
44f5cad4e6
Do not try to click play in off-screen list
2019-12-12 09:47:16 +01:00
ByteHamster
ca16dddef1
Don't load queue multiple times
2019-12-12 09:47:16 +01:00
ByteHamster
09dc16c651
Fixed asset not being found
2019-12-12 09:47:16 +01:00
ByteHamster
a20ef049e1
Fixed test if wifi is disabled
2019-12-12 09:47:15 +01:00
ByteHamster
a9987aeaa6
Replaced inheritance with parameterized test
2019-12-12 09:47:15 +01:00
ByteHamster
e77ecda206
Fixed cases where one failing test broke all following tests
...
Select a random port for the http server, so we do not get EADDRINUSE
2019-12-12 09:47:15 +01:00
ByteHamster
0d5e3307b0
Making sure that activity is finished when deleting feed data
2019-12-12 09:47:15 +01:00
ByteHamster
75754ba0f8
Give the test some more time
...
Also, use 30sec to prevent passing because of playback finished instead of skipping
2019-12-12 09:47:15 +01:00
ByteHamster
e51a107083
Fixed tests on small screens
...
In general, made some tests more stable
2019-12-12 09:47:15 +01:00
ByteHamster
5789704c8f
Removed intendation monster
2019-12-02 10:37:19 +01:00
H. Lehmann
55453c543f
Merge pull request #3653 from ByteHamster/test-playback-speed
...
Added test for changing playback speed
2019-12-01 23:02:07 +01:00
ByteHamster
19c7108dfb
Added test for changing playback speed
2019-12-01 22:55:35 +01:00
H. Lehmann
90f578aa48
Merge pull request #3656 from ByteHamster/fix-tests3
...
More test fixes
2019-11-28 22:59:54 +01:00
ByteHamster
e593e37dd5
Simplified playback test
2019-11-28 22:55:11 +01:00
ByteHamster
48deef165c
Fixed episode cleanup test on small screens
2019-11-28 22:49:04 +01:00
ByteHamster
8d3dde8cd5
Fixed drawer tests when having a small screen
2019-11-28 22:45:35 +01:00
ByteHamster
816a885f6b
Fixed db cleanup tests
...
Cleanup is currently just enabled if autodownload is enabled
2019-11-28 12:14:12 +01:00
ByteHamster
4a3db25876
Fixed some lint errors
2019-11-22 19:29:17 +01:00
H. Lehmann
19a6f613e9
Merge pull request #3604 from ByteHamster/fix-tests
...
Speed up some tests
2019-11-12 20:38:09 +01:00
ByteHamster
c0f5046584
Switched to awaitility
...
Test now takes only half of the time
2019-11-12 20:24:28 +01:00
ByteHamster
8aaf4af6f8
Fixed some tests
2019-11-12 19:49:58 +01:00
orionlee
dc6221fb82
respect download order - dequeue upon cancelling download
2019-11-06 14:03:26 -08:00
orionlee
a6e5cd144d
refactor downloadMedia() - make DownloadService accepts a batch of DownloadRequests.
...
- the DB logic originally in DBTasks.downloadFeedItems() are moved to DownloadService.
2019-11-06 14:03:21 -08:00
orionlee
fe33821e68
Refactor downloadMedia() : move entry points to DownloadRequester (from DBTasks)
2019-11-06 13:54:20 -08:00
orionlee
9e8904bbca
code style fixes
2019-11-05 12:34:11 -08:00
orionlee
f8fbc8e649
test fix: ensure test is not dependent on UserPreferences's enqueueLocation
2019-11-05 12:34:11 -08:00
orionlee
52f6a121f1
AFTER_CURRENTLY_PLAYING enqueue location option - test boundary condition handling
2019-11-05 12:34:11 -08:00
orionlee
bddd2bfa2e
enqueue location: use the new 3-value settings
2019-11-05 12:34:11 -08:00
orionlee
52521ecddb
#2652 the UI of a new setting enqueue location
...
- replaced existing enqueue at front
- the option after current episode will replace Keep In-Progress in Queue that was in the PR (30f104f4
).
2019-11-05 12:34:11 -08:00
orionlee
d24669d4c1
refactor extract common FeedItem List to IDs method
2019-11-05 12:34:11 -08:00
orionlee
418d4fa4d4
bugfix respect download order - obey user settings "Enqueue Downloaded"
2019-11-05 12:34:11 -08:00
ByteHamster
69f3a1210f
Do not refresh feeds more often than necessary
2019-10-30 19:27:38 +01:00
ByteHamster
ea6b41116f
Extracted DownloaderFactory to new class
2019-10-30 18:16:26 +01:00
ByteHamster
369b89f1db
Making sure that tests click on preference, not preferenceCategory
2019-10-25 15:29:54 +02:00
H. Lehmann
57818ade38
Merge branch 'develop' into more-eventbus-migration
2019-10-25 11:40:18 +02:00
H. Lehmann
a047e34f8e
Merge pull request #3528 from orionlee/podcast_screen_sort_2524
...
Sort Support in Podcast screen
2019-10-25 11:38:31 +02:00
ByteHamster
1de76f789f
Removed EventDistributor
2019-10-25 11:25:21 +02:00
ByteHamster
728ed23077
Migrated feed list update event to EventBus
2019-10-25 11:19:52 +02:00
orionlee
562ddee7d7
sort in podcast screen - db persistence
2019-10-20 15:21:46 -07:00
ByteHamster
fea84424e3
Removed code duplication from playback tests, added test for ExoPlayer
2019-10-20 23:49:14 +02:00
ByteHamster
6e35861a61
Made playback speed test faster
2019-10-20 23:02:57 +02:00
ByteHamster
3c8a650e5b
Fixed filename generator test
2019-10-20 22:09:07 +02:00