File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -127,6 +127,10 @@ public static function commandDataProvider(): Iterator {
127127 yield 'test appended value ' => ['VALUE pu-test-rc-add 0 6\r\ntestaa\r\nEND ' , 'get pu-test-rc-add ' ];
128128 yield 'test prepend ' => ['STORED ' , 'prepend pu-test-rc-add 0 0 2\r\npp ' ];
129129 yield 'test prepended value ' => ['VALUE pu-test-rc-add 0 8\r\npptestaa\r\nEND ' , 'get pu-test-rc-add ' ];
130+ yield 'test cas set ' => ['STORED ' , 'set pu-test-rc-cas 0 0 5\r\nvalue ' ];
131+ yield 'test cas fail (badval) ' => ['EXISTS ' , 'cas pu-test-rc-cas 0 0 6 999\r\nvalue2 ' ];
132+ yield 'test cas unchanged value ' => ['VALUE pu-test-rc-cas 0 5\r\nvalue\r\nEND ' , 'get pu-test-rc-cas ' ];
133+ yield 'test cas miss ' => ['NOT_FOUND ' , 'cas pu-test-rc-cas-miss 0 0 5 123\r\nvalue ' ];
130134 yield 'test gat ' => ['VALUE pu-test-rc-add 0 8\r\npptestaa\r\nEND ' , 'gat 700 pu-test-rc-add ' ];
131135 yield 'test touch ' => ['TOUCHED ' , 'touch pu-test-rc-add 0 ' ];
132136 yield 'test set int ' => ['STORED ' , 'set pu-test-rc-int 0 0 1\r\n1 ' ];
You can’t perform that action at this time.
0 commit comments