prosody
log
graph
tags
bookmarks
branches
2fd20f372cb1
browse
changeset
tests/test_util_cache.lua
annotate
comparison
diff
file
raw
Log
latest
help
RSS:
Atom:
Find changesets by keywords by author, files, the commit message, revision number or hash, or
revset expression
.
Software
/
code
/
prosody
Log
tests/test_util_cache.lua @ 7922:
2fd20f372cb1
less
more
|
(0)
tip
description
author
age
test_util_cache: wrap individual test blocks in do-end [luacheck]
Anton Shestakov
Thu, 14 Jul 2016 18:59:19 +0800
test_util_cache: rename a variable (c is already defined) [luacheck]
Anton Shestakov
Sat, 09 Jul 2016 17:30:56 +0800
test_util_cache: remove unused argument c3 [luacheck]
Anton Shestakov
Sat, 09 Jul 2016 17:30:23 +0800
tests: util.cache: Tests for different return values of on_evict
Matthew Wild
Thu, 17 Mar 2016 19:14:58 +0000
util.cache: Change behaviour of on_evict (and tests). Now accepts false instead of a function (never evict), or on_evict can return false to prevent eviction.
Matthew Wild
Thu, 17 Mar 2016 19:08:42 +0000
util.cache: Add head() and tail() methods (and tests)
Matthew Wild
Thu, 17 Mar 2016 19:07:40 +0000
util.cache (and tests): Call on_evict after insertion of the new key, so inside on_evict we can be more certain about the current state of the cache (i.e. full, new item added, old item removed)
Matthew Wild
Tue, 22 Dec 2015 20:10:07 +0000
tests: Add tests for util.cache
Matthew Wild
Thu, 26 Nov 2015 00:12:51 +0000
less
more
|
(0)
tip