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 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.
4 years ago
..
autofrontlight_spec.lua Slightly less crappy Nightmode (#4871) 5 years ago
autosuspend_spec.lua [feat, Kobo] Autoshutdown (#5335) 5 years ago
background_runner_spec.lua rename runtimectl to document/canvascontext 5 years ago
background_task_plugin_spec.lua rename runtimectl to document/canvascontext 5 years ago
batterystat_spec.lua Battery stats plugin: fix and improvements (#5626) 4 years ago
benchmark.lua Travis: run luacheck on unit tests (#3059) 7 years ago
cache_spec.lua Travis: run luacheck on unit tests (#3059) 7 years ago
commonrequire.lua [spec] Better insulation (#4972) 5 years ago
dbg_spec.lua dbg_spec: setVerbose test 7 years ago
defaults_spec.lua Tame a few tests that relied on `pairs` being somewhat deterministic (#6371) 4 years ago
depgraph_spec.lua Tame a few tests that relied on `pairs` being somewhat deterministic (#6371) 4 years ago
device_spec.lua Allow locking the gyro to the current screen mode (#6347) 4 years ago
docsettings_spec.lua Use fsync() for more robust setting files saving 4 years ago
document_registry_spec.lua Tests: make sure files are deleted (#6323) 4 years ago
document_spec.lua Update bundled fonts (#6242) 4 years ago
eink_optimization_spec.lua move e-ink related settings to a submenu (#4246) 6 years ago
evernote_plugin_main_spec.lua Landscape FM / Refactor rotation (#6309) 4 years ago
filemanager_spec.lua Allow running shell scripts from the FileManager/Favorites (#5804) 4 years ago
filemanagerconverter_spec.lua Swipe for menu and quickstart guide (#2761) 7 years ago
focusmanager_spec.lua [FocusManager] More intuitive key navigation + spec (#3774) 6 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 Allow locking the gyro to the current screen mode (#6347) 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 Travis: run luacheck on unit tests (#3059) 7 years ago
imagewidget_spec.lua fix all the tests 8 years ago
input_spec.lua [spec] Input test stub (#3701) 6 years ago
inputtext_spec.lua [feat] Add ReaderBack (#3821) 6 years ago
koptinterface_spec.lua [spec] Replace custom assert[Not]AlmostEquals with assert.is[_not].near (#3885) 6 years ago
kosync_spec.lua [doc] Tag @todo, @fixme and @warning (#5244) 5 years ago
luadata_spec.lua Add LuaData and Dictionary Lookup History (#3161) 7 years ago
luasettings_spec.lua Add LuaData and Dictionary Lookup History (#3161) 7 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 [fix] MockTime spec 7 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 kobolight(refactor): move into plugin & only enable for kobo 7 years ago
nickel_conf_spec.lua [fix, Kobo] Don't crash trying to sync frontlight with Nickel. (#5361) 5 years ago
opds_spec.lua test(chore): remove side effects 7 years ago
optmath_spec.lua [spec] Test all aspects of Math module (#3683) 6 years ago
quickstart_spec.lua quickstart fix (#2804) 7 years ago
random_spec.lua Update KOSyncClient 8 years ago
readerbookmark_spec.lua Landscape FM / Refactor rotation (#6309) 4 years ago
readerdictionary_spec.lua Landscape FM / Refactor rotation (#6309) 4 years ago
readerfooter_spec.lua ReaderGesture: cleanup (#6292) 4 years ago
readerhighlight_spec.lua Landscape FM / Refactor rotation (#6309) 4 years ago
readerlink_spec.lua Landscape FM / Refactor rotation (#6309) 4 years ago
readerpaging_spec.lua Landscape FM / Refactor rotation (#6309) 4 years ago
readerrolling_spec.lua Landscape FM / Refactor rotation (#6309) 4 years ago
readersearch_spec.lua Landscape FM / Refactor rotation (#6309) 4 years ago
readertoc_spec.lua Landscape FM / Refactor rotation (#6309) 4 years ago
readerui_spec.lua Landscape FM / Refactor rotation (#6309) 4 years ago
readerview_spec.lua Landscape FM / Refactor rotation (#6309) 4 years ago
readhistory_spec.lua Travis: run luacheck on unit tests (#3059) 7 years ago
screenshoter_spec.lua Landscape FM / Refactor rotation (#6309) 4 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
timeval_spec.lua [spec] Even more TimeVal coverage (#4674) 5 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 5 years ago
uimanager_bench.lua Travis: run luacheck on unit tests (#3059) 7 years ago
uimanager_spec.lua [feat, Kobo] Autoshutdown (#5335) 5 years ago
util_spec.lua util.getFriendlySize(): add option to right align 4 years ago
version_spec.lua [spec] Version: slight refactor 6 years ago
wakeupmgr_spec.lua [feat, Kobo] Autoshutdown (#5335) 5 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 Tame a few tests that relied on `pairs` being somewhat deterministic (#6371) 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