2
0
mirror of https://github.com/koreader/koreader synced 2024-11-13 19:11:25 +00:00
koreader/spec/unit
NiLuJe acbf4b7a8c
Document: Round dimensions properly in getPageDimensions (#8170)
* Geom:transformByScale:
  * Apply the right scaling factor to the y axis
  * Round in a more sensible fashion (àla fz_round_rect, since we pretty much exclusively use it in a similar fashion).
* Bump base (https://github.com/koreader/koreader-base/pull/1407)
2021-09-02 23:50:10 +02:00
..
autofrontlight_spec.lua LuaSettings: Add a method to initialize a setting properly (#7371) 2021-03-06 22:44:18 +01:00
autosuspend_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
background_runner_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
background_task_plugin_spec.lua Tame BackgroundRunner: stop running when no more job (#6605) 2020-08-31 16:48:29 +02:00
batterystat_spec.lua Battery stats plugin: fix and improvements (#5626) 2019-11-26 14:21:14 +01: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 Unbreak ReaderFooter test 2021-05-19 20:55:00 +02:00
dbg_spec.lua dbg_spec: setVerbose test 2017-10-12 19:39:52 +02:00
defaults_spec.lua Double tap: Update default tap zones (#7711) 2021-05-20 05:39:18 +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 Geom: nil guard a few rect methods (#7664) 2021-05-13 13:05:05 +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 Update bundled fonts (#6242) 2020-06-08 16:36:06 +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 [plugin] Exporter plugin without evernote (#7983) 2021-08-30 09:11:23 +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 [FocusManager] More intuitive key navigation + spec (#3774) 2018-03-21 12:21:48 +01: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 Travis: run luacheck on unit tests (#3059) 2017-08-08 13:35:40 -07:00
imagewidget_spec.lua Update UI layout code to use new SVG icons 2020-12-19 14:49:18 +01:00
input_spec.lua Input: Minor cleanups (#7542) 2021-04-13 17:53:15 +02:00
inputtext_spec.lua [feat] Add ReaderBack (#3821) 2018-03-31 21:19:31 +02:00
koptinterface_spec.lua Cache: Rewrite based on lua-lru 2021-05-05 20:37:33 +02:00
kosync_spec.lua [doc] Tag @todo, @fixme and @warning (#5244) 2019-08-23 19:53:53 +02:00
luadata_spec.lua LuaSettings: Add a method to initialize a setting properly (#7371) 2021-03-06 22:44:18 +01: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 The great Input/GestureDetector/TimeVal spring cleanup (a.k.a., a saner main loop) (#7415) 2021-03-30 02:57:59 +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 Tests: Make the timeouts more lenient during OPDS tests 2021-04-30 06:02:09 +02:00
optmath_spec.lua [spec] Test all aspects of Math module (#3683) 2018-02-22 12:26:51 +01:00
persist_spec.lua Persist: Add the new native LuaJIT serializer to the list of supported codecs (#7543) 2021-04-13 18:11:39 +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: Handle FM/ReaderUI instances slightly more sanely 2021-05-19 20:55:00 +02:00
readerdictionary_spec.lua Tests: Handle FM/ReaderUI instances slightly more sanely 2021-05-19 20:55:00 +02:00
readerfooter_spec.lua ReaderFooter test: Untangle settings handling 2021-05-19 20:55:00 +02:00
readerhighlight_spec.lua Tests: Handle FM/ReaderUI instances slightly more sanely 2021-05-19 20:55:00 +02:00
readerlink_spec.lua Document: Round dimensions properly in getPageDimensions (#8170) 2021-09-02 23:50:10 +02:00
readerpaging_spec.lua Tests: Handle FM/ReaderUI instances slightly more sanely 2021-05-19 20:55:00 +02:00
readerrolling_spec.lua Tests: Handle FM/ReaderUI instances slightly more sanely 2021-05-19 20:55:00 +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 Document: Round dimensions properly in getPageDimensions (#8170) 2021-09-02 23:50:10 +02:00
readhistory_spec.lua LuaSettings: Add a method to initialize a setting properly (#7371) 2021-03-06 22:44:18 +01: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 test(chore): remove side effects 2017-01-30 05:53:44 -08: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
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 Travis: run luacheck on unit tests (#3059) 2017-08-08 13:35:40 -07:00
uimanager_spec.lua ReaderUI: Saner FM/RD lifecycle 2021-05-05 20:37:33 +02:00
util_spec.lua Adds time left for chapter and document to the screensaver message options (#7897) 2021-06-30 01:45:34 +02: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 [feat, Kobo] Autoshutdown (#5335) 2019-09-12 14:15:08 +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