mirror of
https://github.com/php-win-ext/php-memcached.git
synced 2026-03-24 00:52:18 +01:00
Test cleanup.
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -53,16 +53,19 @@ tests/*.out
|
||||
tests/*.diff
|
||||
tests/*.php
|
||||
tests/*.exp
|
||||
tests/*.sh
|
||||
tests/*/*.log
|
||||
tests/*/*.mem
|
||||
tests/*/*.out
|
||||
tests/*/*.diff
|
||||
tests/*/*.php
|
||||
tests/*/*.exp
|
||||
tests/*/*.sh
|
||||
tests/*/*/*.log
|
||||
tests/*/*/*.mem
|
||||
tests/*/*/*.out
|
||||
tests/*/*/*.diff
|
||||
tests/*/*/*.php
|
||||
tests/*/*/*.exp
|
||||
tests/*/*/*.sh
|
||||
tmp-php.ini
|
||||
|
||||
@@ -25,6 +25,6 @@ var_dump($m->get('foo'));
|
||||
NULL
|
||||
%s: cannot append/prepend with compression turned on
|
||||
bool(false)
|
||||
NULL
|
||||
bool(false)
|
||||
bool(true)
|
||||
string(2) "ab"
|
||||
|
||||
@@ -59,7 +59,7 @@ Exception in callback
|
||||
Miss
|
||||
string(3) "foo"
|
||||
NULL
|
||||
NULL
|
||||
bool(false)
|
||||
Miss
|
||||
string(3) "foo"
|
||||
NULL
|
||||
|
||||
@@ -29,7 +29,7 @@ bool(true)
|
||||
SUCCESS
|
||||
bool(false)
|
||||
NOT FOUND
|
||||
NULL
|
||||
bool(false)
|
||||
bool(false)
|
||||
A BAD KEY WAS PROVIDED/CHARACTERS OUT OF RANGE
|
||||
bool(false)
|
||||
|
||||
@@ -23,11 +23,11 @@ $m->delete('foo');
|
||||
var_dump($m->get(' ä foo jkh a s åäö'));
|
||||
echo $m->getResultMessage(), "\n";
|
||||
--EXPECT--
|
||||
NULL
|
||||
bool(false)
|
||||
NOT FOUND
|
||||
NULL
|
||||
bool(false)
|
||||
A BAD KEY WAS PROVIDED/CHARACTERS OUT OF RANGE
|
||||
string(4) "asdf"
|
||||
SUCCESS
|
||||
NULL
|
||||
bool(false)
|
||||
NOT FOUND
|
||||
|
||||
@@ -30,5 +30,5 @@ int(1)
|
||||
SUCCESS
|
||||
string(4) "asdf"
|
||||
SUCCESS
|
||||
NULL
|
||||
bool(false)
|
||||
NOT FOUND
|
||||
|
||||
@@ -58,10 +58,10 @@ SUCCESS
|
||||
string(4) "asdf"
|
||||
float(%d)
|
||||
SUCCESS
|
||||
NULL
|
||||
bool(false)
|
||||
NULL
|
||||
NOT FOUND
|
||||
NULL
|
||||
bool(false)
|
||||
NULL
|
||||
A BAD KEY WAS PROVIDED/CHARACTERS OUT OF RANGE
|
||||
called
|
||||
|
||||
@@ -38,7 +38,7 @@ var_dump($m->get('foo'));
|
||||
Not there
|
||||
bool(false)
|
||||
bool(false)
|
||||
NULL
|
||||
bool(false)
|
||||
Normal
|
||||
int(1)
|
||||
int(2)
|
||||
|
||||
@@ -26,3 +26,4 @@ memcached.serializer => %s => %s
|
||||
memcached.sess_lock_wait => %d => %d
|
||||
memcached.sess_locking => %d => %d
|
||||
memcached.sess_prefix => %s => %s
|
||||
memcached.use_sasl => %s => %s
|
||||
|
||||
@@ -25,6 +25,6 @@ var_dump($m->get('foo'));
|
||||
NULL
|
||||
%s: cannot append/prepend with compression turned on
|
||||
bool(false)
|
||||
NULL
|
||||
bool(false)
|
||||
bool(true)
|
||||
string(2) "ba"
|
||||
|
||||
@@ -20,6 +20,6 @@ var_dump($m->get('foo'));
|
||||
--EXPECTF--
|
||||
bool(false)
|
||||
|
||||
NULL
|
||||
bool(false)
|
||||
bool(true)
|
||||
string(3) "bar"
|
||||
|
||||
@@ -22,6 +22,6 @@ var_dump($m->getByKey('kef', 'foo'));
|
||||
bool(false)
|
||||
|
||||
%rNOT STORED|NOT FOUND%r
|
||||
NULL
|
||||
bool(false)
|
||||
bool(true)
|
||||
string(3) "bar"
|
||||
|
||||
@@ -28,6 +28,6 @@ SUCCESS
|
||||
array(0) {
|
||||
}
|
||||
SOME ERRORS WERE REPORTED
|
||||
int(1)
|
||||
int(2)
|
||||
bool(true)
|
||||
int(%d)
|
||||
|
||||
Reference in New Issue
Block a user