2
0
mirror of https://github.com/koreader/koreader synced 2024-11-18 03:25:46 +00:00
koreader/spec/unit
NiLuJe b523c2e8b9 InputContainer: Fall cleanup ;).
Get rid of the doc & seqtext fields, as they are not actually used (nor
are they particularly useful, the event handler's name should be pretty
self-explanatory).

Also, tweak the key_events documentation to highlight the quirks of the
API, especially as far as array nesting is involved...

Random drive-by cleanup of the declarations of key_events & ges_events
to re-use the existing instance object (now that we know they're sane
;p) for tables with a single member (less GC pressure).
2022-10-29 22:55:20 +02:00
..
autofrontlight_spec.lua UIManager: get rid of self._running and self._run_forever (#9669) 2022-10-27 22:08:38 +02: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 Assorted bag'o tweaks & fixes (#9569) 2022-10-02 03:01:49 +02: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 Assorted bag'o tweaks & fixes (#9569) 2022-10-02 03:01:49 +02:00
docsettings_spec.lua Use fsync() for more robust setting files saving 2019-12-10 23:57:32 +01:00
document_registry_spec.lua Tests: make sure files are deleted (#6323) 2020-06-28 08:03:37 +02:00
document_spec.lua Misc: Get rid of the legacy defaults.lua globals (#9546) 2022-09-28 01:10:50 +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 Tests: Handle FM/ReaderUI instances slightly more sanely 2021-05-19 20:55:00 +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 dbg(add): guard method to toggle assert at based at runtimemode 2016-03-28 23:38:25 -07:00
frontlight_spec.lua Slightly less crappy Nightmode (#4871) 2019-04-08 23:05:08 +02:00
gesturedetector_spec.lua Pocketbook: Implement HW screen rotation, bring in PB specific kludges from linuxfb (#6684) 2020-09-22 22:04:37 +02:00
gesturerange_spec.lua test(chore): remove side effects 2017-01-30 05:53:44 -08:00
gettext_spec.lua [i18n] GetText: ignore fuzzy strings (#5807) 2020-02-03 12:11:07 +01: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 Misc: Get rid of the legacy defaults.lua globals (#9546) 2022-09-28 01:10:50 +02:00
luasettings_spec.lua LuaSettings: Add a method to initialize a setting properly (#7371) 2021-03-06 22:44:18 +01: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 Clarify our OOP semantics across the codebase (#9586) 2022-10-06 02:14:48 +02:00
network_manager_spec.lua [chore] Some Wi-Fi tweaks (#4564) 2019-02-08 22:29:11 +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 OPDSbrowser refactoring (#9703) 2022-10-29 19:06:42 +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
readerbookmark_spec.lua Tests: Handle FM/ReaderUI instances slightly more sanely 2021-05-19 20:55:00 +02:00
readerdictionary_spec.lua [chore] Fix todo and fixme tags (#8365) 2021-10-23 16:29:00 +02:00
readerfooter_spec.lua Misc: Get rid of the legacy defaults.lua globals (#9546) 2022-09-28 01:10:50 +02:00
readerhighlight_spec.lua Clarify our OOP semantics across the codebase (#9586) 2022-10-06 02:14:48 +02:00
readerlink_spec.lua UIManager: get rid of self._running and self._run_forever (#9669) 2022-10-27 22:08:38 +02:00
readerpaging_spec.lua Tests: Handle FM/ReaderUI instances slightly more sanely 2021-05-19 20:55:00 +02:00
readerrolling_spec.lua Make luacheck >= 0.26 happy (#9174) 2022-06-11 19:06:06 +02:00
readersearch_spec.lua Prevent Busted from blowing up on cdata finalizers by properly closing 2020-12-19 06:40:00 +01:00
readertoc_spec.lua Prevent Busted from blowing up on cdata finalizers by properly closing 2020-12-19 06:40:00 +01:00
readerui_spec.lua Tests: Handle FM/ReaderUI instances slightly more sanely 2021-05-19 20:55:00 +02:00
readerview_spec.lua Clarify our OOP semantics across the codebase (#9586) 2022-10-06 02:14:48 +02:00
readhistory_spec.lua ReadHistory: refactoring with binary search (#9603) 2022-10-25 12:15:59 +02:00
screenshoter_spec.lua Tests: Handle FM/ReaderUI instances slightly more sanely 2021-05-19 20:55:00 +02: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
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
timeval_spec.lua The great Input/GestureDetector/TimeVal spring cleanup (a.k.a., a saner main loop) (#7415) 2021-03-30 02:57:59 +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 Fix translator, enable selected text translation 2018-12-17 15:19:25 +01:00
uimanager_bench.lua [spec] Get rid of argc in the _task_queue (#9684) 2022-10-25 21:55:22 +02:00
uimanager_spec.lua [spec] _task_queue has to be sorted! (#9694) 2022-10-27 21:14:25 +02:00
util_spec.lua DeviceMenu: Colons and more information (#8435) 2021-11-23 21:17:07 +01: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