2
0
mirror of https://github.com/koreader/koreader synced 2024-11-10 01:10:34 +00:00
koreader/spec/unit
Benoit Pierre 075edf9980 tests/readerhighlight: speedup
Reduce time to run those tests by 74% on my machine (~8.8s → ~2.3s).
2024-05-09 14:04:57 +02:00
..
autofrontlight_spec.lua Kindle: Add a hasLightSensor devcap, and use it in the AutoFrontlight plugin (#11255) 2023-12-24 17:15:30 +01:00
autosuspend_spec.lua UIManager: get rid of self._running and self._run_forever (#9669) 2022-10-27 22:08:38 +02:00
background_runner_spec.lua UIManager: get rid of self._running and self._run_forever (#9669) 2022-10-27 22:08:38 +02:00
background_task_plugin_spec.lua UIManager: get rid of self._running and self._run_forever (#9669) 2022-10-27 22:08:38 +02:00
batterystat_spec.lua SystemStat: Show awake/suspend/standby breakdown in % (#9257) 2022-06-27 21:16:51 +02:00
benchmark.lua Travis: run luacheck on unit tests (#3059) 2017-08-08 13:35:40 -07:00
cache_spec.lua Cache: Rewrite based on lua-lru 2021-05-05 20:37:33 +02:00
commonrequire.lua tests: ensure successive testsuite runs work 2024-05-09 14:04:57 +02:00
datetime_spec.lua Duration format: Add spaces, remove lead zeros for Letters (#10141) 2023-02-22 20:38:57 +01:00
dbg_spec.lua dbg_spec: setVerbose test 2017-10-12 19:39:52 +02:00
defaults_spec.lua Misc: Get rid of the legacy defaults.lua globals (#9546) 2022-09-28 01:10:50 +02:00
depgraph_spec.lua Tame a few tests that relied on pairs being somewhat deterministic (#6371) 2020-07-14 18:25:26 +02:00
device_spec.lua Misc: Review pass on the previous commits 2023-08-15 21:24:11 +02:00
docsettings_spec.lua DocSettings (again) (#11020) 2023-10-31 07:30:39 +02:00
document_registry_spec.lua Tests: make sure files are deleted (#6323) 2020-06-28 08:03:37 +02:00
document_spec.lua tests: fix EPUB test (#11776) 2024-05-08 20:03:40 +02:00
eink_optimization_spec.lua move e-ink related settings to a submenu (#4246) 2018-10-10 21:34:47 +02:00
exporter_plugin_main_spec.lua Refactor exporter.koplugin (#8944) 2022-05-06 22:44:28 +02:00
filemanager_spec.lua File browser, Collection: improve group actions (#11178) 2023-12-10 08:05:34 +02:00
filemanagerconverter_spec.lua Update UI layout code to use new SVG icons 2020-12-19 14:49:18 +01:00
focusmanager_spec.lua InputContainer: Fall cleanup ;). 2022-10-29 22:55:20 +02:00
font_spec.lua Decrease fonts memory use (#10618) 2023-07-04 09:13:16 +02:00
frontlight_spec.lua Kindle: Fix a smattering of frontlight bugs 2023-11-25 20:53:36 +01:00
gesturedetector_spec.lua Input/Device: Refactor Gyro events handling (#9935) 2022-12-21 15:50:39 +01:00
gesturerange_spec.lua test(chore): remove side effects 2017-01-30 05:53:44 -08:00
gettext_spec.lua tests: fix listing tests with busted --list 2023-07-04 08:12:07 +02:00
hook_container_spec.lua Move kobo auto-suspension logic out of UIManager (#2933) 2017-06-23 10:04:11 -07:00
httpclient_spec.lua UIManager: get rid of self._running and self._run_forever (#9669) 2022-10-27 22:08:38 +02:00
imagewidget_spec.lua "Fix" the ImageWidget test 2022-06-13 02:37:01 +02:00
input_spec.lua Input: Actually fix the timer double-free 2022-08-16 18:09:46 +02:00
inputtext_spec.lua You're doing it wrong, inputtext_spec... 2022-10-06 19:28:26 +02:00
koptinterface_spec.lua Clarify our OOP semantics across the codebase (#9586) 2022-10-06 02:14:48 +02:00
kosync_spec.lua [doc] Tag @todo, @fixme and @warning (#5244) 2019-08-23 19:53:53 +02:00
luadata_spec.lua tests: fix listing tests with busted --list 2023-07-04 08:12:07 +02:00
luasettings_spec.lua tests: fix listing tests with busted --list 2023-07-04 08:12:07 +02:00
menu_table_screen_color_spec.lua chore: add test for screen color toggle 2019-04-24 21:09:23 +02:00
menusorter_spec.lua Tame a few tests that relied on pairs being somewhat deterministic (#6371) 2020-07-14 18:25:26 +02:00
mock_time_spec.lua Travis: run luacheck on unit tests (#3059) 2017-08-08 13:35:40 -07:00
mock_time.lua [timeval] RIP on All Saints Day (#9686) 2022-11-01 00:03:22 +01:00
network_manager_spec.lua Fix connection bug with non-ASCII SSIDs in wpa_supplicant (#11089) 2023-11-09 21:08:26 +01:00
networksetting_spec.lua Various Wi-Fi QoL improvements (#6424) 2020-07-27 03:39:06 +02:00
nickel_conf_spec.lua [fix, Kobo] Don't crash trying to sync frontlight with Nickel. (#5361) 2019-09-11 18:11:24 +02:00
opds_spec.lua tests: tag tests relying on a working internet access (#10939) 2023-09-24 18:18:03 +02:00
optmath_spec.lua [autosuspend, plugin] Switch to datetimewidget and provide default values (#8480) 2021-11-28 22:18:44 +01:00
persist_spec.lua Persist: unbreak serialize for serpent 2022-10-06 19:28:26 +02:00
quickstart_spec.lua quickstart fix (#2804) 2017-04-24 08:27:29 +02:00
random_spec.lua Update KOSyncClient 2016-08-10 10:42:51 -07:00
readerbookmark_spec.lua tests/readerbookmark: avoid changing versioned files 2024-05-09 14:04:57 +02:00
readerdictionary_spec.lua [chore] Fix todo and fixme tags (#8365) 2021-10-23 16:29:00 +02:00
readerfooter_spec.lua ReaderFooter: separate ToggleFooterMode from TapFooter 2023-05-01 15:28:26 -04:00
readerhighlight_spec.lua tests/readerhighlight: speedup 2024-05-09 14:04:57 +02:00
readerlink_spec.lua tests/readerlink: speedup 2024-05-09 14:04:57 +02:00
readerpaging_spec.lua Revert "Tests: "Unbreak" some more tests" 2023-08-15 21:24:11 +02:00
readerrolling_spec.lua Input/Device: Refactor Gyro events handling (#9935) 2022-12-21 15:50:39 +01:00
readersearch_spec.lua Text search: various Kopt search fixes 2023-07-04 09:03:34 +02:00
readertoc_spec.lua ReaderToc: rework getChapterPageCount/Left/Done() 2023-10-09 00:15:05 +02:00
readerui_spec.lua ReaderUI: minor optimization (#10634) 2023-07-03 17:43:13 +03:00
readerview_spec.lua tests: minor cleanup 2023-07-04 08:12:07 +02:00
readhistory_spec.lua Datastorage: do not create unnecessary folders (#10162) 2023-03-02 08:39:09 +02:00
screenshoter_spec.lua Input/Device: Refactor Gyro events handling (#9935) 2022-12-21 15:50:39 +01:00
size_spec.lua Added Size module 2017-09-23 20:24:45 +02:00
spore_spec.lua UIManager: get rid of self._running and self._run_forever (#9669) 2022-10-27 22:08:38 +02:00
switch_plugin_spec.lua SwitchPlugin and BackgroundTaskPlugin with tests (#3137) 2017-08-31 16:37:39 +02:00
taskqueue_bench.lua [UIManager] Reverse order of _task_queue (#9706) 2022-11-02 20:08:15 +01:00
textboxwidget_spec.lua TextBoxWidget: use xtext for text shaping 2019-11-16 18:41:14 +01:00
time_spec.lua Optimization: Use constant folding for divisions not a power of two (#9609) 2022-10-10 22:21:27 +02:00
toggleswitch_spec.lua [spec] Add ToggleSwitch spec stub (#5450) 2019-10-06 21:33:48 +02:00
touch_probe_spec.lua Travis: run luacheck on unit tests (#3059) 2017-08-08 13:35:40 -07:00
translator_spec.lua tests: tag tests relying on a working internet access (#10939) 2023-09-24 18:18:03 +02:00
uimanager_bench.lua [UIManager] Reverse order of _task_queue (#9706) 2022-11-02 20:08:15 +01:00
uimanager_spec.lua [UIManager] Reverse order of _task_queue (#9706) 2022-11-02 20:08:15 +01:00
util_spec.lua md5: centralize and deduplicate (#11003) 2023-10-15 07:47:09 +03:00
version_spec.lua [chore, spec] Version: test 8-character hash just in case (#7809) 2021-06-06 18:15:52 +02:00
wakeupmgr_spec.lua Clarify our OOP semantics across the codebase (#9586) 2022-10-06 02:14:48 +02:00
widget_inputcontainer_spec.lua Tame a few tests that relied on pairs being somewhat deterministic (#6371) 2020-07-14 18:25:26 +02:00
widget_menu_spec.lua [fix] Use orderedPairs in touch menu item table (#6404) 2020-07-20 20:58:39 +02:00
widget_progresswidget_spec.lua [travis] Add protection against unscaled sizes 2017-09-23 20:24:45 +02:00
wikipedia_spec.lua Travis: run luacheck on unit tests (#3059) 2017-08-08 13:35:40 -07:00