aboutsummaryrefslogtreecommitdiffstats
path: root/spec/core_storagemanager_spec.lua
Commit message (Collapse)AuthorAgeFilesLines
* storage tests: Add tests for archive queries before/after specific idsMatthew Wild2020-06-121-5/+47
| | | | | Also increased the size of the test data for easier debugging with more complex tests.
* mod_storage_internal: Fix keeping old timestamp in archive map APIKim Alvefur2020-05-151-3/+14
| | | | | This led to a missing 'when' field on changed items, which would cause a traceack.
* mod_storage_internal: Implement key-value APIKim Alvefur2020-05-111-0/+15
|
* spec/storage: Reset build context of test stanza make comparisons easierKim Alvefur2020-05-111-1/+2
| | | | | | | While building a stanza there's a .last_add field keeping track of where in the XML tree tags are being added. This field does not survive a roundtrip through preserialize / deserialize. :reset() removes this, which simplifes comparisons after such a roundtrip.
* storagemanager, mod_storage_sql: Rename methods to :get_all() and :delete_all()Matthew Wild2020-03-111-12/+12
|
* storagemanager: Add support for :find_key() and :delete_key() to map store shimMatthew Wild2020-03-111-7/+4
|
* storagemanager: Fix unused variable in tests [luacheck]Matthew Wild2020-03-111-1/+2
|
* mod_storage_sql: Add map_store:find_key() and map_store:delete_key() (+ tests)Matthew Wild2020-03-111-2/+72
|
* storagemanager: Add tests for map storesMatthew Wild2020-03-111-0/+38
|
* tests: Silence [luacheck] warningsKim Alvefur2019-12-231-0/+6
|
* various: Don't rely on _G.unpack existingKim Alvefur2018-12-081-1/+1
|
* storagemanager: Fix tests on Lua 5.3Kim Alvefur2018-10-211-0/+1
| | | | _G.unpack moved to table.unpack
* storagemanager tests: Also cover memory driverKim Alvefur2018-10-121-0/+3
|
* storagemanager tests: Remove debug print()Matthew Wild2018-10-111-1/+0
|
* storagemanager tests: Add many more archive tests, including (failing) cases ↵Matthew Wild2018-10-111-0/+105
| | | | for #1200 and #1073
* storagemanager tests: Add additional archive query testsMatthew Wild2018-10-111-18/+103
|
* storagemanager tests: Add some additional checksMatthew Wild2018-10-101-0/+12
|
* storagemanager tests: Add initial basic tests for archive storesMatthew Wild2018-10-101-18/+59
|
* Fix storage tests so they run, but not by defaultMatthew Wild2018-10-011-0/+86