2
0
mirror of https://github.com/koreader/koreader synced 2024-10-31 21:20:20 +00:00
koreader/spec/unit
NiLuJe 011370882f [chore] Some Wi-Fi tweaks (#4564)
* On Kobo, kill WiFi on startup if we detect an inconsistent state...

Untested, not terribly pretty.

The other solution is to slow down the Wi-Fi meny by doing the same
check for the "Wi-Fi connection" checkbox as in the later wifi_status
one...

* Don't enable auto_restore_wifi by default

It's liable to silently murder batteries for no good reason, given that
we prompt to enable WiFi by default when needed, and we otherwise have
no actual need to keep WiFi on in the background.

re #2215 (in particular, this directly contradicts @houqp in
https://github.com/koreader/koreader/pull/2215#discussion_r74696133 ;)).
2019-02-08 22:29:11 +01:00
..
autofrontlight_spec.lua BackgroundRunner (#3008) 2017-07-28 16:48:19 +02:00
autosuspend_spec.lua Travis: run luacheck on unit tests (#3059) 2017-08-08 13:35:40 -07:00
background_runner_spec.lua Do not execute background runner if device is suspended (#3608) 2018-01-17 09:17:53 +01:00
background_task_plugin_spec.lua SwitchPlugin and BackgroundTaskPlugin with tests (#3137) 2017-08-31 16:37:39 +02:00
batterystat_spec.lua Minimal KOA2 support (#4016) 2018-06-23 18:08:11 -04: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] Replace custom assert[Not]AlmostEquals with assert.is[_not].near (#3885) 2018-04-15 23:49:08 +02:00
dbg_spec.lua dbg_spec: setVerbose test 2017-10-12 19:39:52 +02:00
defaults_spec.lua cre word gap: use values from defaults.lua (#4045) 2018-07-03 15:29:04 +02:00
depgraph_spec.lua Travis: run luacheck on unit tests (#3059) 2017-08-08 13:35:40 -07:00
device_spec.lua A few Kobo input tweaks (#4450) 2019-01-08 02:59:47 +01:00
docsettings_spec.lua [chore] Ignore empty files and tables in DocSettings (#3348) 2017-10-12 19:52:01 +02: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 fix all the tests 2016-04-19 00:01:28 -07: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 Move kobo auto-suspension logic out of UIManager (#2933) 2017-06-23 10:04:11 -07: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 [fix, Android] Don't steal frontlight control on start (#3319) 2017-10-08 16:40:24 +02:00
gesturerange_spec.lua test(chore): remove side effects 2017-01-30 05:53:44 -08:00
gettext_spec.lua Add gettext_spec stub (#3343) 2017-10-11 14:22:11 +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 [fix] KOSync plugin server location (#3288) 2017-10-02 09:51:34 +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
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 Travis: run luacheck on unit tests (#3059) 2017-08-08 13:35:40 -07: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 Travis: run luacheck on unit tests (#3059) 2017-08-08 13:35:40 -07:00
readerdictionary_spec.lua Travis: run luacheck on unit tests (#3059) 2017-08-08 13:35:40 -07:00
readerfooter_spec.lua bump crengine: fix max image height, handle <epub:switch> (#4390) 2018-12-08 22:58:11 +01:00
readerhighlight_spec.lua bump crengine: tables rendering improvements and others 2018-12-07 14:11:46 +01:00
readerlink_spec.lua Floating punctuation: change default to disabled (#4101) 2018-07-24 21:01:45 +02:00
readerpaging_spec.lua Travis: run luacheck on unit tests (#3059) 2017-08-08 13:35:40 -07:00
readerrolling_spec.lua bump crengine: count nb of images drawn & others (#4542) 2019-02-03 11:25:34 +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: count nb of images drawn & others (#4542) 2019-02-03 11:25:34 +01:00
readerui_spec.lua filemanager(refactor): use purge method from docsettings 2016-06-03 22:06:02 -07:00
readerview_spec.lua [spec] Replace custom assert[Not]AlmostEquals with assert.is[_not].near (#3885) 2018-04-15 23:49:08 +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 dictquicklookup(fix): use self.region for matching hold event 2016-06-05 00:08:23 -07: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 [fix, UX] Allow modal widget on top of modal widget (#3170) 2017-09-05 00:01:46 -07:00
util_spec.lua CloudStorage: Allow use reserved characters in FTP username and FTP password (#3924) 2018-05-04 17:06:58 +02:00
version_spec.lua [spec] Version: slight refactor 2018-11-07 20:46:07 +01: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