Commit Graph

57 Commits

Author SHA1 Message Date
wb9688 fda5405e48 Improve code style to be more consistent 2020-04-02 15:57:50 +02:00
Mauricio Colli e6b3107997
Add tests for database migration to version 3 handling null values 2020-03-30 15:50:47 -03:00
Mauricio Colli 6a9a0f1e73
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 bf2a3ca043 Migrate to AndroidX 2019-10-04 14:59:08 +02:00
Christian Schabesberger b4ef20e785 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
Christian Schabesberger b1d2e64450 ad service_id field, and pulled video/audio stream out of streaminfo 2016-03-04 13:45:41 +01:00
Christian Schabesberger 68b7d9cdff made duration an integer, and made youtubesearch engine throw more parsingexceptions 2016-03-02 02:36:45 +01:00
Christian Schabesberger 97d76aee18 fixed failing unit test 2016-03-01 23:54:26 +01:00
Christian Schabesberger 045ca40a77 renamed video classes to stream classes 2016-02-27 16:37:15 +01:00
Christian Schabesberger 11d3aeb0dd fixed faling searchengine unittest 2016-02-24 22:36:16 +01:00
Christian Schabesberger 3441aceba3 fixed viewcount failure 2016-02-24 16:44:46 +01:00
madiyar 8fc113cc52 Added country language param to the suggestionList method in search engine 2016-02-23 16:22:49 +06:00
Christian Schabesberger 7041e63268 merged age restricted video request 2016-02-22 19:17:05 +01:00
Christian Schabesberger a1479d04df fixed some searchengine errors 2016-02-21 21:08:14 +01:00
rrooij 2edfcb78fe YTStreamExtractor: implement getAgeRestriction 2016-02-21 18:45:28 +01:00
rrooij 3f0947fa5b Add unit test for restricted YouTube videos 2016-02-21 18:25:18 +01:00
Christian Schabesberger a94f9fd3e5 made the ui react on missing information 2016-02-18 13:49:01 +01:00
Christian Schabesberger 77850464d4 renamed crawler into extractor 2016-02-18 11:50:22 +01:00
Christian Schabesberger 3e9edba189 fix broken unit test 2016-02-18 11:47:21 +01:00
Christian Schabesberger 751ffb9de9 quick and dirty solution for download/audio bug
Youtube has changed (again) this time it was a bit harder,
therfor the changes are deeper. May be still a bit unstable.
2016-02-12 01:29:14 +01:00
Christian Schabesberger 7cc1c0fbdd merge code, and adjust code 2016-02-05 17:09:29 +01:00
Christian Schabesberger 14fb7d8a7a fixed failing tests 2016-02-02 19:01:53 +01:00
Christian Schabesberger fb942912db disable gema test agian 2016-01-31 20:16:21 +01:00
Christian Schabesberger 7f12b58722 use java error system in the crawler 2016-01-31 19:57:30 +01:00
Christian Schabesberger f8ed96bb25 renamed services into crawer 2016-01-28 21:34:35 +01:00
Christian Schabesberger 9d5a1d5c43 removed unnececeary comment 2016-01-05 21:54:40 +01:00