2
0
mirror of https://github.com/koreader/koreader synced 2024-11-16 06:12:56 +00:00
koreader/spec/unit
NiLuJe 4e5def4282
Tame a few tests that relied on pairs being somewhat deterministic (#6371)
* Mangle stupid defaults test so that it compares tables, and not a non-deterministic string representation of one.

It's still extremely dumb and annoying to update. (i.e., feel free to kill it with fire in a subsequent PR, I think everybody would cheer).

* Rewrite DepGraph to be deterministic

i.e., fully array based, no more hashes, which means no more pairs randomly re-ordering stuff.

Insertion order is now preserved.

Pretty sure a couple of bugs have been fixed and/or added along the way
;p.

* Resync frontend/apps/filemanager/lib/md.lua w/ upstream

And use orderedPairs in the attribute parsing code, just to make that stupid test happy.
2020-07-14 18:25:26 +02: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
cache_spec.lua
commonrequire.lua [spec] Better insulation (#4972) 2019-04-25 23:33:47 +02:00
dbg_spec.lua
defaults_spec.lua Tame a few tests that relied on pairs being somewhat deterministic (#6371) 2020-07-14 18:25:26 +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 Allow locking the gyro to the current screen mode (#6347) 2020-07-09 19:11:44 +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
evernote_plugin_main_spec.lua Landscape FM / Refactor rotation (#6309) 2020-07-01 16:17:41 -04:00
filemanager_spec.lua Allow running shell scripts from the FileManager/Favorites (#5804) 2020-02-03 20:08:18 +01:00
filemanagerconverter_spec.lua
focusmanager_spec.lua
font_spec.lua
frontlight_spec.lua Slightly less crappy Nightmode (#4871) 2019-04-08 23:05:08 +02:00
gesturedetector_spec.lua Allow locking the gyro to the current screen mode (#6347) 2020-07-09 19:11:44 +02:00
gesturerange_spec.lua
gettext_spec.lua [i18n] GetText: ignore fuzzy strings (#5807) 2020-02-03 12:11:07 +01:00
hook_container_spec.lua
httpclient_spec.lua
imagewidget_spec.lua
input_spec.lua
inputtext_spec.lua
koptinterface_spec.lua
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
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
mock_time.lua
network_manager_spec.lua [chore] Some Wi-Fi tweaks (#4564) 2019-02-08 22:29:11 +01:00
networksetting_spec.lua
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
optmath_spec.lua
quickstart_spec.lua
random_spec.lua
readerbookmark_spec.lua Landscape FM / Refactor rotation (#6309) 2020-07-01 16:17:41 -04:00
readerdictionary_spec.lua Landscape FM / Refactor rotation (#6309) 2020-07-01 16:17:41 -04:00
readerfooter_spec.lua ReaderGesture: cleanup (#6292) 2020-07-12 14:47:49 -04:00
readerhighlight_spec.lua Landscape FM / Refactor rotation (#6309) 2020-07-01 16:17:41 -04:00
readerlink_spec.lua Landscape FM / Refactor rotation (#6309) 2020-07-01 16:17:41 -04:00
readerpaging_spec.lua Landscape FM / Refactor rotation (#6309) 2020-07-01 16:17:41 -04:00
readerrolling_spec.lua Landscape FM / Refactor rotation (#6309) 2020-07-01 16:17:41 -04:00
readersearch_spec.lua Landscape FM / Refactor rotation (#6309) 2020-07-01 16:17:41 -04:00
readertoc_spec.lua Landscape FM / Refactor rotation (#6309) 2020-07-01 16:17:41 -04:00
readerui_spec.lua Landscape FM / Refactor rotation (#6309) 2020-07-01 16:17:41 -04:00
readerview_spec.lua Landscape FM / Refactor rotation (#6309) 2020-07-01 16:17:41 -04:00
readhistory_spec.lua
screenshoter_spec.lua Landscape FM / Refactor rotation (#6309) 2020-07-01 16:17:41 -04:00
size_spec.lua
spore_spec.lua
switch_plugin_spec.lua
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
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 util.getFriendlySize(): add option to right align 2019-12-17 23:46:35 +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 Tame a few tests that relied on pairs being somewhat deterministic (#6371) 2020-07-14 18:25:26 +02:00
widget_menu_spec.lua Tame a few tests that relied on pairs being somewhat deterministic (#6371) 2020-07-14 18:25:26 +02:00
widget_progresswidget_spec.lua
wikipedia_spec.lua