XiangRongLin
4c233cf8d6
use constant instead of now
2022-01-20 19:14:47 +01:00
XiangRongLin
c34d4c978b
Ensure order of search history entries in tests
2022-01-18 18:36:43 +01:00
XiangRongLin
7cfbd55c3a
Replace JUnit asserts with AssertJ in HistoryRecordManagerTest ( #7654 )
...
* Replace JUnit asserts with AssertJ in HistoryRecordManagerTest
They provide a wider range of assertions, which allow for more detailed error messages.
Also convert SearchHistoryEntry to kotlin data class for better error messages, since toString() is implemented.
Co-authored-by: Mohammed Anas <triallax@tutanota.com>
2022-01-16 09:10:45 +01:00
Stypox
5da7ab6912
Add HistoryRecordManagerTest
2021-12-12 16:00:16 +01:00
Stypox
fc40db5a95
Add DatabaseMocker to mock NewPipeDatabase
2021-12-12 15:59:04 +01:00
Jhon Baron
512427c2d5
Simple Codebase Improvement ( #7132 )
...
* feat: it was added a string variable to avoid replication one.
* Update LocalPlaylistManagerTest.kt
* Update LocalPlaylistManagerTest.kt
* Update LocalPlaylistManagerTest.kt
Co-authored-by: Jhon Camilo Baron Berdugo <jbaron@mutualser.org>
2021-09-22 09:17:53 +02:00
ktprograms
2ed0843707
Remove migration test, add manual testing reminder to Migrations.java
2021-08-17 08:57:03 +08:00
ktprograms
e1b9f18eef
Remove v2 to v3 migration test, add v3 to v4 test
2021-08-16 21:12:54 +08:00
ktprograms
028b7d5c1e
Add uploader_url column to StreamEntity
2021-08-13 16:44:50 +08:00
litetex
fdff92d1a4
Fix format of some kotlin files
...
so that it doesn't annoy people that are building this repo ;)
2021-07-19 20:59:29 +02:00
XiangRongLin
05f9a104f2
Add comment explaining usage Schedulers.trampoline in detail
2021-07-12 18:31:37 +02:00
XiangRongLin
292d2abd62
Add instrumented tests for LocalPlaylistManager.createPlaylist
2021-07-12 18:31:37 +02:00
Stypox
990c3be40c
Fix tests
2021-03-12 23:21:54 +01:00
Stypox
0ea6b4928c
Add report/solve-recaptcha button in error panel
...
It will be shown even when nothing could be loaded not due to a network error, and the user can choose to ignore or report it.
Also improve error reporting arguments
Also completely refactor error activity
Also improve some code here and there
2021-03-12 23:21:49 +01:00
Stypox
bb398189d6
Move all error-related classes into error package
2021-03-07 17:49:28 +01:00
Stypox
34dd7c0fbf
Update most dependencies
2020-11-22 14:03:10 +01:00
Isira Seneviratne
39a008db6e
Convert ErrorInfo to Kotlin and use the Parcelize annotation.
2020-11-21 12:47:35 +05:30
TacoTheDank
0e33cc5d73
Fix some deprecations
2020-09-06 12:52:43 +02:00
wb9688
25b56bf5e4
Use final where possible
2020-08-16 10:25:09 +02:00
Avently
aef78ace88
Merged the latest changes
2020-07-13 04:17:21 +03:00
wb9688
d770cf5657
Auto-format using Ktlint
2020-05-01 20:13:21 +02:00
wb9688
ac264464ef
Improve code style to be more consistent
2020-04-02 15:57:50 +02:00
Mauricio Colli
9dab5aaa28
Add tests for database migration to version 3 handling null values
2020-03-30 15:50:47 -03:00
Mauricio Colli
21d6a9e673
Add tests for migrations in the Room database
...
Doing this increase the level of reliability of migrations, as we can be
pretty much more confident of avoiding problems with them.
2020-03-14 00:12:54 -03:00
Robin
edd5ad2d13
Migrate to AndroidX
2019-10-04 14:59:08 +02:00
Christian Schabesberger
9cea6c8959
fix failing tests
2019-01-29 13:38:38 +01:00
Coffeemakr
b03723c3fb
Code improvements
...
* Replace unchecked casts with checked casts
* remove Utility.finViewById
* Fix return activity checking
* Create UserAction enum
* Fix typos
* Add instrumented test for error info
* ErrorInfo make fields final
* Log exception using logger
* Add inherited annotations
* Resolve deprecation warnings
* Remove unused methods from utility
* Reformat code
* Remove unused methods from Utility and improve getFileExt
* Create OnScrollBelowItemsListener
2017-06-28 18:56:05 +02:00
Christian Schabesberger
477f182b43
convert android tests to junit tests
2017-02-16 00:17:43 +01:00
Christian Schabesberger
7186f58374
remove StreamInfoItemSearchCollector
2017-02-12 14:22:39 +01:00
Christian Schabesberger
38c5cb50fb
fixed Downloader.getInstance() in unit tests
2016-12-24 17:11:29 +01:00
Christian Schabesberger
f575826394
fix unit tests
2016-11-20 19:01:06 +01:00
Christian Schabesberger
379149fe2f
update unit tests so it works with current updates
2016-11-18 23:52:17 +01:00
Christian Schabesberger
01875b389d
clean up extractor
2016-09-28 17:13:15 +02:00
Christian Schabesberger
43afd5a2b8
clean up downloader thing
2016-09-27 22:59:04 +02:00
Christian Schabesberger
caf938f79f
add channel extractor tests
2016-09-12 23:44:57 +02:00
Christian Schabesberger
6beb36f92f
get channel banner
2016-08-01 01:56:19 +02:00
Christian Schabesberger
1fd6685b3b
removed orebot/tor support
2016-07-25 11:59:37 +02:00
Christian Schabesberger
d3d4e8c721
Merge pull request #321 from DevFactory/release/collection-interfaces-should-be-used-fix-1
...
Code quality fix - Declarations should use Java collection interfaces such as "List" rather than specific implementation.
2016-07-25 00:46:33 +02:00
Andoni del Olmo
3add3d75a1
skip ads and channels from test.
2016-07-04 12:05:43 +02:00
Andoni del Olmo
8644a4542a
skip ads and channels from test.
2016-07-04 11:43:18 +02:00
andoni
0b6bae6ce3
change test search term to avoid google ads.
2016-07-03 16:25:32 +02:00
Faisal Hameed
13346ab750
Fixing squid:S1319 - Declarations should use Java collection interfaces such as "List" rather than specific implementation.
2016-07-01 04:05:55 +05:00
Faisal Hameed
404017cba3
Fixing squid:S1192 - String literals should not be duplicated.
2016-06-24 14:54:18 +05:00
Christian Schabesberger
db6613f562
yet another try to fix that test -.-
2016-03-25 20:19:43 +01:00
Christian Schabesberger
a3326dc598
another try to fixe shitty viewcount test
2016-03-25 20:02:50 +01:00
Christian Schabesberger
2a7f729e73
fixed unit test
2016-03-25 19:37:48 +01:00
Christian Schabesberger
6a8c4a65c5
Merge pull request #237 from DevFactory/release/general-code-quality-fix-2
...
General code quality fix-2
2016-03-13 22:30:24 +01:00
Faisal Hameed
2f9142419a
Fixing squid:S1155, squid:S2293, squid:S1488
2016-03-12 02:01:47 +05:00
Christian Schabesberger
b84eb3df7f
made stream type part of abstractVideoinfo
2016-03-11 16:20:02 +01:00
Christian Schabesberger
0c716c12d7
fixed viewcount test again
2016-03-04 13:51:50 +01:00