You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
koreader/spec/unit
NiLuJe 5c24470ea9
Logger: Use serpent instead of dump (#9588)
* Persist: support serpent, and use by default over dump (as we assume consistency > readability in Persist).
* Logger/Dbg: Use serpent instead of dump to dump tables (it's slightly more compact, honors __tostring, and will tag tables with their ref, which can come in handy when debugging).
* Dbg: Don't duplicate Logger's log function, just use it directly.
* Fontlist/ConfigDialog: Use serpent for the debug dump.
* Call `os.setlocale(C, "numeric")` on startup instead of peppering it around dump calls. It's process-wide, so it didn't make much sense.
* Trapper: Use LuaJIT's serde facilities instead of dump. They're more reliable in the face of funky input, much faster, and in this case, the data never makes it to human eyes, so a human-readable format didn't gain us anything.
2 years ago
..
autofrontlight_spec.lua LuaSettings: Add a method to initialize a setting properly (#7371) 3 years ago
autosuspend_spec.lua The great Input/GestureDetector/TimeVal spring cleanup (a.k.a., a saner main loop) (#7415) 3 years ago
background_runner_spec.lua [feat] Replace TimeVal (RIP) with time, fixed point time seconds (#8999) 2 years ago
background_task_plugin_spec.lua Tame BackgroundRunner: stop running when no more job (#6605) 4 years ago
batterystat_spec.lua SystemStat: Show awake/suspend/standby breakdown in % (#9257) 2 years ago
benchmark.lua Travis: run luacheck on unit tests (#3059) 7 years ago
cache_spec.lua Cache: Rewrite based on lua-lru 3 years ago
commonrequire.lua Assorted bag'o tweaks & fixes (#9569) 2 years ago
dbg_spec.lua dbg_spec: setVerbose test 7 years ago
defaults_spec.lua Misc: Get rid of the legacy defaults.lua globals (#9546) 2 years ago
depgraph_spec.lua Tame a few tests that relied on `pairs` being somewhat deterministic (#6371) 4 years ago
device_spec.lua Assorted bag'o tweaks & fixes (#9569) 2 years ago
docsettings_spec.lua Use fsync() for more robust setting files saving 5 years ago
document_registry_spec.lua Tests: make sure files are deleted (#6323) 4 years ago
document_spec.lua Misc: Get rid of the legacy defaults.lua globals (#9546) 2 years ago
eink_optimization_spec.lua move e-ink related settings to a submenu (#4246) 6 years ago
exporter_plugin_main_spec.lua Refactor exporter.koplugin (#8944) 2 years ago
filemanager_spec.lua Tests: Handle FM/ReaderUI instances slightly more sanely 3 years ago
filemanagerconverter_spec.lua Update UI layout code to use new SVG icons 3 years ago
focusmanager_spec.lua Input: Actually fix the timer double-free 2 years ago
font_spec.lua dbg(add): guard method to toggle assert at based at runtimemode 8 years ago
frontlight_spec.lua Slightly less crappy Nightmode (#4871) 5 years ago
gesturedetector_spec.lua Pocketbook: Implement HW screen rotation, bring in PB specific kludges from linuxfb (#6684) 4 years ago
gesturerange_spec.lua test(chore): remove side effects 7 years ago
gettext_spec.lua [i18n] GetText: ignore fuzzy strings (#5807) 4 years ago
hook_container_spec.lua Move kobo auto-suspension logic out of UIManager (#2933) 7 years ago
httpclient_spec.lua Misc: Get rid of the legacy defaults.lua globals (#9546) 2 years ago
imagewidget_spec.lua "Fix" the ImageWidget test 2 years ago
input_spec.lua Input: Actually fix the timer double-free 2 years ago
inputtext_spec.lua [feat] Add ReaderBack (#3821) 6 years ago
koptinterface_spec.lua Clarify our OOP semantics across the codebase (#9586) 2 years ago
kosync_spec.lua [doc] Tag @todo, @fixme and @warning (#5244) 5 years ago
luadata_spec.lua Misc: Get rid of the legacy defaults.lua globals (#9546) 2 years ago
luasettings_spec.lua LuaSettings: Add a method to initialize a setting properly (#7371) 3 years ago
menu_table_screen_color_spec.lua chore: add test for screen color toggle 5 years ago
menusorter_spec.lua Tame a few tests that relied on `pairs` being somewhat deterministic (#6371) 4 years ago
mock_time.lua Clarify our OOP semantics across the codebase (#9586) 2 years ago
mock_time_spec.lua Travis: run luacheck on unit tests (#3059) 7 years ago
network_manager_spec.lua [chore] Some Wi-Fi tweaks (#4564) 5 years ago
networksetting_spec.lua Various Wi-Fi QoL improvements (#6424) 4 years ago
nickel_conf_spec.lua [fix, Kobo] Don't crash trying to sync frontlight with Nickel. (#5361) 5 years ago
opds_spec.lua [plugin] Display OPDS download titles if available (#8441) 3 years ago
optmath_spec.lua [autosuspend, plugin] Switch to datetimewidget and provide default values (#8480) 3 years ago
persist_spec.lua Logger: Use serpent instead of dump (#9588) 2 years ago
quickstart_spec.lua quickstart fix (#2804) 7 years ago
random_spec.lua Update KOSyncClient 8 years ago
readerbookmark_spec.lua Tests: Handle FM/ReaderUI instances slightly more sanely 3 years ago
readerdictionary_spec.lua [chore] Fix todo and fixme tags (#8365) 3 years ago
readerfooter_spec.lua Misc: Get rid of the legacy defaults.lua globals (#9546) 2 years ago
readerhighlight_spec.lua Clarify our OOP semantics across the codebase (#9586) 2 years ago
readerlink_spec.lua Document: Round dimensions properly in getPageDimensions (#8170) 3 years ago
readerpaging_spec.lua Tests: Handle FM/ReaderUI instances slightly more sanely 3 years ago
readerrolling_spec.lua Make luacheck >= 0.26 happy (#9174) 2 years ago
readersearch_spec.lua Prevent Busted from blowing up on cdata finalizers by properly closing 3 years ago
readertoc_spec.lua Prevent Busted from blowing up on cdata finalizers by properly closing 3 years ago
readerui_spec.lua Tests: Handle FM/ReaderUI instances slightly more sanely 3 years ago
readerview_spec.lua Clarify our OOP semantics across the codebase (#9586) 2 years ago
readhistory_spec.lua LuaSettings: Add a method to initialize a setting properly (#7371) 3 years ago
screenshoter_spec.lua Tests: Handle FM/ReaderUI instances slightly more sanely 3 years ago
size_spec.lua Added Size module 7 years ago
spore_spec.lua test(chore): remove side effects 7 years ago
switch_plugin_spec.lua SwitchPlugin and BackgroundTaskPlugin with tests (#3137) 7 years ago
textboxwidget_spec.lua TextBoxWidget: use xtext for text shaping 5 years ago
time_spec.lua [feat] Replace TimeVal (RIP) with time, fixed point time seconds (#8999) 2 years ago
timeval_spec.lua The great Input/GestureDetector/TimeVal spring cleanup (a.k.a., a saner main loop) (#7415) 3 years ago
toggleswitch_spec.lua [spec] Add ToggleSwitch spec stub (#5450) 5 years ago
touch_probe_spec.lua Travis: run luacheck on unit tests (#3059) 7 years ago
translator_spec.lua Fix translator, enable selected text translation 6 years ago
uimanager_bench.lua [feat] Replace TimeVal (RIP) with time, fixed point time seconds (#8999) 2 years ago
uimanager_spec.lua [feat] Replace TimeVal (RIP) with time, fixed point time seconds (#8999) 2 years ago
util_spec.lua DeviceMenu: Colons and more information (#8435) 3 years ago
version_spec.lua [chore, spec] Version: test 8-character hash just in case (#7809) 3 years ago
wakeupmgr_spec.lua Clarify our OOP semantics across the codebase (#9586) 2 years ago
widget_inputcontainer_spec.lua Tame a few tests that relied on `pairs` being somewhat deterministic (#6371) 4 years ago
widget_menu_spec.lua [fix] Use orderedPairs in touch menu item table (#6404) 4 years ago
widget_progresswidget_spec.lua [travis] Add protection against unscaled sizes 7 years ago
wikipedia_spec.lua Travis: run luacheck on unit tests (#3059) 7 years ago