redict/tests/unit
Angus Pearson bf963253ec Implement SCAN cursor [TYPE type] modifier suggested in issue #6107.
Add tests to check basic functionality of this optional keyword, and also tested with
a module (redisgraph). Checked quickly with valgrind, no issues.

Copies name the type name canonicalisation code from `typeCommand`, perhaps this would
be better factored out to prevent the two diverging and both needing to be edited to
add new `OBJ_*` types, but this is a little fiddly with C strings.

The [redis-doc](https://github.com/antirez/redis-doc/blob/master/commands.json) repo
will need to be updated with this new arg if accepted.

A quirk to be aware of here is that the GEO commands are backed by zsets not their own
type, so they're not distinguishable from other zsets.

Additionally, for sparse types this has the same behaviour as `MATCH` in that it may
return many empty results before giving something, even for large `COUNT`s.
2019-05-22 16:39:04 +01:00
..
moduleapi Add runtest-moduleapi with commandfilter coverage. 2019-03-24 12:03:03 +02:00
type Merge pull request #5907 from spjwebster/xclaim-increment-delivery-count 2019-03-13 11:55:46 +01:00
acl.tcl ACL: Fix memory leak in ACLResetSubcommandsForCommand(). 2019-04-08 18:08:37 +02:00
aofrw.tcl AOF: run tests with preamble off when it makes sense. 2018-03-25 13:03:38 +02:00
auth.tcl ACL: AUTH + no default user password raises an error. 2019-01-17 18:30:23 +01:00
bitfield.tcl Test: regression test for #3564 added. 2016-10-31 15:46:58 +01:00
bitops.tcl Regression test for #3282. 2016-06-15 11:49:49 +02:00
dump.tcl ACL: implement resetpass directive and adjust test. 2019-01-18 11:26:32 +01:00
expire.tcl fix typo 2018-06-21 22:08:09 +08:00
geo.tcl Fix GEORADIUS edge case with huge radius. 2017-07-03 19:38:31 +02:00
hyperloglog.tcl HyperLogLog: speedup fuzz test. 2019-03-15 17:13:19 +01:00
introspection-2.tcl fix #5024 - commandstats for multi-exec were logged as EXEC. 2018-09-30 12:43:11 +03:00
introspection.tcl adjust qbuf to 26 in test case for client list 2018-08-14 00:57:22 +08:00
keyspace.tcl Test: MOVE expire test improved. 2015-09-14 12:35:55 +02:00
latency-monitor.tcl Test: regression test for latency expire events logging bug. 2017-11-24 18:33:31 +01:00
lazyfree.tcl Test: basic lazyfree unit test. 2015-10-09 09:47:17 +02:00
limits.tcl More robust maxclients test. 2012-04-18 11:34:18 +02:00
maxmemory.tcl make replication tests more stable on slow machines 2019-05-05 08:25:01 +03:00
memefficiency.tcl fix small test suite race conditions 2018-11-12 10:26:10 +02:00
multi.tcl Test: test replication of MULTI/EXEC. 2013-03-27 11:44:50 +01:00
obuf-limits.tcl Fix test false positive introduced by threaded I/O. 2019-05-13 17:27:10 +02:00
other.tcl AOF: run tests with preamble off when it makes sense. 2018-03-25 13:03:38 +02:00
pendingquerybuf.tcl Slave removal: remove slave from top-level tests descriptions. 2018-09-11 15:32:28 +02:00
printver.tcl Print version info before running the test 2011-05-20 11:44:54 +02:00
protocol.tcl Return proper error on requests with an unbalanced number of quotes. 2013-12-08 12:58:12 +02:00
pubsub.tcl pubsub: Return integers for NUMSUB, not strings 2014-08-08 11:19:37 +02:00
quit.tcl Add tests for OK on QUIT 2010-10-15 12:54:53 +02:00
scan.tcl Implement SCAN cursor [TYPE type] modifier suggested in issue #6107. 2019-05-22 16:39:04 +01:00
scripting.tcl Slave removal: remove slave from top-level tests descriptions. 2018-09-11 15:32:28 +02:00
slowlog.tcl Test: fix slowlog test false positive. 2019-05-14 16:55:52 +02:00
sort.tcl Config: Add quicklist, remove old list options 2015-01-02 11:16:10 -05:00
wait.tcl Test: WAIT tests added in wait.tcl unit. 2016-11-18 13:10:29 +01:00