2
0
mirror of https://github.com/koreader/koreader synced 2024-10-31 21:20:20 +00:00
koreader/spec/unit
poire-z 04d9a557aa Use fsync() for more robust setting files saving
Bump base for util.fsyncOpenedFile() and util.fsyncDirectory().

Use these to force flush to storage device when
saving luasetting, docsetting, and history.lua.
Also dont rotate them to .old until they are at least
60 seconds old.
Also make auto_save_paging_count count right.

Also bump crengine: open (as text) small or empty files
2019-12-10 23:57:32 +01:00
..
autofrontlight_spec.lua Slightly less crappy Nightmode (#4871) 2019-04-08 23:05:08 +02:00
autosuspend_spec.lua [feat, Kobo] Autoshutdown (#5335) 2019-09-12 14:15:08 +02:00
background_runner_spec.lua rename runtimectl to document/canvascontext 2019-03-03 13:10:45 +01:00
background_task_plugin_spec.lua rename runtimectl to document/canvascontext 2019-03-03 13:10:45 +01: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 Travis: run luacheck on unit tests (#3059) 2017-08-08 13:35:40 -07:00
commonrequire.lua [spec] Better insulation (#4972) 2019-04-25 23:33:47 +02:00
dbg_spec.lua dbg_spec: setVerbose test 2017-10-12 19:39:52 +02:00
defaults_spec.lua bump crengine: word spacing and hyphenation tweaks 2019-11-29 23:45:12 +01:00
depgraph_spec.lua Touch zones: fix loss of overrides when re-registering a zone (#5658) 2019-11-30 17:38:28 +01:00
device_spec.lua Fix Kindle model detection in some corner-cases (#5125) 2019-07-19 23:16:25 +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 [fix] DocumentRegistry: don't create empty sdr and add hasProvider() (#3675) 2018-02-10 18:36:18 +01:00
document_spec.lua Unify battery meters look'n feel (#5537) 2019-10-27 05:22:17 +01:00
eink_optimization_spec.lua move e-ink related settings to a submenu (#4246) 2018-10-10 21:34:47 +02:00
filemanager_spec.lua rename runtimectl to document/canvascontext 2019-03-03 13:10:45 +01:00
filemanagerconverter_spec.lua Swipe for menu and quickstart guide (#2761) 2017-04-15 14:45:56 +02: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 [spec] Add GestureDetector stub (#4614) 2019-02-19 07:38:25 +01:00
gesturerange_spec.lua test(chore): remove side effects 2017-01-30 05:53:44 -08:00
gettext_spec.lua [fix] GetText: Support Arabic plurals (#5517) 2019-10-21 18:29:40 +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 Travis: run luacheck on unit tests (#3059) 2017-08-08 13:35:40 -07:00
imagewidget_spec.lua fix all the tests 2016-04-19 00:01:28 -07:00
input_spec.lua [spec] Input test stub (#3701) 2018-03-01 20:40:23 +01:00
inputtext_spec.lua [feat] Add ReaderBack (#3821) 2018-03-31 21:19:31 +02:00
koptinterface_spec.lua [spec] Replace custom assert[Not]AlmostEquals with assert.is[_not].near (#3885) 2018-04-15 23:49:08 +02:00
kosync_spec.lua [doc] Tag @todo, @fixme and @warning (#5244) 2019-08-23 19:53:53 +02:00
luadata_spec.lua Add LuaData and Dictionary Lookup History (#3161) 2017-10-07 22:13:46 +02:00
luasettings_spec.lua Add LuaData and Dictionary Lookup History (#3161) 2017-10-07 22:13:46 +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 [feat] MenuSorter: add sorting_hint support (#4399) 2018-12-14 16:56:57 +01:00
mock_time_spec.lua Travis: run luacheck on unit tests (#3059) 2017-08-08 13:35:40 -07:00
mock_time.lua [fix] MockTime spec 2017-10-10 14:08:49 +02:00
network_manager_spec.lua [chore] Some Wi-Fi tweaks (#4564) 2019-02-08 22:29:11 +01:00
networksetting_spec.lua kobolight(refactor): move into plugin & only enable for kobo 2016-12-10 16:06:51 -08: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 test(chore): remove side effects 2017-01-30 05:53:44 -08:00
optmath_spec.lua [spec] Test all aspects of Math module (#3683) 2018-02-22 12:26:51 +01: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 [doc] Tag @todo, @fixme and @warning (#5244) 2019-08-23 19:53:53 +02:00
readerdictionary_spec.lua Travis: run luacheck on unit tests (#3059) 2017-08-08 13:35:40 -07:00
readerfooter_spec.lua bump crengine: word spacing and hyphenation tweaks 2019-11-29 23:45:12 +01:00
readerhighlight_spec.lua cre: use 'best' (Harfbuzz) as the default kerning method (#5553) 2019-11-01 23:07:41 +01:00
readerlink_spec.lua [fix] PDF footer margins (#5620) 2019-11-21 10:05:40 +01:00
readerpaging_spec.lua [chore] Deprecate TapForward/TapBackward (#4689) 2019-03-01 16:05:03 +01:00
readerrolling_spec.lua bump crengine: word spacing and hyphenation tweaks 2019-11-29 23:45:12 +01:00
readersearch_spec.lua bump crengine: count nb of images drawn & others (#4542) 2019-02-03 11:25:34 +01:00
readertoc_spec.lua bump crengine: round FT metrics, split text drawing by script (#5628) 2019-11-22 23:54:34 +01:00
readerui_spec.lua filemanager(refactor): use purge method from docsettings 2016-06-03 22:06:02 -07:00
readerview_spec.lua Change default zoom mode & add warning message for fit page + scroll (#5170) 2019-08-05 18:38:10 +02:00
readhistory_spec.lua Travis: run luacheck on unit tests (#3059) 2017-08-08 13:35:40 -07:00
screenshoter_spec.lua Travis: run luacheck on unit tests (#3059) 2017-08-08 13:35:40 -07: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 [spec] Even more TimeVal coverage (#4674) 2019-02-28 17:31:39 +01: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 [feat, Kobo] Autoshutdown (#5335) 2019-09-12 14:15:08 +02:00
util_spec.lua fix util.secondsToHClock when hmsFormat is true (#5640) 2019-11-26 13:28:11 +01:00
version_spec.lua [spec] Version: slight refactor 2018-11-07 20:46:07 +01:00
wakeupmgr_spec.lua [feat, Kobo] Autoshutdown (#5335) 2019-09-12 14:15:08 +02:00
widget_inputcontainer_spec.lua fix: override readerhighlight hold in readerfooter 2017-01-30 05:53:44 -08:00
widget_menu_spec.lua Travis: run luacheck on unit tests (#3059) 2017-08-08 13:35:40 -07: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