NewPipe/app/src
Stypox 528bd502b4 Improve SubscriptionManager tests
- fix checkstyle errors
- tests do not run in order, so each one has to do its own assertions separately from what others did
- the uid of an entity in the database needn't be the same of the one created in-memory, since the uid gets assigned upon inserting in the database
- some database functions return a `Completable` that doesn't do anything until it is subscribed to or awaited, so I added `.awaitBlocking()` where needed
- the data of an entity in-memory does not get updated automatically when the corresponding entity in the database is changed, so some tests have been removed
- `manager.insertSubscription` only inserts recent streams, so they need to have a date set on them (I also made related items hardcoded and not dependent on what the channel is currently doing)
2023-07-18 08:36:29 +02:00
..
androidTest/java/org/schabi/newpipe Improve SubscriptionManager tests 2023-07-18 08:36:29 +02:00
debug Fix DebugApp doing unneeded AppWatcher.manualInstall 2023-07-14 18:32:04 +02:00
main Merge pull request #10230 from TeamNewPipe/fix/offline-stream-chooser 2023-07-17 23:47:21 +02:00
test fix: audio stream cache key, code fmt 2023-05-01 00:04:04 +02:00